DEENESPTFRRUARHIKOZHNL

klasse 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

User GuideAI-GEGENEREERD

Dient voor het opvragen van authenticatie-instanties voor het beheer van de status van externe diagnose-clients.
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 95763dbebaf8 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Dient voor het opvragen van authenticatie-instanties voor het beheer van de status van externe diagnose-clients.

De klasse ara::diag::ExternalAuthentication stelt een poortinterface beschikbaar waarmee een adaptieve applicatie instanties van ara::diag::ClientAuthentication opvraagt voor het beheer van de authenticatietoestand van externe diagnose-clients [SWS_DM_01191]. Na binding aan een gemodelleerde servicepoort worden de authenticatie-objecten aan de hand van het bronadres of van meta-informatie gericht aangevraagd bij de Diagnostic Manager [SWS_DM_01200]. De instantie beschikt over move-semantiek, verbiedt kopieeracties en vereist vanwege een niet-threadsichere destructor een gesynchroniseerde afbraak.

Context

De klasse ara::diag::ExternalAuthentication fungeert in het AUTOSAR Adaptive Platform als poortinterface voor de authenticatie van externe diagnose-clients [SWS_DM_01191], AUTOSAR_AP_SWS_Diagnostics §8.17 “Header: ara/diag/external_authentication.h”. Via deze poort krijgt een adaptieve applicatie toegang tot specifieke instanties van ara::diag::ClientAuthentication, die de authenticatietoestand van de desbetreffende diagnose-client weergeven en beheren [SWS_DM_01202].

De toewijzing en het aantal beschikbare client-instanties wordt in het softwaremodel gedefinieerd via het element DiagnosticExternalAuthenticationIdentification. Hiermee kan de applicatie vaste bronadressen of geconfigureerde adresbereiken van het type Address (alias voor std::uint16_t [SWS_DM_01192]) voor diagnosetesters vastleggen wanneer het uiteindelijke bronadres pas tijdens runtime bekend is AUTOSAR_AP_SWS_Diagnostics §7.3.2.2 “Get ClientAuthentication Instance”.

Tot de betrokken interactiepartners behoren:

  • De adaptieve applicatie, die de poortinstantie aanmaakt en authenticatietoestanden opvraagt.
  • De Diagnostic Manager (DM), die de diagnoseverbindingen bestuurt en de authenticatietoestanden van de clients beheert [SWS_DM_01202].
  • De ara::diag::ClientAuthentication-objecten die aan de verzoekende client zijn toegewezen.
  • De externe diagnoseclient, waarvan de verbinding via bronadres of metainformatie wordt geïdentificeerd.
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 levert instantie dm->client_auth verwaltet client Externer Diagnose-Client client->dm Diagnoseanfrage

Contextdiagram: integratie van de poortklasse tussen applicatie, Diagnostic Manager en clientauthenticatie. Bronnen: [SWS_DM_01191], [SWS_DM_01202], AUTOSAR_AP_SWS_Diagnostics §7.3.2.2 “Get ClientAuthentication Instance”.

Levenscyclus

Het aanmaken van een ara::diag::ExternalAuthentication-instantie vindt expliciet plaats door overdracht van een ara::core::InstanceSpecifier aan de constructor [SWS_DM_01193]. Deze identifier bindt het object aan de gemodelleerde PortPrototype van een DiagnosticExternalAuthenticationInterface.

Wat betreft de eigendomsverhoudingen beschikt de klasse over zuivere move-semantiek: move-constructor [SWS_DM_01194] en move-toewijzingsoperator [SWS_DM_01195] zijn aanwezig (default), terwijl copy-constructor [SWS_DM_01196] en copy-toewijzingsoperator [SWS_DM_01197] verwijderd zijn (delete). Een poort representeert daarmee een ondeelbaar, niet-kopieerbaar interface-object.

Voor de vernietiging staat de destructor ~ExternalAuthentication() ter beschikking [SWS_DM_01198]. Met het oog op gelijktijdigheid zijn zowel de constructor als de opvraagmethoden als thread-safe (thread-safe) en uitzonderingsveilig (exception safe) gespecificeerd [SWS_DM_01193], [SWS_DM_01199], [SWS_DM_01200], [SWS_DM_01201]. De destructor is daarentegen uitdrukkelijk niet thread-safe (not thread-safe) [SWS_DM_01198]. De applicatie moet er daarom voor zorgen dat er vóór het afbreken van het object geen gelijktijdige aanroepen meer plaatsvinden.

Gebruikspad

Het typische verloop omvat de initialisatie van de poort en het aansluitend ophalen van authenticatie-objecten:

  1. De applicatie instantieert ExternalAuthentication onder vermelding van de instantie-identifier [SWS_DM_01193].
  2. De applicatie vraagt de authenticatie-instantie voor een concrete client aan. Hiervoor staan de overladen methoden Get(Address) met gebruik van het testeradres [SWS_DM_01200] of Get(const MetaInfo&) op basis van ontvangen verzoekmetagegevens [SWS_DM_01199] ter beschikking. Als alternatief haalt zij via GetAll() een lijst op van alle momenteel door de Diagnostic Manager beheerde instanties [SWS_DM_01201].
  3. De Diagnostic Manager bepaalt het betreffende object en levert een ara::core::Result<ClientAuthentication> respectievelijk een vector terug [SWS_DM_01202].
  4. De applicatie controleert het resultaat en communiceert vervolgens met de verkregen ClientAuthentication-instantie, die vermoedelijk fungeert als applicatiezijdige handle voor de toestand van de authenticatiesessie. Vraag Q-e7ddbab981bf21de (open)
Ophalen van een ClientAuthentication-instantieApplikationExternalAuthenticationDiagnosticManagerExternalAuthentication(instanceSpecifier)Get(sourceAddress)Authentifizierungszustand anfordernClientAuthentication-Instanzara::core::Result<ClientAuthentication>

Sequentiediagram: typische aanroepvolgorde voor het instantiëren en opvragen van een ClientAuthentication-instantie. Bronnen: [SWS_DM_01193], [SWS_DM_01200], [SWS_DM_01202].

Foutscenario's

Bij de instantiëring via de constructor kunnen configuratie- en modelleringsfouten tot gedefinieerde schendingen leiden [SWS_DM_01193]:

  • InstanceSpecifierMappingIntegrityViolation: De identifier kan in de context van de executable niet worden omgezet of refereert niet aan een PortPrototype.
  • PortInterfaceMappingViolation: De gerefereerde PortPrototype is niet getypeerd als DiagnosticExternalAuthenticationInterface.
  • ProcessMappingViolation: Er bestaat geen passende gemodelleerde procesdefinitie voor het runtimeproces.
  • InstanceSpecifierAlreadyInUseViolation: De identifier wordt in hetzelfde proces al door een andere poortinstantie gebruikt.

Bij aanroepen van Get(const MetaInfo&) of Get(Address) kan de retourwaarde via ara::core::Result de foutcode DiagErrc::kServiceNotAvailable bevatten [SWS_DM_01199], [SWS_DM_01200]. Dit geeft aan dat essentiële functionaliteit van de Diagnostic Manager tijdelijk niet beschikbaar is. De aanroep GetAll() levert bij ontbrekende instanties geen foutcode, maar een lege vector terug [SWS_DM_01201].

Deze tekst is gegenereerd door een AI-systeem op basis van de specificatie AUTOSAR R25-11.

Ledenkaart

Methoden

2

Operatoren

1

Type-aliassen

1

Klassendiagram

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

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

Detailweergave

Kies een item in de inhoudsopgave.

Constructors en destructor

Constructs the port for authentication of diagnostic clients.

Overloads 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.

Methoden

Get functie 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.

Overloads Get 2
GetAll functie

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

Operatoren

operator= functie 2

Move assignment operator of ExternalAuthentication.

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

Type-aliassen

Address typealias

Alias for tester address.

using Address = std::uint16_t;

Documentatie van de methoden

functie 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.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 26d2f2a81fd4 Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De expliciete constructor [SWS_DM_01193] initialiseert een instantie van de poortklasse ara::diag::ExternalAuthentication [SWS_DM_01191] voor de authenticatie van externe diagnose-clients (SWS Diagnostics §8.17 “Header: ara/diag/external_authentication.h”). Als parameter verwacht de functie een ara::core::InstanceSpecifier, die moet verwijzen naar een in het manifest gemodelleerde PortPrototype van een DiagnosticExternalAuthenticationInterface-service-instantie [SWS_DM_01193].

De synchrone aanroep is gedeclareerd als noexcept en gespecificeerd als zowel thread-safe als exception-safe [SWS_DM_01193]. Aangezien er geen exceptions worden gegenereerd, leiden modellerings- en configuratiefouten tot gedefinieerde violations van het framework [SWS_DM_01193]:

  • InstanceSpecifierMappingIntegrityViolation: De identificator kan niet worden omgezet in de context van het executable of verwijst naar een ander modelelement dan een PortPrototype.
  • PortInterfaceMappingViolation: De gereferentieerde PortPrototype is niet getypeerd door een DiagnosticExternalAuthenticationInterface.
  • ProcessMappingViolation: Voor de referentie bestaat geen passend gemodelleerd runtime-proces.
  • InstanceSpecifierAlreadyInUseViolation: De identificator wordt in het actieve proces al door een andere instantie gebruikt.

Kopieeroperaties zijn voor ExternalAuthentication expliciet verhinderd [SWS_DM_01196] [SWS_DM_01197], terwijl verplaatsingsoperaties worden ondersteund [SWS_DM_01194] [SWS_DM_01195]. In tegenstelling tot de constructor is de bijbehorende destructor niet thread-safe [SWS_DM_01198]. Na succesvolle instantiatie dient het object ertoe om via methoden zoals Get of GetAll bijbehorende client-authenticatie-instanties op te vragen [SWS_DM_01201] [SWS_DM_01202].

Deze gebruiksinstructie is automatisch gegenereerd op basis van de AUTOSAR-specificatie.

Implementer's Guide volgt (complexiteit 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#f4836325
Content hash
f4836325
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

functie 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#41463740
Content hash
41463740
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

functie 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#53b1a08a
Content hash
53b1a08a
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

functie 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.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: b80711a7d088 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De synchrone methode ara::diag::ExternalAuthentication::Get stelt een adaptieve applicatie in staat om de voor een diagnoseverzoek verantwoordelijke instantie van ara::diag::ClientAuthentication op te halen [SWS_DM_01199]. Als parameter wordt een referentie naar metaInfo (const ara::diag::MetaInfo&) overgedragen, die metagegevens uit de context van het diagnoseverzoek beschikbaar stelt SWS Diagnostics §7.3.1.1 “MetaInfo class”. De retourwaarde van het type ara::core::Result<ClientAuthentication> капselt het overeenkomstige authenticatieobject in voor het beheer van de authenticatietoestand van de client [SWS_DM_01202].

Treedt er een fout op, dan bevat de geretourneerde Result de specifieke foutcode DiagErrc::kServiceNotAvailable [SWS_DM_01199]. Deze signaleert met rollback-semantiek dat de aanroep niet kan worden uitgevoerd omdat essentiële functies van de Diagnostic Manager (DM) op het aanroeptijdstip niet beschikbaar zijn [SWS_DM_01199].

Wat betreft gelijktijdigheid is de functie gespecificeerd als thread-safe en exception safe en gedeclareerd met noexcept [SWS_DM_01199]. Zij kan daarom zonder vergrendelingsmechanismen aan applicatiezijde veilig vanuit parallelle threads worden aangeroepen.

De methode staat in wisselwerking met de overladen variant Get(Address sourceAddress) [SWS_DM_01200], die dezelfde bevraging rechtstreeks via het bronadres van de client mogelijk maakt [SWS_DM_01202]. Het aantal beschikbare instanties wordt bepaald door de modelelementen DiagnosticExternalAuthenticationIdentification SWS Diagnostics “Get ClientAuthentication Instance”. Interpretatie: de functie zal intern vermoedelijk het voor de toewijzing benodigde bronadres bepalen uit de in metaInfo ingekapselde transportgegevens. Vraag Q-50d416201ccb5825 (open)

Deze gebruiksinstructie is automatisch gegenereerd op basis van de AUTOSAR-specificatiestand R25-11.

Implementer's Guide volgt (complexiteit 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#df0bd39d
Content hash
df0bd39d
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

functie 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.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: be5ba5af6394 Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De synchrone methode Get van de klasse ara::diag::ExternalAuthentication stelt een adaptieve applicatie in staat om de instantie van ClientAuthentication op te halen die de authenticatietoestand van de diagnoseclient voor het opgegeven bronadres beheert [SWS_DM_01200]. De Diagnostic Manager resolveert hierbij via het overgedragen bronadres het verantwoordelijke authenticatieobject [SWS_DM_01202].

Het gebruik en de randvoorwaarden omvatten de volgende aspecten:

  • Aanroep en parameters: Als parameter wordt sourceAddress van het type Address overgedragen [SWS_DM_01200]. De resolutie steunt in het systeemmodel op geconfigureerde DiagnosticExternalAuthenticationIdentification-elementen die vaste bronadressen of adresbereiken definiëren SWS Diagnostics p. 129 “ClientAuthentication”. Bovendien bestaat er een overload van Get die de instantie bepaalt via een MetaInfo-object [SWS_DM_01199], [SWS_DM_01202].
  • Retourwaarde en foutafhandeling: De functie levert een ara::core::Result<ClientAuthentication> op [SWS_DM_01200]. Is de uitvoering niet mogelijk omdat essentiële functies van de Diagnostic Manager niet beschikbaar zijn, dan wordt de fout DiagErrc::kServiceNotAvailable met rollback-semantiek geretourneerd [SWS_DM_01200].
  • Gelijktijdigheid: De operatie is gespecificeerd als thread-safe en exception safe en gedeclareerd met noexcept, waardoor aanroepen vanuit parallelle threads uitzonderingsveilig kunnen worden uitgevoerd [SWS_DM_01200].

Deze gebruiksinstructie is geautomatiseerd gegenereerd op basis van de specificatiedocumenten van AUTOSAR Adaptive R25-11.

Implementer's Guide volgt (complexiteit 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#df2126da
Content hash
df2126da
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

functie 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.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: a4dc37b394ab Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik

De methode GetAll van de klasse ara::diag::ExternalAuthentication (headerbestand ara/diag/external_authentication.h) stelt applicaties in staat om alle momenteel door de Diagnostic Manager beheerde instanties van ClientAuthentication synchroon op te vragen [SWS_DM_01201], [SWS_DM_01203]. De aanroep geschiedt zonder parameters en retourneert een ara::core::Vector<ClientAuthentication> die alle toegewezen authenticatieobjecten bevat [SWS_DM_01201].

Foutafhandeling en retourwaarden

De functie is gedeclareerd als uitzonderingsveilig (exception safe) en noexcept [SWS_DM_01201]. Specifieke foutcodes of meldingen aan DET resp. DEM bestaan niet voor deze interface. Voor zover er geen authenticatieobjecten beschikbaar zijn, wordt dit niet behandeld als een fout, maar levert de methode een lege vector op [SWS_DM_01201].

Gelijktijdigheid en beperkingen

De specificatie merkt GetAll aan als threadveilig (thread-safe) [SWS_DM_01201]. Interpretatie: aanroepen vanuit meerdere parallelle applicatiethreads zijn vermoedelijk dan ook toelaatbaar zonder aanvullende synchronisatie aan applicatiezijde. Vraag Q-9f26d94068ebd3fe (open)

Samenspel

De verzameling opvraagbare instanties correspondeert met de geconfigureerde modelelementen van het type DiagnosticExternalAuthenticationIdentification, die vaste bronadressen of adresbereiken definiëren AUTOSAR_AP_SWS_Diagnostics p. 129. Terwijl GetAll het geheel van alle instanties levert [SWS_DM_01203], maakt de methode Get de gerichte opvraag voor een specifiek bronadres of specifieke meta-informatie mogelijk [SWS_DM_01202].

Deze gebruiksinstructie is geautomatiseerd gegenereerd op basis van de AUTOSAR-specificatie.

Implementer's Guide volgt (complexiteit 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#72be5afd
Content hash
72be5afd
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

functie 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#32fbfdd0
Content hash
32fbfdd0
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

functie 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#279ed9a1
Content hash
279ed9a1
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

functie ~ExternalAuthentication [SWS_DM_01198] Upstream: RS_Diag_04251

~ExternalAuthentication () noexcept;

Destructor of DiagnosticServiceDynamicAccessList.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: cea37c94582e Herkomst Open vragen (2)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De destructor ~ExternalAuthentication() beëindigt de levenscyclus van een instantie van de klasse ara::diag::ExternalAuthentication uit de header ara/diag/external_authentication.h [SWS_DM_01198]. Deze wordt synchroon uitgevoerd bij het verlaten van de scope of bij het vrijgeven van het object, vereist geen overdrachtparameters en heeft geen retourwaarde AUTOSAR_AP_SWS_Diagnostics §8.17.1.2.1.2 “Destructor”.

Wat betreft foutafhandeling is de functie voorzien van de specificator noexcept en formeel gedefinieerd als uitzonderingsveilig (exception safe) [SWS_DM_01198]. De aanroep garandeert derhalve dat er bij een fout geen C++-excepties zijn die het vernietigingsproces onderbreken of naar de aanroeper worden doorgegeven.

Wat betreft gelijktijdigheid en beperkingen dient in acht te worden genomen dat de destructor gespecificeerd is als niet threadveilig (not thread-safe) [SWS_DM_01198]. Aanroepende componenten moeten er daarom voor zorgen dat er tijdens de vernietiging geen gelijktijdige toegang via afzonderlijke threads plaatsvindt tot dezelfde instantie van ara::diag::ExternalAuthentication. Vermoedelijk moeten vóór de aanroep alle actieve diagnose- en authenticatieoperaties van deze instantie volledig zijn beëindigd om ongecoördineerde geheugentoegangen te voorkomen. Vraag Q-67c112ea87f722d2 (open)

In de functionele context realiseert de interface de overkoepelende requirement RS_Diag_04251 voor Diagnostic Management (DM) AUTOSAR_AP_SWS_Diagnostics §8.17.1.2.1.2 “Destructor”. De tabellarische aanduiding als destructor van een Dynamic-Access-List is vermoedelijk een redactionele onnauwkeurigheid van de specificatie, aangezien scope en naamruimte de binding aan ExternalAuthentication vastleggen [SWS_DM_01198]. Vraag Q-30744aac322624cb (open)

Deze gebruiksinstructie is geautomatiseerd opgesteld op basis van de AUTOSAR-specificatie.

Implementer's Guide volgt (complexiteit 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#95f9d6f0
Content hash
95f9d6f0
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

Documentatie van de typealiassen

typealias 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#9f19bdbf
Content hash
9f19bdbf
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