DEENESPTFRRUARHIKOZHNL

klasse ara::diag::Authentication

[SWS_DM_01123] Upstream: RS_Diag_04251

class Authentication {...};

Class to implement the Service Authentication interfaces to application.

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

User GuideAI-GEGENEREERD

Biedt de applicatie interfaces voor UDS-service-0x29-authenticatie ten opzichte van externe diagnosetesters.
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: a55f7043e3c0 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Biedt de applicatie interfaces voor UDS-service-0x29-authenticatie ten opzichte van externe diagnosetesters.

De klasse ara::diag::Authentication dient als applicatiezijdige interface voor het uitvoeren van de UDS-dienst-0x29-authenticatie ten opzichte van externe testers (AUTOSAR AP SWS Diagnostics p. 63). Na de initialisatie en activering via Offer() verzorgt de applicatie de certificaatcontrole evenals het bewijs van eigendom (Proof of Ownership) via asynchrone callbacks ([SWS_DM_01126], [SWS_DM_01130]). Instanties zijn noch kopieerbaar noch verplaatsbaar en worden via een poortspecifieke InstanceSpecifier gebonden aan Diagnostic Management ([SWS_DM_01124], [SWS_DM_01609]).

Context

De klasse ara::diag::Authentication stelt de applicatiezijdige interface beschikbaar voor de afhandeling van de UDS-dienst 0x29 (Authentication) binnen het AUTOSAR Adaptive Platform (AUTOSAR AP SWS Diagnostics p. 63). Deze fungeert als typeveilige basis voor applicatiespecifieke handlers die de cryptografische authenticatie van inkomende diagnoseverbindingen aansturen en uitvoeren.

In de systeemarchitectuur interacteert de klasse met twee essentiële partners: de externe diagnosetester, die authenticatieverzoeken richt aan het voertuig, en het voertuiginterne Diagnostic Management (DM), dat diagnoseberichten ontvangt, filtert en doorstuurt naar geregistreerde handlers ([SWS_DM_01130]). De applicatie implementeert de door ara::diag::Authentication voorgeschreven interfacefuncties om certificaten te controleren, challenges te berekenen en sessiesleutels te genereren ([SWS_DM_01126], [SWS_DM_01128]).

AuthenticationKontext Tester Tester DiagnosticManagement DiagnosticManagement Tester->DiagnosticManagement UDS 0x29 DiagnosticManagement->Tester UDS Response AuthenticationHandler AuthenticationHandler DiagnosticManagement->AuthenticationHandler Verify-Callbacks AuthenticationHandler->DiagnosticManagement Offer / StopOffer

Contextdiagram: inbedding van de Authentication-handler tussen Diagnostic Management en externe diagnosetester. Bronnen: [SWS_DM_01124], [SWS_DM_01130], AUTOSAR AP SWS Diagnostics p. 63

Levenscyclus

Instanties van ara::diag::Authentication worden aan een specifiek poortmodel gebonden. De constructor verwacht een ara::core::InstanceSpecifier die naar een PortPrototype van een DiagnosticAuthenticationInterface verwijst, evenals de parameter ConcurrencyType ([SWS_DM_01124]). Deze laatste bepaalt of de implementatie thread-safe (kConcurrent) of niet-thread-safe (kNotConcurrent) is ontworpen ([SWS_DM_01124]). Aangezien de verificatie-callbacks re-entrant voor verschillende clients kunnen worden aangeroepen ([SWS_DM_01126], [SWS_DM_01127]), serialiseert het Diagnostic Management vermoedelijk bij kNotConcurrent de aanroepen naar de instantie. Vraag Q-5d890d01c54e70ca (open)

Wat betreft eigendomsverhoudingen is ara::diag::Authentication strikt gedefinieerd als een niet-kopieerbare en niet-verplaatsbare enkelvoudige instantie: zowel copy- als move-constructors evenals de bijbehorende toewijzingsoperatoren zijn expliciet verwijderd ([SWS_DM_01609], [SWS_DM_01610], [SWS_DM_01607], [SWS_DM_01608]). Na de instantiëring accepteert de klasse niet automatisch verzoeken. Pas door de aanroep van Offer() wordt het Diagnostic Management geautoriseerd om binnenkomende authenticatieverzoeken door te sturen naar de instantie ([SWS_DM_01130]). Het doorsturen kan via StopOffer() te allen tijde weer worden gedeactiveerd ([SWS_DM_01131]). De vrijgave van de resources vindt deterministisch plaats via de virtuele destructor ~Authentication() ([SWS_DM_01125]).

Gebruikspad

Een typische use case omvat het aanbieden van de service, de certificaatcontrole en het bewijs van sleutelbezit (Proof of Ownership):

  1. Service aanbieden: Na de instantiëring registreert de applicatie zich via Offer() bij het Diagnostic Management ([SWS_DM_01130]).
  2. Certificaatverificatie: Als er een authenticatieverzoek van de tester binnenkomt, stuurt het DM dit door naar de bevoegde methode:
    • Bij unidirectionele authenticatie roept het DM VerifyCertificateUnidirectional(...) aan ([SWS_DM_01126]). De applicatie verifieert het overgedragen clientcertificaat en levert asynchroon via ara::core::Future een tuple terug bestaande uit een server-challenge en de efemere openbare sleutel van de server.
    • Bij bidirectionele authenticatie roept het DM VerifyCertificateBidirectional(...) aan ([SWS_DM_01127]). Hierbij genereert de applicatie tevens het servercertificaat en het eigen Proof of Ownership voor de tester.
  3. Eigendomsbewijs (Proof of Ownership): Antwoordt de tester op de server-challenge, dan roept het DM de methode VerifyOwnership(...) aan ([SWS_DM_01128]). De applicatie controleert de overgedragen clientPOWN samen met de efemere sleutel van de client tegen de eerder gegenereerde challenge. Bij succes levert de Future de sessiesleutelinformatie terug.
  4. Service beëindigen: Als de interface moet worden gesloten, roept de applicatie StopOffer() aan ([SWS_DM_01131]).
Verloop van de unidirectionele authenticatieDiagnose-TesterDiagnostic ManagementAuthentication-HandlerOffer()Result<void>UDS 0x29 (VerifyCertificateUnidirectional)VerifyCertificateUnidirectional(...)Zertifikat verifizieren, Challenge & Key erzeugenFuture-Ergebnis: Challenge, Ephemeral KeyPositieve response met server-challenge & keyUDS 0x29 (VerifyOwnership met POWN & Key)VerifyOwnership(clientPOWN, clientEphemeralKey, ...)POWN verifizieren & Session Key berechnenFuture-Ergebnis: Session Key InfoPositive Response

Sequentiediagram: verloop van een unidirectionele authenticatie met aansluitende verificatie van het eigendomsbewijs. Bronnen: [SWS_DM_01126], [SWS_DM_01128], [SWS_DM_01130]

Foutscenario's

Bij het gebruik van ara::diag::Authentication moet onderscheid worden gemaakt tussen statische modelfouten en dynamische runtimefouten:

  • Constructieschendingen: Komt de modelconfiguratie niet overeen met het proces of is de InstanceSpecifier foutief, dan mislukt de constructie met gedefinieerde violations (onder andere InstanceSpecifierMappingIntegrityViolation, PortInterfaceMappingViolation, ProcessMappingViolation of InstanceSpecifierAlreadyInUseViolation) ([SWS_DM_01124]).
  • Statusfouten bij offer: Een hernieuwde aanroep van Offer() terwijl de service al wordt aangeboden, mislukt met de foutcode DiagOfferErrc::kAlreadyOffered ([SWS_DM_01130]).
  • Cryptografische en protocolfouten: Faalt de controle van het clientcertificaat of van de Proof of Ownership, dan moet de applicatie de Future met een passende UDS Negative Response Code (NRC) conform ISO 14229-1 via DiagUdsNrcErrc resolven ([SWS_DM_01126], [SWS_DM_01127], [SWS_DM_01128]).
  • Verbindingsverbreking: Wordt een lopende diagnoseconversatie afgebroken, dan signaleert het DM dit via het object CancellationHandler ([SWS_DM_01126]). De applicatie kan de status via cancellationHandler.IsCanceled() opvragen of een callbackfunctie via SetNotifier instellen. De overgedragen data-spans blijven slechts geldig totdat de Promise is vervuld of de verwerking wordt afgebroken ([SWS_DM_01126], [SWS_DM_01128]).

Deze klassehandleiding is automatisch gegenereerd en is gebaseerd op de specificatie AUTOSAR Adaptive Platform Release R25-11.

Ledenkaart

Klassendiagram

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

G nara__diag__Authentication309 Authentication + Authentication() + operator=() + ~Authentication() + Offer() + StopOffer() + VerifyCertificateBidirectional() + VerifyCertificateUnidirectional() + VerifyOwnership()

Detailweergave

Kies een item in de inhoudsopgave.

Constructors en destructor

Authentication functie 3

Constructor of Authentication.

Overloads Authentication 3
explicit Authentication (const ara::core::InstanceSpecifier &specifier, ConcurrencyType concurrencyType) noexcept; SWS_DM_01124
Authentication (Authentication &)=delete; SWS_DM_01609
Authentication (Authentication &&) noexcept=delete; SWS_DM_01610

Destructor of Authentication.

virtual ~Authentication () noexcept;

Methoden

Offer functie

This Offer will enable the DM to forward request messages to this handler.

ara::core::Result< void > Offer () noexcept;
StopOffer functie

This StopOffer will disable the forwarding of request messages from DM.

void StopOffer () noexcept;

This function accepts the certificate and challenge received from the tester, verifies the certificate, and creates a challenge, Ephemeral Public Key and Proof Of Ownership that must be returned to the tester. The function also returns the server certificate that will be used by the tester to verify the Proof Of Ownership. This callback may be called re-entrant to requests from different clients.

virtual ara::core::Future< std::tuple< ara::core::Vector< ara::core::Byte >, ara::core::Vector< ara::core::Byte >, ara::core::Vector< ara::core::Byte >, ara::core::Vector< ara::core::Byte > > > VerifyCertificateBidirectional (ara::core::Byte communicationConfiguration, ara::core::Span< const ara::core::Byte > clientCertificate, ara::core::Span< const ara::core::Byte > client Challenge, const MetaInfo &metaInfo, CancellationHandler cancellation Handler) noexcept=0;

This function accepts the certificate received from the tester, verifies it, and creates a challenge and ephemeral public key that must be returned to the tester. This callback may be called re-entrant to requests from different clients

virtual ara::core::Future< std::tuple< ara::core::Vector< ara::core::Byte >, ara::core::Vector< ara::core::Byte > > > Verify CertificateUnidirectional (ara::core::Byte communicationConfiguration, ara::core::Span< const ara::core::Byte > clientCertificate, ara::core::Span< const ara::core::Byte > clientChallenge, const Meta Info &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

This function accepts the Proof Of Ownership received from the tester and verifies it with the Public Key of the certificate received in the verifyCertificateUnidirectional / verifyCertificate Bidirectional against the server challenge created in the last call to verifyCertificateUnidirectional / verifyCertificateBidirectional.

virtual ara::core::Future< ara::core::Vector< ara::core::Byte > > VerifyOwnership (ara::core::Span< const ara::core::Byte > clientPOWN, ara::core::Span< const ara::core::Byte > clientEphemeralPublicKey, const MetaInfo &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Operatoren

operator= functie 2

Authentication shall be a single not assignable instance.

Overloads = 2

Documentatie van de methoden

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

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

De constructor initialiseert synchroon een object van de handlerklasse ara::diag::Authentication voor de afhandeling van diagnose-authenticatieverzoeken op een softwarepoort [SWS_DM_01124]. De parameter specifier verwijst naar de gemodelleerde PortPrototype, die via een DiagnosticAuthenticationPortMapping verplicht moet zijn getypeerd door een DiagnosticAuthenticationInterface [SWS_DM_01124]. Via de parameter concurrencyType wordt vastgelegd of het framework methode-aanroepen gelijktijdig (kConcurrent) of niet-thread-safe (kNotConcurrent) aflevert [SWS_DM_01124].

Omdat de functie gedeclareerd is als noexcept, worden foutieve aanroepen niet via excepties gemeld, maar veroorzaken deze framework-schendingen (violations) [SWS_DM_01124]:

  • InstanceSpecifierMappingIntegrityViolation: De identifier kan in de context van het executable-bestand niet worden omgezet of refereert niet aan een PortPrototype [SWS_DM_01124].
  • PortInterfaceMappingViolation: De gerefereerde PortPrototype is niet gemodelleerd als DiagnosticAuthenticationInterface [SWS_DM_01124].
  • ProcessMappingViolation: Tijdens runtime wordt geen passend gemodelleerd proces gevonden [SWS_DM_01124].
  • InstanceSpecifierAlreadyInUseViolation: De InstanceSpecifier werd in het actuele proces reeds gebruikt voor een instantie [SWS_DM_01124].

De constructor zelf is thread-safe en uitzonderingsveilig (exception safe) [SWS_DM_01124], terwijl de bijbehorende destructor ~Authentication() als niet thread-safe is gespecificeerd [SWS_DM_01125]. Onmiddellijk na de instantiatie worden er nog geen diagnoseverzoeken doorgestuurd: de applicatie moet eerst Offer() aanroepen om het doorsturen voor de UDS-dienst 0x29 (Authentication met PKI Certificate Exchange, APCE AUTOSAR_AP_SWS_Diagnostics Tab. 4.1 “Limitations of sub-functions of 0x19 ReadDTCInformation”) door de Diagnostic Manager te activeren [SWS_DM_01130]. De certificaatvalidatie wordt vervolgens afgehandeld via VerifyCertificateUnidirectional [SWS_DM_01126], VerifyCertificateBidirectional [SWS_DM_01127] en VerifyOwnership [SWS_DM_01128]. Vóór de vernietiging van het object moet het doorsturen met StopOffer() worden beëindigd [SWS_DM_01131].

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

Implementer's Guide volgt (complexiteit I2)

Header-Datei#include "ara/diag/authentication.h"
Scopeclass ara::diag::Authentication
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 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)

ParameterBeschreibung
specifierInstanceSpecifier to a PortPrototype of a DiagnosticAuthenticationInterface.
concurrencyTypeSpecifies 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#7382efa2
Content hash
7382efa2
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
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#869efd0b2026-09-30
  • R21-11rel:R21-11#a05195552026-10-14
  • R22-11rel:R22-11#0575421d2026-10-14
  • R23-11rel:R23-11#fe6f8f0a2026-10-14
  • R24-11rel:R24-11#85e435582026-10-14
  • R25-11rel:R25-11#a528cb612026-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 Authentication [SWS_DM_01609] Upstream: RS_AP_00147

Authentication (Authentication &)=delete;

Authentication shall be a single not copy-able instance.

Header-Datei#include "ara/diag/authentication.h"
Scopeclass ara::diag::Authentication

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

Record
AUTOSAR/AP/record/SWS_DM_01609
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01609@rel:R25-11#902b1842
Content hash
902b1842
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01609
Status: valid/unmigrated Version: rel:R25-11#3da2cab5 Versionshistorie & Revisions (1 transition, 4 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_01609@rel:R25-11#3da2cab5
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#7e225c2d2026-09-30
  • R23-11rel:R23-11#4d1637062026-10-14
  • R24-11rel:R24-11#3da2cab52026-10-14
  • R25-11rel:R25-11#3da2cab52026-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 Authentication [SWS_DM_01610] Upstream: RS_AP_00147

Authentication (Authentication &&) noexcept=delete;

Move constructor of Authentication.

Header-Datei#include "ara/diag/authentication.h"
Scopeclass ara::diag::Authentication

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

Record
AUTOSAR/AP/record/SWS_DM_01610
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01610@rel:R25-11#62e8f17f
Content hash
62e8f17f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01610
Status: valid/unmigrated Version: rel:R25-11#15116263 Versionshistorie & Revisions (1 transition, 4 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_01610@rel:R25-11#15116263
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#528b40c12026-09-30
  • R23-11rel:R23-11#a56d73ab2026-10-14
  • R24-11rel:R24-11#151162632026-10-14
  • R25-11rel:R25-11#151162632026-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 Offer [SWS_DM_01130] Upstream: RS_Diag_04251

ara::core::Result< void > Offer () noexcept;

This Offer will enable the DM to forward request messages to this handler.

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

Met de synchrone methode Offer() van de klasse ara::diag::Authentication ([SWS_DM_01130]) registreert een Adaptive Application haar authenticatie-handler bij Diagnostic Management (DM). Daardoor wordt DM geautoriseerd en in staat gesteld om binnenkomende verzoeken door te sturen naar deze handler (AUTOSAR_AP_SWS_Diagnostics §8.3.1.1.3.1 “Offer”). De functie accepteert geen overdrachtsparameters en signaleert de uitkomst van de operatie via het retourtype ara::core::Result<void>.

De aanroep is gedeclareerd als noexcept en daarmee uitzonderingsveilig ([SWS_DM_01130]). Mislukt de registratie doordat de service voor deze instantie al eerder beschikbaar is gesteld, dan wordt de specifieke foutcode DiagOfferErrc::kAlreadyOffered in het Result-object geretourneerd ([SWS_DM_01130]). Bovendien is de interface gespecificeerd als not thread-safe; parallelle toegangen op dezelfde instantie mogen vermoedelijk niet onbeschermd plaatsvinden en moeten aan applicatiezijde worden gesynchroniseerd. Vraag Q-51ab72e4e72a7351 (open)

In de levenscyclus van de diagnoseverwerking correspondeert Offer() direct met de tegenfunctie StopOffer() ([SWS_DM_01131], AUTOSAR_AP_SWS_Diagnostics §8.3.1.1.3.2 “StopOffer”), die het doorsturen van verzoeken weer beëindigt. Dit patroon volgt de uniforme beschikbaarstellingsaanpak van diagnostische handlers, zoals die bijvoorbeeld ook bij ara::diag::CommunicationControl::Offer ([SWS_DM_00809]) of ara::diag::DoIPPowerMode::Offer ([SWS_DM_00735]) toepassing vindt, waarbij verzoeken pas na expliciet aanbieden door de applicatie kunnen worden verwerkt ([SWS_DM_01525]).

Deze gebruiksinstructie is geautomatiseerd opgesteld door de AI-curatie-assistent op basis van de AUTOSAR R25-11-specificatiestatus.

Implementer's Guide volgt (complexiteit I1)

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

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

Fehler

FehlercodeBeschreibung
DiagOfferErrc::kAlreadyOfferedrollback_semantics The service is already offered.

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

Record
AUTOSAR/AP/record/SWS_DM_01130
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01130@rel:R25-11#8af09943
Content hash
8af09943
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01130
Status: valid/unmigrated Version: rel:R25-11#ceefb477 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_01130@rel:R25-11#ceefb477
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#78b7f7aa2026-09-30
  • R21-11rel:R21-11#2d6054a22026-10-14
  • R22-11rel:R22-11#61d3a12b2026-10-14
  • R23-11rel:R23-11#d2d63def2026-10-14
  • R24-11rel:R24-11#66beb2132026-10-14
  • R25-11rel:R25-11#ceefb4772026-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 StopOffer [SWS_DM_01131] Upstream: RS_Diag_04251

void StopOffer () noexcept;

This StopOffer will disable the forwarding of request messages from DM.

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

Gebruik

De methode StopOffer van de klasse ara::diag::Authentication (gedefinieerd in ara/diag/authentication.h) deactiveert het doorsturen van verzoekberichten door de Diagnostic Manager (DM) naar de instantie [SWS_DM_01131]. De aanroep wordt synchroon uitgevoerd, vereist geen overdrachtsparameters en heeft geen retourwaarde AUTOSAR_AP_SWS_Diagnostics §8.3.1.1.3.2 “StopOffer”.

Foutafhandeling en uitvoeringsveiligheid

De functie is gespecificeerd als uitzonderingsveilig (noexcept); specifieke foutcodes of uitzonderingen zijn niet gedefinieerd [SWS_DM_01131].

Gelijktijdigheid en beperkingen

De bewerking is uitdrukkelijk aangeduid als niet-thread-safe („not thread-safe”) [SWS_DM_01131]. Concurrerende aanroepen op dezelfde instantie moeten door de aanroepende applicatie worden gesynchroniseerd.

Interactie en architectuurrelatie

Het ontwerppatroon van StopOffer wordt in de Adaptive Diagnostic Manager consistent gebruikt voor verschillende services en handlers, waaronder SecurityAccess [SWS_DM_00767], CommunicationControl [SWS_DM_00810], DownloadService [SWS_DM_00793] en EcuResetRequest [SWS_DM_01017]. Hoewel de naamgeving is gebaseerd op de servicelevering in ara::com, betreft het een diagnosespecifieke implementatie AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”. Interpretatie: voorafgaand aan de deactivering door middel van StopOffer zal de instantie vermoedelijk eerder actief verzoeken hebben geaccepteerd via een aanbiedfunctie. Vraag Q-da990416e53707ed (open)

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

Implementer's Guide volgt (complexiteit I2)

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

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_01131
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01131@rel:R25-11#b4e3fc2a
Content hash
b4e3fc2a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01131
Status: valid/unmigrated Version: rel:R25-11#7692df5e 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_01131@rel:R25-11#7692df5e
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#23d4ebca2026-09-30
  • R21-11rel:R21-11#334e81982026-10-14
  • R22-11rel:R22-11#e0037c802026-10-14
  • R23-11rel:R23-11#df69c0c42026-10-14
  • R24-11rel:R24-11#0a4f51072026-10-14
  • R25-11rel:R25-11#7692df5e2026-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 VerifyCertificateBidirectional [SWS_DM_01127] Upstream: RS_Diag_04251, RS_AP_00128

virtual ara::core::Future< std::tuple< ara::core::Vector< ara::core::Byte >, ara::core::Vector< ara::core::Byte >, ara::core::Vector< ara::core::Byte >, ara::core::Vector< ara::core::Byte > > > VerifyCertificateBidirectional (ara::core::Byte communicationConfiguration, ara::core::Span< const ara::core::Byte > clientCertificate, ara::core::Span< const ara::core::Byte > client Challenge, const MetaInfo &metaInfo, CancellationHandler cancellation Handler) noexcept=0;

This function accepts the certificate and challenge received from the tester, verifies the certificate, and creates a challenge, Ephemeral Public Key and Proof Of Ownership that must be returned to the tester. The function also returns the server certificate that will be used by the tester to verify the Proof Of Ownership. This callback may be called re-entrant to requests from different clients.

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

De zuiver virtuele callback-methode VerifyCertificateBidirectional van de interface ara::diag::Authentication ([SWS_DM_01127]) wordt door de Diagnostic Server aangeroepen zodra een diagnoseverzoek voor de UDS-dienst 0x29 (Authentication) met de subfunctie 0x02 (verifyCertificateBidirectional) binnenkomt en de initiële controles met succes zijn doorlopen ([SWS_DM_01235], AUTOSAR_AP_SWS_Diagnostics §7.3.2.8.11.3 “Service 0x29 – verifyCertificateBidirectional (0x02)”).

Gebruik en semantiek:\nDe server geeft de communicatieconfiguratie evenals de van de tester ontvangen certificaat- en challenge-gegevens door via communicationConfiguration, clientCertificate en clientChallenge, samen met metaInfo en de cancellationHandler ([SWS_DM_01127], [SWS_DM_01235]). De buffers van de invoer-spans blijven geldig totdat het geretourneerde ara::core::Future via de bijbehorende promise is vervuld of het proces wordt afgebroken ([SWS_DM_01127]). Asynchroon levert de methode een 4-tupel bestaande uit server-challenge, servercertificaat, berekende Proof-of-Ownership en de Ephemeral Public Key van de server terug aan de Diagnostic Server ([SWS_DM_01127]).

Afbreking en gelijktijdigheid:\nVia de cancellationHandler kan de applicatie de actuele status middels IsCanceled pollen of per SetNotifier een notificatiefunctie voor de verbindingsafbreking registreren ([SWS_DM_01127]). De interface is gedefinieerd als noexcept en mag met betrekking tot verzoeken van verschillende clients reentrant worden aangeroepen ([SWS_DM_01127]). Of de implementatie thread-safe moet zijn, wordt bepaald via de in de constructor meegegeven ConcurrencyType ([SWS_DM_01127]).

Foutafhandeling en samenspel:\nIn het geval van een fout geeft de applicatie een passende NRC conform ISO 14229-1 via DiagUdsNrcErrc terug; negatieve retourwaarden worden door de Diagnostic Server apart verwerkt ([SWS_DM_01127], [SWS_DM_01236]). Binnen de UDS-authenticatie ([SWS_DM_01226]) vormt de configuratie van deze subfunctie een noodzakelijke voorwaarde als DiagnosticProofOfOwnership is geconfigureerd ([SWS_DM_01227], [SWS_DM_01228]).

Opmerking: Deze instructies zijn automatisch gegenereerd op basis van de specificatie AUTOSAR AP R25-11.

Implementer's Guide volgt (complexiteit I2)

Header-Datei#include "ara/diag/authentication.h"
Scopeclass ara::diag::Authentication
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
communicationConfigurationAs defined in ISO 14229-1:2020, this parameter provides information about how to proceed with security in further diagnostic communication after the Authentication.
clientCertificateThe certificate that is received from the tester during Bidirectional Authentication. Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.
clientChallengeAs defined in ISO14229-1:2020, this parameter provides the challenge received from the tester during Bidirectional Authentication, Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.
metaInfoMetaInfo of the request.
cancellationHandlerThis parameter is used to • Query the current cancellation status by calling cancellationHandler.IsCanceled. Returns TRUE in case, the current conversation has been cancelled and FALSE otherwise. • Register a notifier function by calling cancellationHandler.SetNotifier. The registered notifier is called if the current conversation is cancelled.

Rückgabewert

TypBeschreibung
ara::core::Future<std::tuple<ara::core::Vector<ara::core::Vector<ara::core::Vector<ara::core::Vector<ara::core::Byte >, ara::core::Byte >, ara::core::Byte >, ara::core::Byte > > >Returns the challenge created by the application, Certificate of the server, ProofOfOwnership calculated by the server, Ephemeral Public Key of server.

Fehler

FehlercodeBeschreibung
Please use an applicable NRC, as defined in ISO 14229-1, using DiagUdsNrcErrc.

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

Record
AUTOSAR/AP/record/SWS_DM_01127
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01127@rel:R25-11#8b2215ac
Content hash
8b2215ac
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01127
Status: valid/unmigrated Version: rel:R25-11#221a1952 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_01127@rel:R25-11#221a1952
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#1a83c6762026-09-30
  • R21-11rel:R21-11#709ba10b2026-10-14
  • R22-11rel:R22-11#f6afc01a2026-10-14
  • R23-11rel:R23-11#9b3be6d92026-10-14
  • R24-11rel:R24-11#53b61fdb2026-10-14
  • R25-11rel:R25-11#221a19522026-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 VerifyCertificateUnidirectional [SWS_DM_01126] Upstream: RS_Diag_04251, RS_AP_00128

virtual ara::core::Future< std::tuple< ara::core::Vector< ara::core::Byte >, ara::core::Vector< ara::core::Byte > > > Verify CertificateUnidirectional (ara::core::Byte communicationConfiguration, ara::core::Span< const ara::core::Byte > clientCertificate, ara::core::Span< const ara::core::Byte > clientChallenge, const Meta Info &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

This function accepts the certificate received from the tester, verifies it, and creates a challenge and ephemeral public key that must be returned to the tester. This callback may be called re-entrant to requests from different clients

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

De callback-methode VerifyCertificateUnidirectional van de klasse ara::diag::Authentication wordt door de Diagnostic-Server-instantie aangeroepen zodra een verzoek voor de UDS-service 0x29 met de subfunctie verifyCertificateUnidirectional (0x01) is ontvangen en succesvol vooraf is gecontroleerd (SWS Diagnostics §7.3.2.8.11.2 “Service 0x29 – verifyCertificateUnidirectional (0x01)”, [SWS_DM_01230]). Ze realiseert de unidirectionele authenticatie via PKI-certificaatuitwisseling conform ISO 14229-1 ([SWS_DM_01226]).

Als parameters worden de communicatieconfiguratie (communicationConfiguration), het clientcertificaat (clientCertificate) en de client-challenge (clientChallenge) evenals meta-informatie en een CancellationHandler meegegeven ([SWS_DM_01126]). De overgedragen spans blijven geldig totdat het geretourneerde ara::core::Future is vervuld of de verwerking via de handler wordt afgebroken. De methode levert asynchroon een tupel bestaande uit de gegenereerde server-challenge en de efemere publieke sleutel van de server terug ([SWS_DM_01126]).

Treedt er bij de validatie een fout op, dan dient het future met een passende negatieve responsecode (NRC) via DiagUdsNrcErrc te worden beëindigd ([SWS_DM_01126]).

De functie is gespecificeerd als exception safe en mag reentrant worden aangeroepen voor verzoeken van verschillende diagnose-clients ([SWS_DM_01126]). De thread-safety is voorwaardelijk; of de implementatie thread-safe moet zijn, bepaalt de in de constructor vastgelegde ConcurrencyType ([SWS_DM_01126]). In het totale proces is de configuratie van deze controle een dwingende voorwaarde als de subfunctie DiagnosticProofOfOwnership wordt geconfigureerd ([SWS_DM_01227]).

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

Implementer's Guide volgt (complexiteit I2)

Header-Datei#include "ara/diag/authentication.h"
Scopeclass ara::diag::Authentication
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
communicationConfigurationAs defined in ISO14229-1:2020 [1], this parameter provides information about how to proceed with security in further diagnostic communication after the Authentication.
clientCertificateThe certificate that is received from the tester during Unidirectional Authentication. Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.
clientChallengeAs defined in ISO14229-1:2020 [1], this parameter provides the challenge received fom the tester during Unidirectional Authentication. This parameter has a dependency on the CommunicationConfiguration used. Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.
metaInfoMetaInfo of the request.
cancellationHandlerThis parameter is used to • Query the current cancellation status by calling cancellationHandler.IsCanceled. Returns TRUE in case, the current conversation has been cancelled and FALSE otherwise. • Register a notifier function by calling cancellationHandler.SetNotifier. The registered notifier is called if the current conversation is cancelled.

Rückgabewert

TypBeschreibung
ara::core::Future<std::tuple<ara::core::Vector<ara::core::Vector<ara::core::Byte >, ara::core::Byte > > >Returns challenge created by the application, Ephemeral PublicKey of Server

Fehler

FehlercodeBeschreibung
Please use an applicable NRC, as defined in ISO 14229-1, using DiagUdsNrcErrc.

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

Record
AUTOSAR/AP/record/SWS_DM_01126
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01126@rel:R25-11#a1c264c5
Content hash
a1c264c5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01126
Status: valid/unmigrated Version: rel:R25-11#5b0bedab 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_01126@rel:R25-11#5b0bedab
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#891430be2026-09-30
  • R21-11rel:R21-11#6b67e2b92026-10-14
  • R22-11rel:R22-11#96d86c762026-10-14
  • R23-11rel:R23-11#6ec11ca22026-10-14
  • R24-11rel:R24-11#334a55a52026-10-14
  • R25-11rel:R25-11#5b0bedab2026-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 VerifyOwnership [SWS_DM_01128] Upstream: RS_Diag_04251, RS_AP_00128

virtual ara::core::Future< ara::core::Vector< ara::core::Byte > > VerifyOwnership (ara::core::Span< const ara::core::Byte > clientPOWN, ara::core::Span< const ara::core::Byte > clientEphemeralPublicKey, const MetaInfo &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

This function accepts the Proof Of Ownership received from the tester and verifies it with the Public Key of the certificate received in the verifyCertificateUnidirectional / verifyCertificate Bidirectional against the server challenge created in the last call to verifyCertificateUnidirectional / verifyCertificateBidirectional.

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

Gebruik en aanroepcontext

De zuiver virtuele methode VerifyOwnership van de klasse ara::diag::Authentication wordt door de Diagnostic Server aangeroepen zodra een authenticatieverzoek van de UDS-dienst 0x29 met de subfunctie proofOfOwnership (0x03) is ontvangen en de voorbereidende controles succesvol zijn verlopen [SWS_DM_01240]. Het is de taak van de implementatie om het door de tester verzonden eigendomsbewijs (Proof of Ownership) aan de hand van de openbare sleutel uit het vooraf uitgewisselde clientcertificaat te verifiëren tegen de gegenereerde server-challenge [SWS_DM_01128].

Bij de aanroep draagt de Diagnostic Server de relevante cryptografische invoergegevens en contextobjecten over AUTOSAR_AP_SWS_Diagnostics §8.3.1.1.3.5 “VerifyOwnership”:

  • clientPOWN: Bevat de door de diagnosetester geleverde Proof of Ownership voor de voorgaande server-challenge.
  • clientEphemeralPublicKey: De efemere openbare sleutel van de client voor de Diffie-Hellman-sleutelovereenkomst volgens ISO 14229-1:2020.
  • metaInfo: Metagegevens van het huidige diagnoseverzoek.
  • cancellationHandler: Maakt het opvragen van een eventuele annulering (cancellationHandler.IsCanceled) en het registreren van een notificatiefunctie (cancellationHandler.SetNotifier) mogelijk.

De functie werkt asynchroon en retourneert een ara::core::Future die bij succes de sessiesleutelinformatie als bytevector beschikbaar stelt [SWS_DM_01128].

Foutafhandeling

Indien de eigendomscontrole niet succesvol kan worden uitgevoerd, plaatst de applicatie via DiagUdsNrcErrc een passende negatieve UDS-retourwaarde (NRC) conform ISO 14229-1 in de geretourneerde future [SWS_DM_01128]. Retourneert de methode een dergelijke gedefinieerde foutcode, dan stuurt de Diagnostic Server een Negative Response met de bijbehorende NRC naar de client [SWS_DM_01241].

Gelijktijdigheid en randvoorwaarden

De interface is gedefinieerd als noexcept. Wat threadveiligheid betreft, geldt het gedrag als voorwaardelijk (conditional): of de methode threadveilig moet worden geïmplementeerd, wordt bepaald door de bij de constructie van de instantie gespecificeerde ConcurrencyType [SWS_DM_01128]. Voor de buffers clientPOWN en clientEphemeralPublicKey is gewaarborgd dat hun geheugenbereik geldig blijft totdat de promise is vervuld of de verwerking via de cancellationHandler wordt geannuleerd [SWS_DM_01128].

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

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/diag/authentication.h"
Scopeclass ara::diag::Authentication
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
clientPOWNThe Proof Of Ownership provided by the Tester to the previously exchanged Server Challenge, Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.
clientEphemeralPublicKeyAs defined in ISO14229-1:2020, this is the Ephemeral public key generated by the client for Diffie-Hellman key agreement, Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.
metaInfoMetaInfo of the request.
cancellationHandlerThis parameter is used to • Query the current cancellation status by calling cancellationHandler.IsCanceled. Returns TRUE in case, the current conversation has been cancelled and FALSE otherwise. • Register a notifier function by calling cancellationHandler.SetNotifier. The registered notifier is called if the current conversation is cancelled.

Rückgabewert

TypBeschreibung
ara::core::Future<ara::core::Vector<ara::core::Byte > >Session Key Info or error

Fehler

FehlercodeBeschreibung
Please use an applicable NRC, as defined in ISO 14229-1, using DiagUdsNrcErrc.

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

Record
AUTOSAR/AP/record/SWS_DM_01128
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01128@rel:R25-11#0826d290
Content hash
0826d290
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01128
Status: valid/unmigrated Version: rel:R25-11#d5b901ef 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_01128@rel:R25-11#d5b901ef
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#6c1fffad2026-09-30
  • R21-11rel:R21-11#c3b0498c2026-10-14
  • R22-11rel:R22-11#aabbb0bc2026-10-14
  • R23-11rel:R23-11#57ff671b2026-10-14
  • R24-11rel:R24-11#4d4d184a2026-10-14
  • R25-11rel:R25-11#d5b901ef2026-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_01607] Upstream: RS_AP_00147

Authentication & operator= (Authentication &)=delete;

Authentication shall be a single not assignable instance.

Header-Datei#include "ara/diag/authentication.h"
Scopeclass ara::diag::Authentication

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

Record
AUTOSAR/AP/record/SWS_DM_01607
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01607@rel:R25-11#1d47968c
Content hash
1d47968c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01607
Status: valid/unmigrated Version: rel:R25-11#e43ad077 Versionshistorie & Revisions (1 transition, 4 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_01607@rel:R25-11#e43ad077
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#bbae82102026-09-30
  • R23-11rel:R23-11#a480b8c62026-10-14
  • R24-11rel:R24-11#e43ad0772026-10-14
  • R25-11rel:R25-11#e43ad0772026-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_01608] Upstream: RS_AP_00147

Authentication & operator= (Authentication &&)=delete;

Move assignment operator of Authentication.

Header-Datei#include "ara/diag/authentication.h"
Scopeclass ara::diag::Authentication

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

Record
AUTOSAR/AP/record/SWS_DM_01608
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01608@rel:R25-11#60c658cf
Content hash
60c658cf
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01608
Status: valid/unmigrated Version: rel:R25-11#7761b325 Versionshistorie & Revisions (1 transition, 4 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_01608@rel:R25-11#7761b325
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#58f113cc2026-09-30
  • R23-11rel:R23-11#5ce3d7fa2026-10-14
  • R24-11rel:R24-11#7761b3252026-10-14
  • R25-11rel:R25-11#7761b3252026-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 ~Authentication [SWS_DM_01125] Upstream: RS_Diag_04251

virtual ~Authentication () noexcept;

Destructor of Authentication.

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

De virtuele destructor ~Authentication() sluit de levenscyclus van een instantie van de klasse ara::diag::Authentication af en geeft de resources ervan vrij [SWS_DM_01125]. De methode is gedeclareerd in het headerbestand #include "ara/diag/authentication.h" van de module Diagnostics AUTOSAR_AP_SWS_Diagnostics §8.3.1.1.1.3 “Destructor”.

De functie accepteert geen parameters, levert geen retourwaarde op en wordt bij het afbreken van het object synchroon aangeroepen [SWS_DM_01125]. Door de kwalificatie als virtual wordt gewaarborgd dat bij polymorfe verwijdering via pointers of referenties naar basisklassen ook de resources van afgeleide klassen correct worden opgeruimd.

Wat betreft foutafhandeling is de methode gespecificeerd als exception safe en draagt de specificator noexcept [SWS_DM_01125]. Fout- of statuscodes worden niet teruggegeven, en er treden gegarandeerd geen C++-excepties naar buiten toe op.

Met betrekking tot gelijktijdigheid is ~Authentication() geclassificeerd als not thread-safe [SWS_DM_01125]. De vernietiging mag daarom in geen geval gelijktijdig met andere methode-aanroepen op dezelfde instantie plaatsvinden. Interpretatie: De toepassende applicatie dient vermoedelijk verplicht te zijn om voorafgaand aan de vernietiging alle lopende authenticatie- of diagnoseprocessen te voltooien en de aanroep extern tegen parallelle toegangen te beveiligen. Vraag Q-41b1c115c1056759 (open) De destructor implementeert de bovenliggende eis RS_Diag_04251 AUTOSAR_AP_SWS_Diagnostics §8.3.1.1.1.3 “Destructor”.

Deze tekst is gegenereerd door een AI-systeem en redactioneel gecontroleerd.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/diag/authentication.h"
Scopeclass ara::diag::Authentication
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_01125
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01125@rel:R25-11#4292c03b
Content hash
4292c03b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01125
Status: valid/unmigrated Version: rel:R25-11#4da26eb6 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_01125@rel:R25-11#4da26eb6
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#f87a1af62026-09-30
  • R21-11rel:R21-11#340e99022026-10-14
  • R22-11rel:R22-11#f53657532026-10-14
  • R23-11rel:R23-11#b44955282026-10-14
  • R24-11rel:R24-11#fbd031862026-10-14
  • R25-11rel:R25-11#4da26eb62026-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