함수 Authentication [SWS_DM_01124] Upstream: RS_Diag_04251, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173
explicit Authentication (const ara::core::InstanceSpecifier &specifier, ConcurrencyType concurrencyType) noexcept;
Constructor of Authentication.
생성자는 소프트웨어 포트 [SWS_DM_01124]에서 진단 인증 요청을 처리하기 위해 핸들러 클래스 ara::diag::Authentication의 객체를 동기적으로 초기화합니다. 매개변수 specifier은(는) DiagnosticAuthenticationPortMapping을(를) 통해 DiagnosticAuthenticationInterface(으)로 반드시 유형화되어야 하는 모델링된 PortPrototype을(를) 참조합니다 [SWS_DM_01124]. 프레임워크가 메서드 호출을 동시(kConcurrent)로 전달할지 아니면 비-스레드 안전(kNotConcurrent)하게 전달할지는 매개변수 concurrencyType을(를) 통해 결정됩니다 [SWS_DM_01124].
함수가 noexcept(으)로 선언되어 있으므로 잘못된 호출은 예외를 통해 보고되지 않고 프레임워크 위반(Violation)을 유발합니다 [SWS_DM_01124]:
InstanceSpecifierMappingIntegrityViolation: 식별자를 Executable의 컨텍스트에서 확인할 수 없거나PortPrototype을(를) 참조하지 않습니다 [SWS_DM_01124].PortInterfaceMappingViolation: 참조된PortPrototype이(가)DiagnosticAuthenticationInterface(으)로 모델링되지 않았습니다 [SWS_DM_01124].ProcessMappingViolation: 런타임에 일치하는 모델링된 프로세스를 찾을 수 없습니다 [SWS_DM_01124].InstanceSpecifierAlreadyInUseViolation: 현재 프로세스에서InstanceSpecifier이(가) 이미 한 인스턴스에 사용되었습니다 [SWS_DM_01124].
생성자 자체는 스레드 안전하고 예외 안전(exception safe)한 반면 [SWS_DM_01124], 연관된 소멸자 ~Authentication()은(는) 스레드 안전하지 않은 것으로 명시되어 있습니다 [SWS_DM_01125]. 인스턴스화 직후에는 진단 요청이 아직 전달되지 않습니다. 애플리케이션은 Diagnostic Manager에 의해 UDS 서비스 0x29(Authentication mit PKI Certificate Exchange, APCE AUTOSAR_AP_SWS_Diagnostics Tab. 4.1 “Limitations of sub-functions of 0x19 ReadDTCInformation”)에 대한 전달을 활성화하기 위해 먼저 Offer()을(를) 호출해야 합니다 [SWS_DM_01130]. 인증서 검증은 이후 VerifyCertificateUnidirectional [SWS_DM_01126], VerifyCertificateBidirectional [SWS_DM_01127] 및 VerifyOwnership [SWS_DM_01128]을(를) 통해 처리됩니다. 객체 파괴 전에는 StopOffer()을(를) 사용하여 전달을 종료해야 합니다 [SWS_DM_01131].
이 사용 지침은 AUTOSAR Adaptive 명세 R25-11을 기반으로 AI에 의해 생성되었습니다.
구현자 가이드 준비 중 (복잡도 I2)
| Header-Datei | #include "ara/diag/authentication.h" |
|---|---|
| Scope | class ara::diag::Authentication |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
| Verletzungen (Violations) | InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of your executable, or it refers to a model element other tegrityViolation than a PortPrototype. PortInterfaceMap- A PortPrototype that is referenced by a pingViolation DiagnosticAuthenticationPortMapping needs to be typed by a DiagnosticAuthenticationInterface. ProcessMappingVio- Matching InstanceRef exists, but no matching (modelled) Process lation found that matches the (runtime) process. InstanceSpecifier- Violation message that is sent in case a constructor in the ara AlreadyInUseViola- framework was called with an InstanceSpecifier already in use in tion this process. |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| specifier | InstanceSpecifier to a PortPrototype of a DiagnosticAuthenticationInterface. |
| concurrencyType | Specifies if the interface is implemented as thread safe ( kConcurrent) or non-thread safe (kNotConcurrent). |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_DM_01124- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_01124@rel:R25-11#cc481c3d- Content hash
cc481c3d- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01124
Status: valid/unmigrated
Version: rel:R25-11#a528cb61
Versionshistorie & Revisions (1 transition, 6 revision)
- Current State
valid/unmigrated- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill- Active Version
AUTOSAR/AP/record/SWS_DM_01124@rel:R25-11#a528cb61
Recorded Revisions (6):
- R25-11
rel:R25-11#869efd0b2026-09-30 - R21-11
rel:R21-11#a05195552026-10-14 - R22-11
rel:R22-11#0575421d2026-10-14 - R23-11
rel:R23-11#fe6f8f0a2026-10-14 - R24-11
rel:R24-11#85e435582026-10-14 - R25-11
rel:R25-11#a528cb612026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · 독일어 원문