DEENESPTFRRUARHIKOZHNL

clase apext::com::secoc::FVM

[SWS_CM_11287] Upstream: RS_CM_00801, RS_CM_00802, RS_CM_00803, RS_CM_00804

class FVM {...};

A freshness value management interface to be implemented by the OEM/stack vendor. To be used by the freshness value management library implementer either OEM or stack vendor. The class will have a single instance in the CM.

Header-Datei#include "apext/com/secoc/fvm.h"
Forwarding-Header#include "apext/com/com_fwd.h"
Scopenamespace apext::com::secoc

Guía del usuarioGENERADO POR IA

Proporciona a la gestión de comunicación una interfaz para la gestión de valores de frescura específicos del fabricante para SecOC.
GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: e018cf5c19e4 Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

Proporciona a la gestión de comunicación una interfaz para la gestión de valores de frescura específicos del fabricante para SecOC.

La clase sirve como interfaz implementada por el OEM o el fabricante del stack para proporcionar y gestionar valores de frescura para SecOC en la gestión de comunicación [SWS_CM_11287]. Suministra valores de frescura a ara::com al enviar y recibir mensajes protegidos a través de GetTxFreshness() y GetRxFreshness(), y recibe el resultado de verificación a través de SetVerificationStatus() [SWS_CM_11274] [SWS_CM_11276]. Su ciclo de vida se gestiona completamente como un singleton por parte de ara::com [SWS_CM_11272].

Contexto

La clase apext::com::secoc::FVM define la interfaz estandarizada para el Freshness Value Management (FVM) dentro de la gestión de comunicación de AUTOSAR Adaptive [SWS_CM_11287]. Actúa como punto de extensión (interfaz de plugin) implementado por el OEM o el fabricante del stack para suministrar valores de frescura específicos de la aplicación para la protección precisa de mensajes AUTOSAR_AP_SWS_CommunicationManagement §C.1.2 «Class: FVM». Entre los interlocutores figuran la gestión de comunicación (ara::com), el módulo criptográfico de protección SecOC y la biblioteca de FVM específica del fabricante.

FVMKontext CM Communication Management (ara::com) FVM FVM-Schnittstelle (apext::com::secoc::FVM) CM->FVM steuert Lifecycle, fordert Frischewerte an LIB FVM-Implementierung (OEM / Stack Vendor) LIB->FVM implementiert

Diagrama de contexto: integración de la interfaz FVM entre la gestión de comunicación y la biblioteca de valores de frescura específica del fabricante. Fuentes: [SWS_CM_11272], [SWS_CM_11287], AUTOSAR_AP_SWS_CommunicationManagement §C.1.2 «Class: FVM»

Ciclo de vida

Dentro de la gestión de comunicación existe exactamente una única instancia de esta clase AUTOSAR_AP_SWS_CommunicationManagement §C.1.2 «Class: FVM». Todo el ciclo de vida de la implementación de SecOC-FreshnessValueManager se controla completamente mediante ara::com [SWS_CM_11272]. La inicialización de la implementación de FVM se realiza obligatoriamente mediante la llamada al método Initialize() [SWS_CM_11273] [SWS_CM_11290]. Todos los métodos de la interfaz están declarados como seguros frente a excepciones (noexcept) [SWS_CM_11288]. Interpretación: Dado que la instanciación y la gestión del ciclo de vida se realizan internamente a través de ara::com, corresponde a la implementación concreta del plugin FVM la sincronización interna frente a llamadas concurrentes a través de múltiples canales de comunicación. Pregunta Q-02e8eaeef2145dbb (abierta)

Ruta de uso

En funcionamiento regular, la gestión de comunicación distingue entre el envío y la recepción de mensajes protegidos:

  • Operación de envío: Cuando un mensaje está configurado para la transmisión SecOC y posee una freshnessValueId, la gestión de comunicación invoca GetTxFreshness() con el ID del valor de frescura [SWS_CM_11274] [SWS_CM_11289]. En caso de retorno exitoso, el valor de frescura en FVContainer se utiliza para el cálculo del autenticador (MAC), el cual tiene lugar después de los cálculos para la protección E2E [SWS_CM_11274].
  • Operación de recepción: Siempre que la verificación de mensajes entrantes no se omita por configuración [SWS_CM_11372], SecOC invoca GetRxFreshness() antes de la comprobación E2E [SWS_CM_11276] [SWS_CM_11288]. En este proceso se transfieren el SecOCFreshnessValueID, el valor de frescura truncado recibido (SecOCTruncatedFreshnessValue), así como el número de intentos de verificación realizados hasta el momento (SecOCAuthVerifyAttempts) [SWS_CM_11288]. Tras el cotejo del autenticador calculado, la gestión de comunicación notifica el resultado a FVM vía SetVerificationStatus() indicando el VerificationStatus [SWS_CM_19999] [SWS_CM_11378].
Flujo de verificación al recibir un mensaje protegido por SecOCara::com (SecOC)apext::com::secoc::FVMGetRxFreshness(ID, TruncatedFV, Attempts)Result<FVContainer>Calcular y verificar MACSetVerificationStatus(ID, Status)Result<void>

Diagrama de secuencia: flujo de verificación en la recepción de un mensaje protegido con consulta de valor de frescura y retroalimentación de estado. Fuentes: [SWS_CM_11276], [SWS_CM_11288], [SWS_CM_19999], AUTOSAR_AP_SWS_CommunicationManagement §8.1 «SecOC secure channel reception»

Escenarios de error

Los errores se señalizan mediante tipos de retorno del tipo ara::core::Result:

  • Errores de inicialización: Si falla la preparación de la implementación de FVM, Initialize() devuelve el código de error ComSecOcFvmErrc::kFVInitializeFailed [SWS_CM_11290].
  • Valor de frescura no disponible: Si los valores de frescura de envío o recepción no se pueden determinar temporalmente, GetTxFreshness() y GetRxFreshness() devuelven el error ComSecOcFvmErrc::kFVNotAvailable [SWS_CM_11288] [SWS_CM_11289].
  • Reintentos en el envío: Si GetTxFreshness() devuelve el error recuperable kFVNotAvailable o falla el cálculo del autenticador, el sistema incrementa un Authentication Build Counter [SWS_CM_11275]. La protección del mensaje se reintenta de forma específica del fabricante; si el contador alcanza el límite configurado SecOCAuthenticationBuildAttempts, el mensaje se descarta [SWS_CM_11275] AUTOSAR_AP_SWS_CommunicationManagement §8.1 «SecOC secure message build attempts».
  • Mensajes de estado en fallos de verificación: A través de SetVerificationStatus() se notifican modos de error específicos como kSecOcVerificationFailure, kSecOcFreshnessFailure o kSecOcAuthenticationBuildFailure a FVM [SWS_CM_19999] [SWS_CM_11378].

Esta guía de clase se basa en la especificación AUTOSAR Adaptive R25-11 y ha sido creada de forma automatizada.

Mapa de miembros

Diagrama de clases

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

G napext__com__secoc__FVM451 FVM + GetRxFreshness() + GetTxFreshness() + Initialize() + SetVerificationStatus()

Vista de detalle

Selecciona una entrada en el índice.

Métodos

Used by the SecOC to obtain the current freshness value.

ara::core::Result< FVContainer > GetRxFreshness (std::uint16_t Sec OCFreshnessValueID, const FVContainer &SecOCTruncatedFreshnessValue, std::uint16_t SecOCAuthVerifyAttempts) noexcept;

Used by the SecOC to obtain the current freshness value

ara::core::Result< FVContainer > GetTxFreshness (std::uint16_t Sec OCFreshnessValueID) noexcept;
Initialize función

Initializes FVM plugin implementation

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

This method is used by the SecOC to report all verification statuses to the Freshness Value Manager.

ara::core::Result< void > SetVerificationStatus (std::uint16_t sec OCFreshnessValueID, VerificationStatus secOCVerificationStatus) noexcept;

Enumeraciones

VerificationStatus enumeración

Defines the status of a verification

enum class VerificationStatus : std::uint8_t {...};

Documentación de los métodos

función GetRxFreshness [SWS_CM_11288] Upstream: RS_CM_00801, RS_CM_00802, RS_CM_00803, RS_CM_00804

ara::core::Result< FVContainer > GetRxFreshness (std::uint16_t Sec OCFreshnessValueID, const FVContainer &SecOCTruncatedFreshnessValue, std::uint16_t SecOCAuthVerifyAttempts) noexcept;

Used by the SecOC to obtain the current freshness value.

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

La función miembro apext::com::secoc::FVM::GetRxFreshness sirve a la capa SecOC para determinar el valor de frescura completo para mensajes recibidos [SWS_CM_11288]. Como parámetros de entrada, la función espera el identificador SecOCFreshnessValueID, el valor de frescura truncado extraído del mensaje protegido en FVContainer conforme a [SWS_CM_11286], así como el contador SecOCAuthVerifyAttempts [SWS_CM_11288]. Este contador comienza con el valor 0 en el primer intento de verificación y se incrementa en cada intento fallido posterior del mismo mensaje [SWS_CM_11288].

El método está especificado como noexcept y seguro frente a excepciones (AUTOSAR_AP_SWS_CommunicationManagement §C.1.2.2.1.1 «GetRxFreshness»). Debido a la devolución directa de un ara::core::Result<FVContainer> sin tipo Future, la llamada debería procesarse de forma síncrona bloqueante. Pregunta Q-2609cb9ffeb0d41d (abierta) En caso de éxito, el resultado contiene el valor de frescura completo para la posterior verificación del autenticador mediante MAC [SWS_CM_11288]. Si el valor no se puede proporcionar, la función devuelve el código de error recuperable ComSecOcFvmErrc::kFVNotAvailable [SWS_CM_11288].

La determinación del valor de frescura es parte integrante de la ruta de recepción de SecOC: la autenticación de mensajes se realiza por principio antes de las comprobaciones E2E posteriores [SWS_CM_11276] y está acoplada al contador de intentos de autenticación [SWS_CM_11277]. En el estándar no se definen requisitos específicos de reentrancia o seguridad de subprocesos; por lo tanto, el comportamiento en llamadas paralelas debería depender de la implementación concreta del Freshness Value Manager. Pregunta Q-071e92f80c6e44db (abierta)

Nota de uso generada automáticamente sobre la base de la especificación AUTOSAR R25-11.

Guía del implementador pendiente (complejidad I2)

Header-Datei#include "apext/com/secoc/fvm.h"
Scopeclass apext::com::secoc::FVM
Exception-Sicherheitexception safe

Template-Parameter

ParameterBeschreibung
FVContainerAs per [SWS_CM_11286]

Parameter (in)

ParameterBeschreibung
SecOCFreshnessValueIDSecOCTruncatedFreshnessValueSecOCAuthVerifyAttemptsthe identifier of the freshness value. the apext::com::secoc::FVContainer with the values from the received Secured I-PDU/ message the number of authentication verify attempts of this I-PDU/message since the last reception. The value is 0 for the first attempt and incremented on every unsuccessful verification attempt.

Rückgabewert

TypBeschreibung
ara::core::Result<FVContainer >• If successful: an ara::core::Result containing a ara:: core::Result::value_type containing a apext::com:: secoc::FVContainer that holds the freshness value to be used for the calculation of the authenticator by the SecOC or recoverable error. • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc

Fehler

FehlercodeBeschreibung
ComSecOcFvmErrc::kFVNotAvailablerollback_semantics Freshness Value not available

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

Record
AUTOSAR/AP/record/SWS_CM_11288
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11288@rel:R25-11#61a0c4b9
Content hash
61a0c4b9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11288
Status: valid/unmigrated Version: rel:R25-11#6d652806 Versionshistorie & Revisions (1 transition, 7 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_CM_11288@rel:R25-11#6d652806
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#ce9299c32026-09-30
  • R20-11rel:R20-11#2d3cd3ce2026-10-14
  • R21-11rel:R21-11#2d3cd3ce2026-10-14
  • R22-11rel:R22-11#93c431962026-10-14
  • R23-11rel:R23-11#c565fe5b2026-10-14
  • R24-11rel:R24-11#13a0e3ec2026-10-14
  • R25-11rel:R25-11#6d6528062026-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 GetTxFreshness [SWS_CM_11289] Upstream: RS_CM_00801, RS_CM_00802, RS_CM_00803, RS_CM_00804

ara::core::Result< FVContainer > GetTxFreshness (std::uint16_t Sec OCFreshnessValueID) noexcept;

Used by the SecOC to obtain the current freshness value

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

La función síncrona de biblioteca apext::com::secoc::FVM::GetTxFreshness ([SWS_CM_11289]) sirve al procesamiento de SecOC para obtener el valor de frescura actual al enviar mensajes protegidos a través de Communication Management ([SWS_CM_11274], AUTOSAR_AP_SWS_CommunicationManagement p. 224 «SecOC secure channel sending»).

Uso y contexto de llamada

La llamada es realizada por ara::com, siempre que para el respectivo elemento de interfaz de servicio se haya configurado un freshnessValueId ([SWS_CM_11274]):

  • Parámetro: SecOCFreshnessValueID (tipo std::uint16_t) identifica el valor de frescura que se va a solicitar ([SWS_CM_11289]).
  • Valor de retorno: un ara::core::Result<FVContainer> ([SWS_CM_11289]). En caso de éxito, este contiene un apext::com::secoc::FVContainer ([SWS_CM_11286]), cuyo valor de frescura se utiliza para el posterior cálculo del autenticador o MAC ([SWS_CM_11274]).
  • Seguridad frente a excepciones: la función está declarada como noexcept ([SWS_CM_11289]).

Tratamiento de errores y condiciones límite

Si no se puede proporcionar un valor de frescura válido, la función devuelve un ara::core::Result con el código de error ComSecOcFvmErrc::kFVNotAvailable («Freshness Value not available») con semántica de reversión (rollback) ([SWS_CM_11289]). En el estándar Adaptive no se definen notificaciones específicas a DET o DEM para esta interfaz.

Flujo y concurrencia

Dentro del proceso de envío, la llamada está sujeta a un orden estricto ([SWS_CM_11274]):

  1. Previamente, el ciclo de vida del Freshness Value Manager debe haber sido gestionado por ara::com ([SWS_CM_11272]) y la instancia debe haber sido inicializada a través de apext::com::secoc::FVM::Initialize ([SWS_CM_11273]).
  2. Al enviar, GetTxFreshness se realiza de forma posterior a los cálculos de protección E2E ([SWS_CM_11274]).
  3. A continuación, se llevan a cabo el cálculo del MAC, truncamientos opcionales y la composición del mensaje protegido ([SWS_CM_11274]).

La especificación no dice nada acerca de la reentrancia; presumiblemente, no obstante, la implementación de FVM debe estar diseñada para ser segura para subprocesos o reentrante si flujos de comunicación paralelos solicitan valores de frescura al mismo tiempo. Pregunta Q-a1d3e04b91b6c24d (abierta)

Este texto ha sido generado por una IA a partir de la especificación AUTOSAR Adaptive R25-11.

Guía del implementador pendiente (complejidad I2)

Header-Datei#include "apext/com/secoc/fvm.h"
Scopeclass apext::com::secoc::FVM
Exception-Sicherheitexception safe

Template-Parameter

ParameterBeschreibung
FVContainerAs per [SWS_CM_11286]

Parameter (in)

ParameterBeschreibung
SecOCFreshnessValueIDthe identifier of the freshness value.

Rückgabewert

TypBeschreibung
ara::core::Result<FVContainer >• If successful: an ara::core::Result containing a ara:: core::Result::value_type containing a apext::com:: secoc::FVContainer that holds the freshness value to be used for the calculation of the authenticator by the SecOC or recoverable error. • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc

Fehler

FehlercodeBeschreibung
ComSecOcFvmErrc::kFVNotAvailablerollback_semantics Freshness Value not available

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

Record
AUTOSAR/AP/record/SWS_CM_11289
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11289@rel:R25-11#65b18d2e
Content hash
65b18d2e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11289
Status: valid/unmigrated Version: rel:R25-11#65861fc2 Versionshistorie & Revisions (1 transition, 7 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_CM_11289@rel:R25-11#65861fc2
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#5a33d7982026-09-30
  • R20-11rel:R20-11#edcd09152026-10-14
  • R21-11rel:R21-11#cd25fec42026-10-14
  • R22-11rel:R22-11#c50822302026-10-14
  • R23-11rel:R23-11#61be10642026-10-14
  • R24-11rel:R24-11#b538d6052026-10-14
  • R25-11rel:R25-11#65861fc22026-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 Initialize [SWS_CM_11290] Upstream: RS_CM_00801, RS_CM_00802, RS_CM_00803, RS_CM_00804

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

Initializes FVM plugin implementation

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

Uso y contexto de llamada

La función síncrona de biblioteca Initialize dentro del ámbito apext::com::secoc::FVM sirve para inicializar la implementación de plugin específica del fabricante del Freshness Value Manager (FVM) para la comunicación relevante para la seguridad a través de SecOC [SWS_CM_11290]. La declaración está disponible a través de la cabecera apext/com/secoc/fvm.h SWS CommunicationManagement §C.1.2.2.1.3 «Initialize».

La función no acepta parámetros y declara la seguridad frente a excepciones noexcept (exception safe) [SWS_CM_11290]. La gestión del ciclo de vida del FVM es asumida de forma vinculante por el middleware de comunicación ara::com [SWS_CM_11272], el cual realiza la inicialización del plugin de FVM mediante la llamada explícita a esta interfaz [SWS_CM_11273]. Interpretación: para los desarrolladores de aplicaciones no existe un contexto de llamada directa, ya que la provisión se realiza como plugin para la plataforma y el control recae por completo en ara::com. Pregunta Q-5b5c8b1a42c3bd3a (abierta)

Manejo de errores

El resultado de la operación se comunica a través del tipo de retorno ara::core::Result<void> [SWS_CM_11290]:

  • Éxito: en caso de inicialización correcta, el ara::core::Result contiene un valor vacío (value_type es void) [SWS_CM_11290].
  • Inicialización fallida: si el Freshness Value Manager no se pudo inicializar, se devuelve un objeto de error con el código de error específico ComSecOcFvmErrc::kFVInitializeFailed; en tal caso, se aplican semánticas de reversión para mantener un estado definido [SWS_CM_11290].

Interacción y orden de ejecución

La inicialización mediante Initialize constituye el requisito funcional previo para todos los demás servicios de FVM en el sistema [SWS_CM_11273]. Solo tras una ejecución correcta, ara::com puede acceder a la interfaz apext::com::secoc::FVM::GetTxFreshness en el marco de las operaciones de envío de SecOC tras el cálculo E2E, con el fin de consultar valores de actualidad para atributos freshnessValueId configurados [SWS_CM_11274].

Esta nota de uso ha sido curada por una IA sobre la base de la especificación AUTOSAR Adaptive Platform R25-11.

Guía del implementador pendiente (complejidad I2)

Header-Datei#include "apext/com/secoc/fvm.h"
Scopeclass apext::com::secoc::FVM
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
ara::core::Result< void >• If successful: an ara::core::Result containing a ara:: core::Result::value_type containing a void • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc

Fehler

FehlercodeBeschreibung
ComSecOcFvmErrc::kFVInitializeFailedrollback_semantics Initialization of Freshness Value Manager failed

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

Record
AUTOSAR/AP/record/SWS_CM_11290
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11290@rel:R25-11#72e4d33e
Content hash
72e4d33e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11290
Status: valid/unmigrated Version: rel:R25-11#11a4e44b Versionshistorie & Revisions (1 transition, 7 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_CM_11290@rel:R25-11#11a4e44b
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#322a9af72026-09-30
  • R20-11rel:R20-11#3d48fa7f2026-10-14
  • R21-11rel:R21-11#3d48fa7f2026-10-14
  • R22-11rel:R22-11#b6c4832f2026-10-14
  • R23-11rel:R23-11#d9a72c7b2026-10-14
  • R24-11rel:R24-11#dd5117f72026-10-14
  • R25-11rel:R25-11#11a4e44b2026-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 SetVerificationStatus [SWS_CM_19999] Upstream: RS_CM_00801, RS_CM_00802, RS_CM_00803, RS_CM_00804

ara::core::Result< void > SetVerificationStatus (std::uint16_t sec OCFreshnessValueID, VerificationStatus secOCVerificationStatus) noexcept;

This method is used by the SecOC to report all verification statuses to the Freshness Value Manager.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: a49def68f0a3 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 síncrono apext::com::secoc::FVM::SetVerificationStatus es invocado por SecOC para notificar al Freshness Value Manager (FVM) el resultado de una verificación [SWS_CM_19999]. Está declarado a través del encabezado apext/com/secoc/fvm.h y requiere dos parámetros AUTOSAR_AP_SWS_CommunicationManagement §C.1.2.2.1.4 «SetVerificationStatus»:

  • secOCFreshnessValueID (std::uint16_t): Identificador unívoco del valor de frescura.
  • secOCVerificationStatus (VerificationStatus): Resultado de verificación para el identificador especificado.

Tratamiento de errores y concurrencia

La función está declarada como noexcept y se considera segura frente a excepciones (exception safe) [SWS_CM_19999]. El tipo de retorno ara::core::Result<void> señala una ejecución satisfactoria mediante un resultado vacío. En caso de error, el objeto Result contiene un código de error de tipo ara::com::ComErrc, si bien la especificación no define códigos de error estandarizados específicos [SWS_CM_19999].

Interacción y estado

La función vincula SecOC y el FVM en la gestión de valores de frescura. Posee el estado DRAFT AUTOSAR_AP_SWS_CommunicationManagement §C.1.2.2.1.4 «SetVerificationStatus». Interpretación: Es probable que la información de estado transmitida sea utilizada internamente por el FVM para actualizar estados de sincronización o valores de contador de los valores de frescura. Pregunta Q-156ad8f991c99b7d (abierta)

Esta nota de uso se creó de forma automatizada y se basa exclusivamente en la especificación del release R25-11.

Guía del implementador pendiente (complejidad I2)

Header-Datei#include "apext/com/secoc/fvm.h"
Scopeclass apext::com::secoc::FVM
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
secOCFreshnessValueIDthe identifier of the freshness value.
secOCVerificationStatusverification status result for the given FreshnessValueID

Rückgabewert

TypBeschreibung
ara::core::Result< void >• If successful: an ara::core::Result containing a ara:: core::Result::value_type containing a void • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

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

Record
AUTOSAR/AP/record/SWS_CM_19999
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_19999@rel:R25-11#ec92ad10
Content hash
ec92ad10
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_19999
Status: valid/unmigrated Version: rel:R25-11#4590caf9 Versionshistorie & Revisions (1 transition, 3 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_CM_19999@rel:R25-11#4590caf9
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#be8322432026-09-30
  • R24-11rel:R24-11#feb309092026-10-14
  • R25-11rel:R25-11#4590caf92026-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

Documentación de las enumeraciones

enumeración VerificationStatus [SWS_CM_11378] Upstream: RS_CM_00801, RS_CM_00802, RS_CM_00803, RS_CM_00804

enum class VerificationStatus :               std::uint8_t {...};

Defines the status of a verification

Header-Datei#include "apext/com/secoc/fvm.h"
Forwarding-Header#include "apext/com/com_fwd.h"
Scopeclass apext::com::secoc::FVM
SymbolVerificationStatus
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
SuccessVerification successful
kSecOcVerificationFailure= 0x01 Verification not successful
kSecOcFreshnessFailure= 0x02 Verification not successful because of wrong freshness value
kSecOcAuthenticationBuildFailure= 0x03 Verification not successful because of wrong build authentication codes
kSecOcNoVerification= 0x04 Verification has been skipped and the data has been provided to the application as is
kSecOcVerificationFailureOverwritten= 0x05 Verification failed, but the PDU was passed on to the application due to the override status for this PDU

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

Record
AUTOSAR/AP/record/SWS_CM_11378
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11378@rel:R25-11#7e3e65c6
Content hash
7e3e65c6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11378
Status: valid/unmigrated Version: rel:R25-11#7e9db4a6 Versionshistorie & Revisions (1 transition, 3 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_CM_11378@rel:R25-11#7e9db4a6
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b0fa1d442026-09-30
  • R24-11rel:R24-11#23fd47892026-10-14
  • R25-11rel:R25-11#7e9db4a62026-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