DEENESPTFRRUARHIKOZHNL

클래스 ara::diag::ExternalAuthentication

[SWS_DM_01191] Upstream: RS_Diag_04251

class ExternalAuthentication final {...};

Definition of the ExternalAuthentication class, which is used by the application to receive an instance of the ClientAuthentication Class relevant to the specific client.

Header-Datei#include "ara/diag/external_authentication.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopenamespace ara::diag

사용자 가이드AI 생성

외부 진단 클라이언트의 상태를 관리하기 위한 인증 인스턴스를 검색하는 역할을 합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 95763dbebaf8 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low, gemini-3.8-flash-medium · 2026-10-13 · 독일어 원문

외부 진단 클라이언트의 상태를 관리하기 위한 인증 인스턴스를 검색하는 역할을 합니다.

ara::diag::ExternalAuthentication 클래스는 적응형 애플리케이션이 외부 진단 클라이언트의 인증 상태를 관리하기 위해 ara::diag::ClientAuthentication의 인스턴스를 쿼리하는 포트 인터페이스를 제공합니다[SWS_DM_01191]. 모델링된 서비스 포트에 바인딩된 후, 인증 객체는 소스 주소 또는 메타 정보를 기반으로 Diagnostic Manager에 목적에 맞게 요청됩니다[SWS_DM_01200]. 이 인스턴스는 이동 시맨틱을 가지며 복사 작업을 금지하고, 스레드 안전하지 않은 소멸자로 인해 동기화된 해제를 요구합니다.

컨텍스트

ara::diag::ExternalAuthentication 클래스는 AUTOSAR Adaptive Platform에서 외부 진단 클라이언트의 인증을 위한 포트 인터페이스 역할을 합니다[SWS_DM_01191], AUTOSAR_AP_SWS_Diagnostics §8.17 “Header: ara/diag/external_authentication.h”. 적응형 애플리케이션은 이 포트를 통해 각 진단 클라이언트의 인증 상태를 나타내고 관리하는 ara::diag::ClientAuthentication의 특정 인스턴스에 접근할 수 있습니다[SWS_DM_01202].

사용 가능한 클라이언트 인스턴스의 매핑 및 개수는 소프트웨어 모델에서 DiagnosticExternalAuthenticationIdentification 요소를 통해 정의됩니다. 이를 통해 애플리케이션은 최종 소스 주소가 런타임에야 알려지는 경우 진단 테스터에 대해 고정된 소스 주소 또는 Address 유형(std::uint16_t [SWS_DM_01192]의 별칭)의 구성된 주소 범위를 지정할 수 있습니다AUTOSAR_AP_SWS_Diagnostics §7.3.2.2 “Get ClientAuthentication Instance”.

관여하는 상호작용 대상에는 다음이 포함됩니다.

  • 포트 인스턴스를 생성하고 인증 상태를 조회하는 적응형 애플리케이션.
  • 진단 연결을 제어하고 클라이언트의 인증 상태를 관리하는 Diagnostic Manager (DM)[SWS_DM_01202].
  • 요청 클라이언트에 할당된 ara::diag::ClientAuthentication 객체.
  • 소스 주소 또는 메타 정보를 통해 연결이 식별되는 외부 진단 클라이언트.
diag_kontext app Adaptive Applikation ext_auth ara::diag::ExternalAuthentication app->ext_auth instanziiert / ruft Get dm Diagnostic Manager ext_auth->dm fragt Zustand an client_auth ara::diag::ClientAuthentication ext_auth->client_auth 인스턴스 제공 dm->client_auth verwaltet client Externer Diagnose-Client client->dm Diagnoseanfrage

컨텍스트 다이어그램: 애플리케이션, Diagnostic Manager 및 클라이언트 인증 간 포트 클래스의 통합. 출처: [SWS_DM_01191], [SWS_DM_01202], AUTOSAR_AP_SWS_Diagnostics §7.3.2.2 “Get ClientAuthentication Instance”.

수명 주기

ara::diag::ExternalAuthentication 인스턴스의 생성은 생성자 [SWS_DM_01193]에 ara::core::InstanceSpecifier을(를) 전달하여 명시적으로 수행됩니다. 이 식별자는 객체를 DiagnosticExternalAuthenticationInterface의 모델링된 PortPrototype에 바인딩합니다.

소유권과 관련하여 클래스는 순수한 이동 시맨틱을 갖습니다. 이동 생성자 [SWS_DM_01194] 및 이동 대입 연산자 [SWS_DM_01195]은 제공되는(default) 반면, 복사 생성자 [SWS_DM_01196] 및 복사 대입 연산자 [SWS_DM_01197]은(는) 삭제됩니다(delete). 따라서 포트는 분할 불가능하고 복사할 수 없는 인터페이스 객체를 나타냅니다.

소멸을 위해 소멸자 ~ExternalAuthentication()을(를) 사용할 수 있습니다[SWS_DM_01198]. 동시성과 관련하여 생성자 및 쿼리 메서드는 스레드 안전(thread-safe) 및 예외 안전(exception safe)으로 지정되어 있습니다[SWS_DM_01193], [SWS_DM_01199], [SWS_DM_01200], [SWS_DM_01201]. 반면 소멸자는 명시적으로 스레드 안전하지 않습니다(not thread-safe)[SWS_DM_01198]. 따라서 애플리케이션은 객체가 해제되기 전에 동시 호출이 더 이상 발생하지 않도록 보장해야 합니다.

사용 경로

일반적인 절차에는 포트 초기화 및 이후 인증 객체 검색이 포함됩니다.

  1. 애플리케이션은 인스턴스 식별자 [SWS_DM_01193]을(를) 지정하여 ExternalAuthentication을(를) 인스턴스화합니다.
  2. 애플리케이션은 특정 클라이언트에 대한 인증 인스턴스를 요청합니다. 이를 위해 테스터 주소 [SWS_DM_01200]을(를) 사용하는 오버로드된 메서드 Get(Address) 또는 수신된 요청 메타데이터 [SWS_DM_01199]을(를) 기반으로 하는 Get(const MetaInfo&)을(를) 사용할 수 있습니다. 또는 GetAll()을(를) 사용하여 현재 Diagnostic Manager에서 유지 관리하는 모든 인스턴스의 목록을 조회합니다[SWS_DM_01201].
  3. Diagnostic Manager는 해당 객체를 확인하고 ara::core::Result<ClientAuthentication> 또는 벡터를 반환합니다[SWS_DM_01202].
  4. 애플리케이션은 결과를 확인한 다음, 인증 세션 상태에 대한 애플리케이션 측 핸들로 기능할 것으로 추정되는 획득된 ClientAuthentication 인스턴스와 상호작용합니다. 질문 Q-e7ddbab981bf21de (열림)
ClientAuthentication 인스턴스 가져오기ApplikationExternalAuthenticationDiagnosticManagerExternalAuthentication(instanceSpecifier)Get(sourceAddress)Authentifizierungszustand anfordernClientAuthentication-Instanzara::core::Result<ClientAuthentication>

시퀀스 다이어그램: ClientAuthentication 인스턴스의 인스턴스화 및 조회를 위한 일반적인 호출 순서. 출처: [SWS_DM_01193], [SWS_DM_01200], [SWS_DM_01202].

오류 시나리오

생성자를 통한 인스턴스화 시 구성 및 모델링 오류로 인해 정의된 위반이 발생할 수 있습니다[SWS_DM_01193].

  • InstanceSpecifierMappingIntegrityViolation: 식별자를 실행 파일의 컨텍스트에서 확인할 수 없거나 PortPrototype을(를) 참조하지 않는다.
  • PortInterfaceMappingViolation: 참조된 PortPrototype이(가) DiagnosticExternalAuthenticationInterface(으)로 형식화되지 않았습니다.
  • ProcessMappingViolation: 런타임 프로세스에 대해 일치하는 모델링된 프로세스 정의가 존재하지 않습니다.
  • InstanceSpecifierAlreadyInUseViolation: 동일한 프로세스에서 다른 포트 인스턴스에 의해 식별자가 이미 사용되고 있습니다.

Get(const MetaInfo&) 또는 Get(Address) 호출 시 ara::core::Result를 통한 반환값에 오류 코드 DiagErrc::kServiceNotAvailable이 포함될 수 있습니다[SWS_DM_01199], [SWS_DM_01200]. 이는 Diagnostic Manager의 필수 기능이 일시적으로 사용 불가능함을 나타냅니다. GetAll() 호출은 인스턴스가 없을 때 오류 코드가 아닌 빈 벡터를 반환합니다[SWS_DM_01201].

본 텍스트는 AUTOSAR R25-11 사양을 바탕으로 AI 시스템에 의해 생성되었습니다.

멤버 맵

메서드

2

연산자

1

타입 별칭

1

클래스 다이어그램

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__diag__ExternalAuthentication264 ExternalAuthentication + ExternalAuthentication() + ~ExternalAuthentication() + Get() + GetAll() + operator=()

상세 보기

개요에서 항목을 선택하세요.

생성자 및 소멸자

Constructs the port for authentication of diagnostic clients.

오버로드 ExternalAuthentication 3
explicit ExternalAuthentication (ara::core::InstanceSpecifier instance Specifier) noexcept; SWS_DM_01193
ExternalAuthentication (ExternalAuthentication &&other) noexcept=default; SWS_DM_01194
ExternalAuthentication (ExternalAuthentication const &other)=delete; SWS_DM_01196

Destructor of DiagnosticServiceDynamicAccessList.

메서드

Get 함수 2

This function is used by the application to get the ClientAuthentication Instance that is handling the Authentication State of the Client corresponding to the MetaInfo.

오버로드 Get 2
GetAll 함수

This function is used by the application to get all the ClientAuthentication Instances that are currently handled by the DM.

연산자

operator= 함수 2

Move assignment operator of ExternalAuthentication.

오버로드 = 2
auto operator= (ExternalAuthentication &&other) & noexcept -> External Authentication & =default; SWS_DM_01195
auto operator= (ExternalAuthentication const &other) -> External Authentication &=delete; SWS_DM_01197

타입 별칭

Address 타입 별칭

Alias for tester address.

using Address = std::uint16_t;

메서드 문서

함수 ExternalAuthentication [SWS_DM_01193] Upstream: RS_Diag_04251, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173

explicit ExternalAuthentication (ara::core::InstanceSpecifier instance Specifier) noexcept;

Constructs the port for authentication of diagnostic clients.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 26d2f2a81fd4 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

명시적 생성자 [SWS_DM_01193]은(는) 외부 진단 클라이언트 인증을 위해 포트 클래스 ara::diag::ExternalAuthentication [SWS_DM_01191]의 인스턴스를 초기화합니다(SWS Diagnostics §8.17 “Header: ara/diag/external_authentication.h”). 매개변수로 이 함수는 ara::core::InstanceSpecifier을(를) 요구하며, 이는 매니페스트에 모델링된 DiagnosticExternalAuthenticationInterface 서비스 인스턴스의 PortPrototype을(를) 참조해야 합니다 [SWS_DM_01193].

동기식 호출은 noexcept(으)로 선언되어 있으며 thread-safe 및 exception-safe로 모두 명시되어 있습니다 [SWS_DM_01193]. 예외가 발생하지 않으므로 모델링 및 구성 오류는 프레임워크의 정의된 Violation으로 이어집니다 [SWS_DM_01193]:

  • InstanceSpecifierMappingIntegrityViolation: 식별자를 Executable의 컨텍스트에서 확인할 수 없거나 PortPrototype 이외의 모델 요소를 참조합니다.
  • PortInterfaceMappingViolation: 참조된 PortPrototype이(가) DiagnosticExternalAuthenticationInterface(으)로 형식화되지 않았습니다.
  • ProcessMappingViolation: 해당 참조에 일치하는 모델링된 런타임 프로세스가 존재하지 않습니다.
  • InstanceSpecifierAlreadyInUseViolation: 식별자가 실행 중인 프로세스에서 다른 인스턴스에 의해 이미 사용 중입니다.

복사 연산은 ExternalAuthentication에 대해 명시적으로 금지되어 있는 반면 [SWS_DM_01196] [SWS_DM_01197], 이동 연산은 지원됩니다 [SWS_DM_01194] [SWS_DM_01195]. 생성자와 달리 연관된 소멸자는 스레드 안전하지 않습니다 [SWS_DM_01198]. 성공적으로 인스턴스화된 후 객체는 Get 또는 GetAll과(와) 같은 메서드를 통해 연관된 클라이언트 인증 인스턴스를 조회하는 데 사용됩니다 [SWS_DM_01201] [SWS_DM_01202].

이 사용 지침은 AUTOSAR 사양을 기반으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I2)

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
Exception-Sicherheitexception safe
Thread-Sicherheitthread-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 DiagnosticExternalAuthenticationPortMapping needs to be typed by a DiagnosticExternalAuthenticationInterface. 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)

ParameterBeschreibung
instanceSpecifierInstanceSpecifier to a PortPrototype of a DiagnosticExternalAuthenticationInterface service instance in the manifest.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01193
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01193@rel:R25-11#dadca06c
Content hash
dadca06c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01193
Status: valid/unmigrated Version: rel:R25-11#99c49ac2 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_01193@rel:R25-11#99c49ac2
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#3d7cf4e12026-09-30
  • R21-11rel:R21-11#8a71f7dd2026-10-14
  • R22-11rel:R22-11#62844c072026-10-14
  • R23-11rel:R23-11#447ba5db2026-10-14
  • R24-11rel:R24-11#4fb764692026-10-14
  • R25-11rel:R25-11#99c49ac22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 ExternalAuthentication [SWS_DM_01194] Upstream: RS_Diag_04251

ExternalAuthentication (ExternalAuthentication &&other) noexcept=default;

Move constructor of ExternalAuthentication.

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherObject to move-construct from

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01194
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01194@rel:R25-11#46b5e23b
Content hash
46b5e23b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01194
Status: valid/unmigrated Version: rel:R25-11#56b10148 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_01194@rel:R25-11#56b10148
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#49f971fe2026-09-30
  • R21-11rel:R21-11#5c8f6e4f2026-10-14
  • R22-11rel:R22-11#05f8bd8b2026-10-14
  • R23-11rel:R23-11#503551b52026-10-14
  • R24-11rel:R24-11#de5240aa2026-10-14
  • R25-11rel:R25-11#56b101482026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 ExternalAuthentication [SWS_DM_01196] Upstream: RS_Diag_04251

ExternalAuthentication (ExternalAuthentication const &other)=delete;

Copy constructor of ExternalAuthentication.

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01196
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01196@rel:R25-11#8649f7f4
Content hash
8649f7f4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01196
Status: valid/unmigrated Version: rel:R25-11#28bce7b2 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_01196@rel:R25-11#28bce7b2
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#792beea12026-09-30
  • R21-11rel:R21-11#5ed5ded02026-10-14
  • R22-11rel:R22-11#ef33b0632026-10-14
  • R23-11rel:R23-11#861f734f2026-10-14
  • R24-11rel:R24-11#28bce7b22026-10-14
  • R25-11rel:R25-11#28bce7b22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 Get [SWS_DM_01199] Upstream: RS_Diag_04251

ara::core::Result< ClientAuthentication > Get (const MetaInfo &meta Info) noexcept;

This function is used by the application to get the ClientAuthentication Instance that is handling the Authentication State of the Client corresponding to the MetaInfo.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: b80711a7d088 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

동기 메서드 ara::diag::ExternalAuthentication::Get은(는) Adaptive 애플리케이션이 진단 요청을 담당하는 ara::diag::ClientAuthentication 인스턴스를 가져오는 데 사용됩니다 [SWS_DM_01199]. 매개변수로 진단 요청의 컨텍스트에서 메타 정보를 제공하는 metaInfo(const ara::diag::MetaInfo&)에 대한 참조가 전달됩니다 SWS Diagnostics §7.3.1.1 “MetaInfo class”. ara::core::Result<ClientAuthentication> 타입의 반환값은 클라이언트의 인증 상태를 관리하기 위한 해당 인증 객체를 캡슐화합니다 [SWS_DM_01202].

오류가 발생하면 반환된 Result에 특정 오류 코드 DiagErrc::kServiceNotAvailable이(가) 포함됩니다 [SWS_DM_01199]. 이는 호출 시점에 Diagnostic Manager(DM)의 필수 기능을 사용할 수 없어 호출을 실행할 수 없음을 롤백 의미론과 함께 알립니다 [SWS_DM_01199].

동시성과 관련하여 이 함수는 thread-safe 및 exception safe로 지정되어 있으며 noexcept(으)로 선언되어 있습니다 [SWS_DM_01199]. 따라서 애플리케이션 측 잠금 메커니즘 없이 병렬 스레드에서 안전하게 호출할 수 있습니다.

이 메서드는 클라이언트의 소스 주소를 통해 직접 동일한 조회를 가능하게 하는 오버로드된 변형 Get(Address sourceAddress) [SWS_DM_01200]과(와) 상호작용합니다 [SWS_DM_01202]. 사용 가능한 인스턴스 수는 DiagnosticExternalAuthenticationIdentification 모델 요소에 의해 결정됩니다 SWS Diagnostics “Get ClientAuthentication Instance”. 해석: 이 함수는 내부에 매핑하는 데 필요한 소스 주소를 metaInfo에 캡슐화된 전송 데이터로부터 확인할 것으로 보입니다. 질문 Q-50d416201ccb5825 (열림)

이 사용 참고 사항은 AUTOSAR 명세 버전 R25-11을 기반으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I2)

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
metaInfoMetaInfo of the request.

Rückgabewert

TypBeschreibung
ara::core::Result< ClientAuthentication >Returns the diagnostic client associated authentication object or error.

Fehler

FehlercodeBeschreibung
DiagErrc::kServiceNotAvailablerollback_semantics The call cannot be executed, because essential DM functionality is currently not available.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01199
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01199@rel:R25-11#5717ad90
Content hash
5717ad90
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01199
Status: valid/unmigrated Version: rel:R25-11#0d7aa83d 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_01199@rel:R25-11#0d7aa83d
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#d297578c2026-09-30
  • R21-11rel:R21-11#174411bd2026-10-14
  • R22-11rel:R22-11#5765361f2026-10-14
  • R23-11rel:R23-11#5356d12b2026-10-14
  • R24-11rel:R24-11#1ee0d9c92026-10-14
  • R25-11rel:R25-11#0d7aa83d2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 Get [SWS_DM_01200] Upstream: RS_Diag_04251

ara::core::Result< ClientAuthentication > Get (Address sourceAddress) noexcept;

This function is used by the application to get the ClientAuthentication Instance that is handling the Authentication State of the Client corresponding to the Address.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: be5ba5af6394 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

ara::diag::ExternalAuthentication 클래스의 동기 메서드 Get은(는) Adaptive 애플리케이션이 지정된 소스 주소에 대해 진단 클라이언트의 인증 상태를 관리하는 ClientAuthentication 인스턴스를 가져오는 데 사용됩니다 [SWS_DM_01200]. 여기서 Diagnostic Manager는 전달된 소스 주소를 통해 담당 인증 객체를 확인합니다 [SWS_DM_01202].

사용법 및 경계 조건에는 다음 측면이 포함됩니다:

  • 호출 및 매개변수: 매개변수로 Address 타입의 sourceAddress이(가) 전달됩니다 [SWS_DM_01200]. 시스템 모델에서의 확인은 고정 소스 주소 또는 주소 범위를 정의하는 구성된 DiagnosticExternalAuthenticationIdentification 요소를 기반으로 합니다 SWS Diagnostics 129쪽 “ClientAuthentication”. 또한 MetaInfo 객체를 통해 인스턴스를 결정하는 Get의 오버로드가 존재합니다 [SWS_DM_01199], [SWS_DM_01202].
  • 반환값 및 오류 처리: 이 함수는 ara::core::Result<ClientAuthentication>을(를) 반환합니다 [SWS_DM_01200]. Diagnostic Manager의 필수 기능을 사용할 수 없어 실행할 수 없는 경우, 롤백 의미론과 함께 오류 DiagErrc::kServiceNotAvailable이(가) 반환됩니다 [SWS_DM_01200].
  • 동시성: 이 작업은 thread-safe 및 exception safe(으)로 지정되어 있으며 noexcept(으)로 선언되어 있으므로 병렬 스레드에서의 호출을 예외 안전하게 수행할 수 있습니다 [SWS_DM_01200].

이 사용 지침은 AUTOSAR Adaptive R25-11의 사양 문서를 기반으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I2)

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
sourceAddressThe source address of the client

Rückgabewert

TypBeschreibung
ara::core::Result< ClientAuthentication >Returns the associated diagnostic client authentication object or error.

Fehler

FehlercodeBeschreibung
DiagErrc::kServiceNotAvailablerollback_semantics The call cannot be executed, because essential DM functionality is currently not available.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01200
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01200@rel:R25-11#a33780ec
Content hash
a33780ec
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01200
Status: valid/unmigrated Version: rel:R25-11#07135c96 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_01200@rel:R25-11#07135c96
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#a78dc7ce2026-09-30
  • R21-11rel:R21-11#f69dcd252026-10-14
  • R22-11rel:R22-11#98dbac742026-10-14
  • R23-11rel:R23-11#7078e40c2026-10-14
  • R24-11rel:R24-11#85f369cf2026-10-14
  • R25-11rel:R25-11#07135c962026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 GetAll [SWS_DM_01201] Upstream: RS_Diag_04251

ara::core::Vector< ClientAuthentication > GetAll () noexcept;

This function is used by the application to get all the ClientAuthentication Instances that are currently handled by the DM.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: a4dc37b394ab 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

ara::diag::ExternalAuthentication 클래스(헤더 파일 ara/diag/external_authentication.h)의 메서드 GetAll은(는) 애플리케이션이 현재 Diagnostic Manager에 의해 관리되는 모든 ClientAuthentication 인스턴스를 동기식으로 쿼리하는 데 사용됩니다 [SWS_DM_01201], [SWS_DM_01203]. 호출은 매개변수 없이 수행되며 할당된 모든 인증 객체를 포함하는 ara::core::Vector<ClientAuthentication>을(를) 반환합니다 [SWS_DM_01201].

오류 처리 및 반환값

이 함수는 예외 안전(exception safe) 및 noexcept(으)로 선언되어 있습니다 [SWS_DM_01201]. 이 인터페이스에는 특정 오류 코드나 DET 또는 DEM에 대한 메시지가 존재하지 않습니다. 사용할 수 있는 인증 객체가 없는 경우 이는 오류로 처리되지 않으며 메서드는 빈 벡터를 반환합니다 [SWS_DM_01201].

동시성 및 제약사항

사양에서는 GetAll을(를) 스레드 안전(thread-safe)으로 명시하고 있습니다 [SWS_DM_01201]. 해석: 따라서 여러 병렬 애플리케이션 스레드에서의 호출은 추가적인 애플리케이션 측 동기화 없이 허용될 것으로 보입니다. 질문 Q-9f26d94068ebd3fe (열림)

상호 작용

조회 가능한 인스턴스의 양은 고정 소스 주소 또는 주소 범위를 정의하는 DiagnosticExternalAuthenticationIdentification 타입의 구성된 모델 요소와 일치합니다 AUTOSAR_AP_SWS_Diagnostics 129쪽. GetAll이(가) 모든 인스턴스의 전체 집합을 제공하는 반면 [SWS_DM_01203], Get 메서드는 특정 소스 주소 또는 메타 정보에 대한 타깃 조회를 허용합니다 [SWS_DM_01202].

이 사용 지침은 AUTOSAR 사양을 기반으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Vector< ClientAuthentication >Returns the list of all diagnostic client associated authentication objects or empty list if none available.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01201
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01201@rel:R25-11#06b7d849
Content hash
06b7d849
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01201
Status: valid/unmigrated Version: rel:R25-11#2912f80f 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_01201@rel:R25-11#2912f80f
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#9941b3c92026-09-30
  • R21-11rel:R21-11#e12087182026-10-14
  • R22-11rel:R22-11#e977abb02026-10-14
  • R23-11rel:R23-11#6f409f582026-10-14
  • R24-11rel:R24-11#32e7f4b12026-10-14
  • R25-11rel:R25-11#2912f80f2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator= [SWS_DM_01195] Upstream: RS_Diag_04251

auto operator= (ExternalAuthentication &&other) & noexcept -> External Authentication & =default;

Move assignment operator of ExternalAuthentication.

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherObject to move-assign from.

Rückgabewert

TypBeschreibung
ExternalAuthenticationExternalAuthentication& Reference to self.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01195
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01195@rel:R25-11#a14a37be
Content hash
a14a37be
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01195
Status: valid/unmigrated Version: rel:R25-11#6803e422 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_01195@rel:R25-11#6803e422
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#8f6e23102026-09-30
  • R21-11rel:R21-11#e0a59cdb2026-10-14
  • R22-11rel:R22-11#2ba590ba2026-10-14
  • R23-11rel:R23-11#d39a0d602026-10-14
  • R24-11rel:R24-11#542712952026-10-14
  • R25-11rel:R25-11#6803e4222026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator= [SWS_DM_01197] Upstream: RS_Diag_04251

auto operator= (ExternalAuthentication const &other) -> External Authentication &=delete;

Copy assignment operator of ExternalAuthentication.

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01197
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01197@rel:R25-11#f104ba57
Content hash
f104ba57
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01197
Status: valid/unmigrated Version: rel:R25-11#09d1b83a 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_01197@rel:R25-11#09d1b83a
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#6d1027ba2026-09-30
  • R21-11rel:R21-11#9521bdc82026-10-14
  • R22-11rel:R22-11#f4eeab222026-10-14
  • R23-11rel:R23-11#3efeb14e2026-10-14
  • R24-11rel:R24-11#09d1b83a2026-10-14
  • R25-11rel:R25-11#09d1b83a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 ~ExternalAuthentication [SWS_DM_01198] Upstream: RS_Diag_04251

~ExternalAuthentication () noexcept;

Destructor of DiagnosticServiceDynamicAccessList.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: cea37c94582e 출처 열린 질문 (2)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

소멸자 ~ExternalAuthentication()은(는) 헤더 ara/diag/external_authentication.h의 ara::diag::ExternalAuthentication 클래스 인스턴스 수명 주기를 종료합니다 [SWS_DM_01198]. 유효 범위를 벗어나거나 객체가 해제될 때 동기식으로 실행되며, 전달 매개변수가 필요 없고 반환값을 갖지 않습니다 AUTOSAR_AP_SWS_Diagnostics §8.17.1.2.1.2 “Destructor”.

오류 처리와 관련하여 이 함수에는 지정자 noexcept이(가) 부여되어 있으며 형식적으로 예외 안전(exception safe)으로 정의되어 있습니다 [SWS_DM_01198]. 따라서 호출은 오류 발생 시 C++ 예외가 소멸 과정을 중단하거나 호출자에게 전달되지 않음을 보장합니다.

동시성 및 제약 조건과 관련하여, 소멸자는 스레드 안전하지 않음(not thread-safe)으로 지정되어 있음에 유의해야 합니다 [SWS_DM_01198]. 따라서 호출 컴포넌트는 소멸 중 별도의 스레드를 통해 동일한 ara::diag::ExternalAuthentication 인스턴스에 동시 접근이 발생하지 않도록 보장해야 합니다. 협조되지 않은 메모리 접근을 방지하기 위해 호출 전에 이 인스턴스의 모든 활성 진단 및 인증 작업이 완전히 종료되어야 할 것으로 추정됩니다. 질문 Q-67c112ea87f722d2 (열림)

기능적 컨텍스트에서 이 인터페이스는 진단 관리(DM)에 대한 상위 요구사항 RS_Diag_04251을 구현합니다 AUTOSAR_AP_SWS_Diagnostics §8.17.1.2.1.2 “Destructor”. 표 형태의 Dynamic-Access-List 소멸자 표시는 범위와 네임스페이스가 ExternalAuthentication에 대한 바인딩을 규정하므로 사양상의 편집상 모호함으로 보입니다 [SWS_DM_01198]. 질문 Q-30744aac322624cb (열림)

이 사용 지침은 AUTOSAR 사양을 기반으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01198
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01198@rel:R25-11#bcffbb82
Content hash
bcffbb82
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01198
Status: valid/unmigrated Version: rel:R25-11#fb78e709 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_01198@rel:R25-11#fb78e709
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#2976e59f2026-09-30
  • R21-11rel:R21-11#0b0d79932026-10-14
  • R22-11rel:R22-11#c93ef83d2026-10-14
  • R23-11rel:R23-11#95e746bb2026-10-14
  • R24-11rel:R24-11#8f8b55132026-10-14
  • R25-11rel:R25-11#fb78e7092026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

타입 별칭 문서

타입 별칭 Address [SWS_DM_01192] Upstream: RS_Diag_04251

using Address = std::uint16_t;

Alias for tester address.

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
SymbolAddress

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01192
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01192@rel:R25-11#59bc1b29
Content hash
59bc1b29
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01192
Status: valid/unmigrated Version: rel:R25-11#14b59998 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_01192@rel:R25-11#14b59998
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#4c1ad19b2026-09-30
  • R21-11rel:R21-11#5e4deeca2026-10-14
  • R22-11rel:R22-11#b896dce62026-10-14
  • R23-11rel:R23-11#14b599982026-10-14
  • R24-11rel:R24-11#5bcc7f9a2026-10-14
  • R25-11rel:R25-11#14b599982026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill