DEENESPTFRRUARHIKOZHNL

clase 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

Guía del usuarioGENERADO POR IA

Ofrece a la aplicación interfaces para la autenticación del servicio UDS 0x29 frente a testers de diagnóstico externos.
GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: a55f7043e3c0 Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

Ofrece a la aplicación interfaces para la autenticación del servicio UDS 0x29 frente a testers de diagnóstico externos.

La clase ara::diag::Authentication sirve como interfaz del lado de la aplicación para llevar a cabo la autenticación del servicio UDS 0x29 frente a testers externos (AUTOSAR AP SWS Diagnostics p. 63). Tras la inicialización y activación mediante Offer(), la aplicación asume la comprobación de certificados, así como la prueba de posesión (Proof of Ownership) a través de callbacks asíncronos ([SWS_DM_01126], [SWS_DM_01130]). Las instancias no son copiables ni desplazables y se vinculan a Diagnostic Management mediante un InstanceSpecifier específico del puerto ([SWS_DM_01124], [SWS_DM_01609]).

Contexto

La clase ara::diag::Authentication proporciona la interfaz del lado de la aplicación para procesar el servicio UDS 0x29 (Authentication) dentro de AUTOSAR Adaptive Platform (AUTOSAR AP SWS Diagnostics p. 63). Actúa como base con seguridad de tipos para handlers específicos de la aplicación que controlan y ejecutan la autenticación criptográfica de las conexiones de diagnóstico entrantes.

En la arquitectura del sistema, la clase interactúa con dos participantes esenciales: el tester de diagnóstico externo, que dirige solicitudes de autenticación al vehículo, y el Diagnostic Management (DM) interno del vehículo, que recibe, filtra y reenvía mensajes de diagnóstico a los handlers registrados ([SWS_DM_01130]). La aplicación implementa las funciones de interfaz predefinidas por ara::diag::Authentication para verificar certificados, calcular desafíos (challenges) y generar claves de sesión ([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

Diagrama de contexto: integración del Authentication-Handler entre Diagnostic Management y el tester de diagnóstico externo. Fuentes: [SWS_DM_01124], [SWS_DM_01130], AUTOSAR AP SWS Diagnostics p. 63

Ciclo de vida

Las instancias de ara::diag::Authentication se vinculan a un modelo de puerto específico. El constructor espera un ara::core::InstanceSpecifier que apunta a un PortPrototype de un DiagnosticAuthenticationInterface, así como el parámetro ConcurrencyType ([SWS_DM_01124]). Este último determina si la implementación está diseñada para ser segura para subprocesos (kConcurrent) o no segura para subprocesos (kNotConcurrent) ([SWS_DM_01124]). Dado que los callbacks de verificación pueden invocarse de forma reentrante para diferentes clientes ([SWS_DM_01126], [SWS_DM_01127]), se asume que Diagnostic Management serializa las llamadas a la instancia en kNotConcurrent. Pregunta Q-5d890d01c54e70ca (abierta)

En cuanto a la relación de posesión, ara::diag::Authentication se define estrictamente como una instancia única no copiable y no desplazable: tanto los constructores de copia como los de movimiento, así como los operadores de asignación correspondientes, están explícitamente eliminados ([SWS_DM_01609], [SWS_DM_01610], [SWS_DM_01607], [SWS_DM_01608]). Tras la instanciación, la clase no acepta solicitudes automáticamente. Solo mediante la llamada a Offer() se autoriza a Diagnostic Management a reenviar las solicitudes de autenticación entrantes a la instancia ([SWS_DM_01130]). El reenvío se puede desactivar de nuevo en cualquier momento mediante StopOffer() ([SWS_DM_01131]). La liberación de recursos se produce de forma determinista a través del destructor virtual ~Authentication() ([SWS_DM_01125]).

Ruta de uso

Un caso de uso típico comprende la provisión del servicio, la verificación de certificados y la acreditación de la posesión de la clave (Proof of Ownership):

  1. Ofrecer el servicio: tras la instanciación, la aplicación se registra en Diagnostic Management mediante Offer() ([SWS_DM_01130]).
  2. Verificación de certificados: si llega una solicitud de autenticación del tester, el DM la reenvía al método responsable:
    • En caso de autenticación unidireccional, el DM invoca VerifyCertificateUnidirectional(...) ([SWS_DM_01126]). La aplicación verifica el certificado de cliente transferido y devuelve de forma asíncrona a través de ara::core::Future una tupla compuesta por un desafío (challenge) del servidor y la clave pública efímera del servidor.
    • En caso de autenticación bidireccional, el DM invoca VerifyCertificateBidirectional(...) ([SWS_DM_01127]). En este caso, la aplicación genera adicionalmente el certificado del servidor, así como su propia prueba de posesión (Proof of Ownership) para el tester.
  3. Prueba de posesión (Proof of Ownership): si el tester responde al desafío del servidor, el DM invoca el método VerifyOwnership(...) ([SWS_DM_01128]). La aplicación comprueba el clientPOWN transferido junto con la clave efímera del cliente frente al desafío generado previamente. En caso de éxito, el future devuelve la información de la clave de sesión.
  4. Finalizar el servicio: si se debe cerrar la interfaz, la aplicación llama a StopOffer() ([SWS_DM_01131]).
Flujo de la autenticación unidireccionalTester de diagnósticoDiagnostic ManagementAuthentication-HandlerOffer()Result<void>UDS 0x29 (VerifyCertificateUnidirectional)VerifyCertificateUnidirectional(...)Zertifikat verifizieren, Challenge & Key erzeugenFuture-Ergebnis: Challenge, Ephemeral KeyRespuesta positiva con desafío del servidor y claveUDS 0x29 (VerifyOwnership con POWN & Key)VerifyOwnership(clientPOWN, clientEphemeralKey, ...)POWN verifizieren & Session Key berechnenFuture-Ergebnis: Session Key InfoPositive Response

Diagrama de secuencias: flujo de una autenticación unidireccional con posterior verificación de la prueba de posesión. Fuentes: [SWS_DM_01126], [SWS_DM_01128], [SWS_DM_01130]

Escenarios de error

Al utilizar ara::diag::Authentication deben distinguirse los errores estáticos de modelo y los errores dinámicos de tiempo de ejecución:

  • Infracciones de construcción: si la configuración del modelo no coincide con el proceso o si InstanceSpecifier es erróneo, la construcción falla con infracciones definidas (entre otras InstanceSpecifierMappingIntegrityViolation, PortInterfaceMappingViolation, ProcessMappingViolation o InstanceSpecifierAlreadyInUseViolation) ([SWS_DM_01124]).
  • Errores de estado en Offer: una nueva llamada a Offer() cuando el servicio ya se ha ofrecido falla con el código de error DiagOfferErrc::kAlreadyOffered ([SWS_DM_01130]).
  • Errores criptográficos y de protocolo: si falla la comprobación del certificado del cliente o de la prueba de posesión (Proof of Ownership), la aplicación debe resolver el future con un UDS Negative Response Code (NRC) adecuado según ISO 14229-1 a través de DiagUdsNrcErrc ([SWS_DM_01126], [SWS_DM_01127], [SWS_DM_01128]).
  • Interrupción de la conexión: si se interrumpe una conversación de diagnóstico en curso, el DM lo señaliza mediante el objeto CancellationHandler ([SWS_DM_01126]). La aplicación puede consultar el estado mediante cancellationHandler.IsCanceled() o registrar una función de callback a través de SetNotifier. Los spans de datos transferidos solo siguen siendo válidos hasta que se cumpla la promise o se cancele el procesamiento ([SWS_DM_01126], [SWS_DM_01128]).

Esta guía de clase se generó automáticamente y se basa en la especificación AUTOSAR Adaptive Platform Release R25-11.

Mapa de miembros

Diagrama de clases

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

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

Vista de detalle

Selecciona una entrada en el índice.

Constructores y destructor

Authentication función 3

Constructor of Authentication.

Sobrecargas 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;

Métodos

Offer función

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

ara::core::Result< void > Offer () noexcept;
StopOffer función

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;

Operadores

operator= función 2

Authentication shall be a single not assignable instance.

Sobrecargas = 2

Documentación de los métodos

función 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.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 906bc324edb3 Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

El constructor inicializa de forma síncrona un objeto de la clase manejadora ara::diag::Authentication para gestionar peticiones de autenticación de diagnóstico en un puerto de software [SWS_DM_01124]. El parámetro specifier hace referencia al PortPrototype modelado, que a través de un DiagnosticAuthenticationPortMapping debe estar tipificado obligatoriamente por un DiagnosticAuthenticationInterface [SWS_DM_01124]. A través del parámetro concurrencyType se define si el framework entrega las llamadas a métodos de forma concurrente (kConcurrent) o no segura para subprocesos (kNotConcurrent) [SWS_DM_01124].

Dado que la función está declarada como noexcept, las llamadas erróneas no se notifican mediante excepciones, sino que desencadenan violaciones del framework (Violations) [SWS_DM_01124]:

  • InstanceSpecifierMappingIntegrityViolation: el identificador no se puede resolver en el contexto del ejecutable o no hace referencia a ningún PortPrototype [SWS_DM_01124].
  • PortInterfaceMappingViolation: el PortPrototype referenciado no está modelado como DiagnosticAuthenticationInterface [SWS_DM_01124].
  • ProcessMappingViolation: en tiempo de ejecución no se encuentra ningún proceso modelado adecuado [SWS_DM_01124].
  • InstanceSpecifierAlreadyInUseViolation: el InstanceSpecifier ya se ha utilizado para una instancia en el proceso actual [SWS_DM_01124].

El constructor en sí es seguro para subprocesos y seguro frente a excepciones (exception safe) [SWS_DM_01124], mientras que el destructor correspondiente ~Authentication() está especificado como no seguro para subprocesos [SWS_DM_01125]. Inmediatamente después de la instanciación aún no se reenvía ninguna petición de diagnóstico: la aplicación debe llamar primero a Offer() para activar el reenvío para el servicio UDS 0x29 (Authentication con PKI Certificate Exchange, APCE AUTOSAR_AP_SWS_Diagnostics Tab. 4.1 «Limitations of sub-functions of 0x19 ReadDTCInformation») por parte del Diagnostic Manager [SWS_DM_01130]. La validación de certificados se gestiona a continuación mediante VerifyCertificateUnidirectional [SWS_DM_01126], VerifyCertificateBidirectional [SWS_DM_01127] y VerifyOwnership [SWS_DM_01128]. Antes de la destrucción del objeto, el reenvío debe finalizarse con StopOffer() [SWS_DM_01131].

Esta nota de uso fue generada por una IA basándose en la especificación AUTOSAR Adaptive R25-11.

Guía del implementador pendiente (complejidad 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#f38c037f
Content hash
f38c037f
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

función 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#04b78255
Content hash
04b78255
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

función 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#6568a773
Content hash
6568a773
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

función 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.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 082dbe15e2bd Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

Con el método síncrono Offer() de la clase ara::diag::Authentication ([SWS_DM_01130]), una Adaptive Application registra su manejador de autenticación en Diagnostic Management (DM). De este modo, el DM queda autorizado y en condiciones de reenviar peticiones entrantes a este manejador (AUTOSAR_AP_SWS_Diagnostics §8.3.1.1.3.1 «Offer»). La función no acepta parámetros de transferencia y señaliza el desenlace de la operación a través del tipo de retorno ara::core::Result<void>.

La llamada está declarada como noexcept y, por tanto, es segura frente a excepciones ([SWS_DM_01130]). Si el registro falla porque el servicio ya se había puesto a disposición previamente para esta instancia, se devuelve el código de error específico DiagOfferErrc::kAlreadyOffered en el objeto Result ([SWS_DM_01130]). Además, la interfaz está especificada como not thread-safe; es de suponer que los accesos paralelos en la misma instancia no deben realizarse sin protección y tienen que sincronizarse en la aplicación. Pregunta Q-51ab72e4e72a7351 (abierta)

En el ciclo de vida del procesamiento de diagnóstico, Offer() se corresponde directamente con la función contraria StopOffer() ([SWS_DM_01131], AUTOSAR_AP_SWS_Diagnostics §8.3.1.1.3.2 «StopOffer»), la cual finaliza de nuevo el reenvío de peticiones. Este patrón sigue el enfoque uniforme de provisión de manejadores de diagnóstico, tal como se aplica también, por ejemplo, en ara::diag::CommunicationControl::Offer ([SWS_DM_00809]) o ara::diag::DoIPPowerMode::Offer ([SWS_DM_00735]), donde las peticiones solo pueden procesarse tras un ofrecimiento explícito por parte de la aplicación ([SWS_DM_01525]).

Esta nota de uso se ha generado automáticamente mediante el asistente de curación con IA a partir del estado de la especificación AUTOSAR R25-11.

Guía del implementador pendiente (complejidad 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#c26f6dfe
Content hash
c26f6dfe
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

función StopOffer [SWS_DM_01131] Upstream: RS_Diag_04251

void StopOffer () noexcept;

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

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 4aa6d764eb2f Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

usar

El método StopOffer de la clase ara::diag::Authentication (definido en ara/diag/authentication.h) desactiva el reenvío de mensajes de solicitud por parte del Diagnostic Manager (DM) a la instancia [SWS_DM_01131]. La llamada se ejecuta de forma síncrona, no requiere parámetros de entrada y no tiene valor de retorno AUTOSAR_AP_SWS_Diagnostics §8.3.1.1.3.2 «StopOffer».

Tratamiento de errores y seguridad de ejecución

La función está especificada como segura frente a excepciones (noexcept); no se definen códigos de error específicos ni excepciones [SWS_DM_01131].

Concurrencia y restricciones

La operación está designada expresamente como no segura para hilos («not thread-safe») [SWS_DM_01131]. Las llamadas concurrentes en la misma instancia deben sincronizarse mediante la aplicación llamadora.

Interacción y referencia a la arquitectura

El patrón de diseño de StopOffer se utiliza de manera coherente en el Adaptive Diagnostic Manager en diferentes servicios y manejadores, entre ellos SecurityAccess [SWS_DM_00767], CommunicationControl [SWS_DM_00810], DownloadService [SWS_DM_00793] y EcuResetRequest [SWS_DM_01017]. Aunque la denominación se basa en la puesta a disposición de servicios en ara::com, se trata de una implementación específica de diagnóstico AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 «Monitors». Interpretación: con anterioridad a la desactivación mediante StopOffer, es probable que la instancia haya estado aceptando activamente solicitudes a través de una función de ofrecimiento. Pregunta Q-da990416e53707ed (abierta)

Esta nota de uso fue generada por una IA sobre la base de la especificación AUTOSAR AP R25-11.

Guía del implementador pendiente (complejidad 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#4e9a71d1
Content hash
4e9a71d1
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

función 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.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 96bce3dceaab Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

El método de retrollamada virtual puro VerifyCertificateBidirectional de la interfaz ara::diag::Authentication ([SWS_DM_01127]) es llamado por el Diagnostic Server en cuanto llega una solicitud de diagnóstico para el servicio UDS 0x29 (Authentication) con la subfunción 0x02 (verifyCertificateBidirectional) y se han superado con éxito las comprobaciones iniciales ([SWS_DM_01235], AUTOSAR_AP_SWS_Diagnostics §7.3.2.8.11.3 «Service 0x29 – verifyCertificateBidirectional (0x02)»).

Uso y semántica:\nEl servidor transfiere la configuración de comunicación así como los datos de certificado y desafío recibidos del tester a través de communicationConfiguration, clientCertificate y clientChallenge junto con metaInfo y el cancellationHandler ([SWS_DM_01127], [SWS_DM_01235]). Los búferes de los spans de entrada siguen siendo válidos hasta que el ara::core::Future devuelto se cumpla a través del promise correspondiente o se cancele el proceso ([SWS_DM_01127]). De forma asíncrona, el método devuelve al Diagnostic Server una 4-tupla compuesta por desafío del servidor, certificado del servidor, prueba de propiedad (proof-of-ownership) calculada y la clave pública efímera del servidor ([SWS_DM_01127]).

Cancelación y concurrencia:\nA través del cancellationHandler, la aplicación puede sondear el estado actual mediante IsCanceled o registrar mediante SetNotifier una función de notificación para la cancelación de conexión ([SWS_DM_01127]). La interfaz está definida como noexcept y puede llamarse de forma reentrante respecto a solicitudes de diferentes clientes ([SWS_DM_01127]). Si la implementación debe ser segura frente a hilos, se determina a través del ConcurrencyType transferido en el constructor ([SWS_DM_01127]).

Tratamiento de errores e interacción:\nEn caso de error, la aplicación devuelve un NRC adecuado conforme a ISO 14229-1 a través de DiagUdsNrcErrc; los valores de retorno negativos son procesados por separado por el Diagnostic Server ([SWS_DM_01127], [SWS_DM_01236]). Dentro de la autenticación UDS ([SWS_DM_01226]), la configuración de esta subfunción constituye un requisito previo necesario si DiagnosticProofOfOwnership está configurada ([SWS_DM_01227], [SWS_DM_01228]).

Nota: Estas indicaciones se generaron automáticamente sobre la base de la especificación AUTOSAR AP R25-11.

Guía del implementador pendiente (complejidad 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#807491ab
Content hash
807491ab
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

función 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

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 880414da5993 Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

El método de retrollamada VerifyCertificateUnidirectional de la clase ara::diag::Authentication es llamado por la instancia de servidor de diagnóstico en cuanto se recibe y se precomprueba con éxito una solicitud para el servicio UDS 0x29 con la subfunción verifyCertificateUnidirectional (0x01) (SWS Diagnostics §7.3.2.8.11.2 «Service 0x29 – verifyCertificateUnidirectional (0x01)», [SWS_DM_01230]). Implementa la autenticación unidireccional a través de intercambio de certificados PKI conforme a ISO 14229-1 ([SWS_DM_01226]).

Como parámetros se transfieren la configuración de comunicación (communicationConfiguration), el certificado de cliente (clientCertificate) y el desafío de cliente (clientChallenge), así como metainformación y un CancellationHandler ([SWS_DM_01126]). Los spans transferidos siguen siendo válidos hasta que se cumpla el ara::core::Future devuelto o se cancele el procesamiento a través del manejador. El método devuelve asíncronamente una tupla compuesta por el desafío de servidor generado y la clave pública efímera del servidor ([SWS_DM_01126]).

Si se produce un error durante la validación, se debe finalizar el Future con un código de respuesta negativa (NRC) adecuado a través de DiagUdsNrcErrc ([SWS_DM_01126]).

La función está especificada como exception safe y puede ser llamada de forma reentrante para solicitudes de diferentes clientes de diagnóstico ([SWS_DM_01126]). La seguridad frente a hilos es condicional; si la implementación debe ser thread-safe lo determina el ConcurrencyType establecido en el constructor ([SWS_DM_01126]). En el flujo global, la configuración de esta comprobación es un requisito obligatorio en caso de configurarse la subfunción DiagnosticProofOfOwnership ([SWS_DM_01227]).

Esta nota de uso se ha generado automáticamente a partir de la especificación AUTOSAR AP R25-11.

Guía del implementador pendiente (complejidad 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#4d41e315
Content hash
4d41e315
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

función 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.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 395c9e79b3c8 Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

Uso y contexto de llamada

El método puramente virtual VerifyOwnership de la clase ara::diag::Authentication es invocado por el Diagnostic Server tan pronto como se recibe una solicitud de autenticación del servicio UDS 0x29 con la subfunción proofOfOwnership (0x03) y las comprobaciones preparatorias han concluido con éxito [SWS_DM_01240]. La tarea de la implementación consiste en verificar la prueba de propiedad (Proof of Ownership) transmitida por el tester frente al challenge generado por el servidor, basándose en la clave pública del certificado de cliente intercambiado previamente [SWS_DM_01128].

En el momento de la invocación, el Diagnostic Server transfiere los datos criptográficos de entrada relevantes, así como objetos de contexto AUTOSAR_AP_SWS_Diagnostics §8.3.1.1.3.5 «VerifyOwnership»:

  • clientPOWN: Contiene el Proof of Ownership proporcionado por el tester de diagnóstico para el challenge previo del servidor.
  • clientEphemeralPublicKey: La clave pública efímera del cliente para el acuerdo de claves Diffie-Hellman según ISO 14229-1:2020.
  • metaInfo: Metainformación de la solicitud de diagnóstico actual.
  • cancellationHandler: Permite consultar una eventual cancelación (cancellationHandler.IsCanceled), así como registrar una función de notificación (cancellationHandler.SetNotifier).

La función opera de forma asíncrona y devuelve un ara::core::Future que, en caso de éxito, proporciona la información de Session-Key como vector de bytes [SWS_DM_01128].

Manejo de errores

Si la comprobación de propiedad no puede realizarse con éxito, la aplicación establece un código de retorno negativo de UDS (NRC) adecuado según ISO 14229-1 a través de DiagUdsNrcErrc en el future devuelto [SWS_DM_01128]. Si el método devuelve un código de error definido de este tipo, el Diagnostic Server envía una Negative Response con el NRC correspondiente al cliente [SWS_DM_01241].

Concurrencia y condiciones de contorno

La interfaz está definida como noexcept. En lo relativo a la seguridad de hilos, el comportamiento se considera condicional (conditional): si el método debe implementarse de forma segura para hilos queda determinado por el ConcurrencyType especificado durante la construcción de la instancia [SWS_DM_01128]. Para los búferes clientPOWN y clientEphemeralPublicKey se garantiza que su área de memoria permanezca válida hasta que se cumpla la promise o se cancele el procesamiento mediante el cancellationHandler [SWS_DM_01128].

Esta nota de uso se ha generado automáticamente a partir de la especificación AUTOSAR AP R25-11.

Guía del implementador pendiente (complejidad 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#bdbea9a4
Content hash
bdbea9a4
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

función 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#c39c6feb
Content hash
c39c6feb
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

función 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#0810e7f6
Content hash
0810e7f6
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

función ~Authentication [SWS_DM_01125] Upstream: RS_Diag_04251

virtual ~Authentication () noexcept;

Destructor of Authentication.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: d82e30be663a Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

El destructor virtual ~Authentication() finaliza el ciclo de vida de una instancia de la clase ara::diag::Authentication y libera sus recursos [SWS_DM_01125]. El método está declarado en el archivo de cabecera #include "ara/diag/authentication.h" del módulo Diagnostics AUTOSAR_AP_SWS_Diagnostics §8.3.1.1.1.3 «Destructor».

La función no toma ningún parámetro, no devuelve ningún valor de retorno y se llama de forma síncrona durante la destrucción del objeto [SWS_DM_01125]. Mediante la calificación como virtual se garantiza que, en caso de eliminación polimórfica a través de punteros o referencias a clases base, también se limpien debidamente los recursos de clases derivadas.

Respecto al tratamiento de errores, el método está especificado como exception safe y lleva el especificador noexcept [SWS_DM_01125]. No se devuelven códigos de error o de estado, y se garantiza que no salgan excepciones C++ al exterior.

En cuanto a la concurrencia, ~Authentication() está clasificado como not thread-safe [SWS_DM_01125]. Por lo tanto, la destrucción en ningún caso debe realizarse simultáneamente con otras llamadas a métodos de la misma instancia. Interpretación: La aplicación utilizadora debería estar obligada a concluir todos los procesos de autenticación o de diagnóstico en curso antes de la destrucción y a proteger externamente la llamada frente a accesos paralelos. Pregunta Q-41b1c115c1056759 (abierta) El destructor implementa el requisito superior RS_Diag_04251 AUTOSAR_AP_SWS_Diagnostics §8.3.1.1.1.3 «Destructor».

Este texto fue generado por un sistema de IA y revisado editorialmente.

Guía del implementador pendiente (complejidad 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#49489ed2
Content hash
49489ed2
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