DEENESPTFRRUARHIKOZHNL

klasse 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

User GuideAI-GEGENEREERD

Stelt voor het communicatiemanagement een interface voor fabrikantspecifiek freshness-waardebeheer voor SecOC beschikbaar.
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: e018cf5c19e4 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Stelt voor het communicatiemanagement een interface voor fabrikantspecifiek freshness-waardebeheer voor SecOC beschikbaar.

De klasse dient als door OEM of stack-fabrikant geïmplementeerde interface voor het beschikbaar stellen en beheren van freshness-waarden voor SecOC in het communicatiemanagement [SWS_CM_11287]. Zij voorziet ara::com bij het verzenden en ontvangen van beveiligde berichten via GetTxFreshness() en GetRxFreshness() van freshness-waarden en neemt via SetVerificationStatus() het verificatieresultaat in ontvangst [SWS_CM_11274] [SWS_CM_11276]. Haar levenscyclus wordt daarbij volledig als singleton door ara::com beheerd [SWS_CM_11272].

Context

De klasse apext::com::secoc::FVM definieert de gestandaardiseerde interface voor het Freshness Value Management (FVM) binnen het communicatiemanagement van AUTOSAR Adaptive [SWS_CM_11287]. Zij fungeert als uitbreidingspunt (plug-in-interface) dat door de OEM of de stack-fabrikant wordt geïmplementeerd om applicatiespecifieke freshness-waarden voor de berichtspecifieke beveiliging beschikbaar te stellen AUTOSAR_AP_SWS_CommunicationManagement §C.1.2 “Class: FVM”. Tot de interactiepartners behoren het communicatiemanagement (ara::com), de cryptografische beveiligingsmodule SecOC evenals de specifieke FVM-bibliotheek van de fabrikant.

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

Contextdiagram: Inbedding van de FVM-interface tussen communicatiemanagement en fabrikantspecifieke freshness-waardebibliotheek. Bronnen: [SWS_CM_11272], [SWS_CM_11287], AUTOSAR_AP_SWS_CommunicationManagement §C.1.2 “Class: FVM”

Levenscyclus

Binnen het communicatiemanagement bestaat precies één enkele instantie van deze klasse AUTOSAR_AP_SWS_CommunicationManagement §C.1.2 “Class: FVM”. De gehele levenscyclus van de SecOC-FreshnessValueManager-implementatie wordt volledig door ara::com gestuurd [SWS_CM_11272]. De initialisatie van de FVM-implementatie vindt verplicht plaats via de aanroep van de methode Initialize() [SWS_CM_11273] [SWS_CM_11290]. Alle methoden van de interface zijn als exceptieveilig (noexcept) gedeclareerd [SWS_CM_11288]. Interpretatie: Aangezien de instantiëring en het levenscyclusbeheer intern door ara::com plaatsvinden, is de interne synchronisatie tegen gelijktijdige aanroepen door meerdere communicatiekanalen de taak van de concrete FVM-plugin-implementatie. Vraag Q-02e8eaeef2145dbb (open)

Gebruikspad

Tijdens bedrijf maakt het communicatiemanagement onderscheid tussen het verzenden en het ontvangen van beveiligde berichten:

  • Verzendoperatie: Wanneer een bericht voor de SecOC-overdracht is geconfigureerd en een freshnessValueId heeft, roept het communicatiemanagement GetTxFreshness() aan met het freshness-waarde-ID [SWS_CM_11274] [SWS_CM_11289]. Bij een succesvolle teruggave wordt de freshness-waarde in het FVContainer gebruikt voor de berekening van de authenticator (MAC), die na de berekeningen voor de E2E-beveiliging plaatsvindt [SWS_CM_11274].
  • Ontvangstoperatie: Voor zover de verificatie van binnenkomende berichten niet door de configuratie wordt omzeild [SWS_CM_11372], roept SecOC vóór de E2E-controle GetRxFreshness() aan [SWS_CM_11276] [SWS_CM_11288]. Daarbij worden de SecOCFreshnessValueID, de ontvangen ingekorte freshness-waarde (SecOCTruncatedFreshnessValue) evenals het aantal eerdere verificatiepogingen (SecOCAuthVerifyAttempts) doorgegeven [SWS_CM_11288]. Na vergelijking van de berekende authenticator meldt het communicatiemanagement het resultaat via SetVerificationStatus() onder vermelding van de VerificationStatus terug aan de FVM [SWS_CM_19999] [SWS_CM_11378].
Verificatieverloop bij ontvangst van een met SecOC beveiligd berichtara::com (SecOC)apext::com::secoc::FVMGetRxFreshness(ID, TruncatedFV, Attempts)Result<FVContainer>MAC berekenen en verifiërenSetVerificationStatus(ID, Status)Result<void>

Sequentiediagram: Verificatieverloop bij ontvangst van een beveiligd bericht met freshness-waarde-opvraag en statusterugmelding. Bronnen: [SWS_CM_11276], [SWS_CM_11288], [SWS_CM_19999], AUTOSAR_AP_SWS_CommunicationManagement §8.1 “SecOC secure channel reception”

Foutscenario's

Fouten worden gesignaleerd via return-types van het type ara::core::Result:

  • Initialisatiefout: Mislukt de voorbereiding van de FVM-implementatie, dan levert Initialize() de foutcode ComSecOcFvmErrc::kFVInitializeFailed [SWS_CM_11290].
  • Niet-beschikbare freshness-waarde: Kunnen verzend- of ontvangst-freshness-waarden tijdelijk niet worden bepaald, dan geven GetTxFreshness() en GetRxFreshness() de fout ComSecOcFvmErrc::kFVNotAvailable terug [SWS_CM_11288] [SWS_CM_11289].
  • Herhaalpogingen bij verzending: Levert GetTxFreshness() de herstelbare fout kFVNotAvailable op of mislukt de authenticatorberekening, dan verhoogt het systeem een Authentication Build Counter [SWS_CM_11275]. Het beveiligen van het bericht wordt fabrikantspecifiek herhaald; bereikt de teller de geconfigureerde limiet SecOCAuthenticationBuildAttempts, dan wordt het bericht verworpen [SWS_CM_11275] AUTOSAR_AP_SWS_CommunicationManagement §8.1 “SecOC secure message build attempts”.
  • Statusmeldingen bij verificatiefouten: Via SetVerificationStatus() worden specifieke foutmodi zoals kSecOcVerificationFailure, kSecOcFreshnessFailure of kSecOcAuthenticationBuildFailure aan de FVM gemeld [SWS_CM_19999] [SWS_CM_11378].

Deze klassegids is gebaseerd op de specificatie AUTOSAR Adaptive R25-11 en is geautomatiseerd gegenereerd.

Ledenkaart

Klassendiagram

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

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

Detailweergave

Kies een item in de inhoudsopgave.

Methoden

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 functie

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;

Enumeraties

Defines the status of a verification

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

Documentatie van de methoden

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

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

De elementfunctie apext::com::secoc::FVM::GetRxFreshness dient voor de SecOC-laag om de volledige versheidswaarde voor ontvangen berichten te bepalen [SWS_CM_11288]. Als invoerparameters verwacht de functie de identificatie SecOCFreshnessValueID, de uit het beveiligde bericht geëxtraheerde verkorte versheidswaarde in FVContainer conform [SWS_CM_11286] alsook de teller SecOCAuthVerifyAttempts [SWS_CM_11288]. Deze teller begint bij de eerste verificatiepoging met de waarde 0 en wordt bij elke opeenvolgende mislukte poging voor hetzelfde bericht geïncrementeerd [SWS_CM_11288].

De methode is gespecificeerd als noexcept en uitzonderingsveilig (AUTOSAR_AP_SWS_CommunicationManagement §C.1.2.2.1.1 “GetRxFreshness”). Door de directe teruggave van een ara::core::Result<FVContainer> zonder Future-type wordt de aanroep vermoedelijk synchroon blokkerend afgehandeld. Vraag Q-2609cb9ffeb0d41d (open) In geval van succes bevat het resultaat de volledige versheidswaarde voor de aansluitende MAC-verificatie van de authenticator [SWS_CM_11288]. Kan de waarde niet worden verstrekt, dan retourneert de functie de herstelbare foutcode ComSecOcFvmErrc::kFVNotAvailable [SWS_CM_11288].

De bepaling van de versheidswaarde is een integraal onderdeel van het SecOC-ontvangstpad: de berichtauthenticatie vindt in beginsel plaats vóór nageschakelde E2E-controles [SWS_CM_11276] en is gekoppeld aan de teller voor authenticatiepogingen [SWS_CM_11277]. Specifieke eisen aan reentrantie of thread-veiligheid worden in de standaard niet gedefinieerd; het gedrag bij parallelle aanroepen hangt daarom vermoedelijk af van de concrete implementatie van de Freshness Value Manager. Vraag Q-071e92f80c6e44db (open)

Automatisch gegenereerde gebruiksinstructie op basis van de specificatie AUTOSAR R25-11.

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

functie 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

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

De synchrone bibliotheekfunctie apext::com::secoc::FVM::GetTxFreshness ([SWS_CM_11289]) dient voor de SecOC-verwerking ter verkrijging van de actuele versheidswaarde bij het verzenden van beveiligde berichten via Communication Management ([SWS_CM_11274], AUTOSAR_AP_SWS_CommunicationManagement p. 224 “SecOC secure channel sending”).

Gebruik en aanroepcontext

De aanroep geschiedt door ara::com, mits voor het betreffende service-interface-element in de configuratie een freshnessValueId is vastgelegd ([SWS_CM_11274]):

  • Parameters: SecOCFreshnessValueID (type std::uint16_t) identificeert de op te vragen versheidswaarde ([SWS_CM_11289]).
  • Retourwaarde: Een ara::core::Result<FVContainer> ([SWS_CM_11289]). In geval van succes bevat dit een apext::com::secoc::FVContainer ([SWS_CM_11286]), waarvan de versheidswaarde wordt gebruikt voor de aansluitende authenticator- resp. MAC-berekening ([SWS_CM_11274]).
  • Exception-veiligheid: De functie is gedeclareerd als noexcept ([SWS_CM_11289]).

Foutafhandeling en randvoorwaarden

Kan er geen geldige versheidswaarde worden verstrekt, dan retourneert de functie een ara::core::Result met de foutcode ComSecOcFvmErrc::kFVNotAvailable („Freshness Value not available”) met rollback-semantiek ([SWS_CM_11289]). Specifieke meldingen aan DET of DEM zijn voor deze interface in de Adaptive-standaard niet gedefinieerd.

Verloop en gelijktijdigheid

Binnen het verzendproces is de aanroep onderworpen aan een strikte volgorde ([SWS_CM_11274]):

  1. Vooraf moet de levenscyclus van de Freshness Value Manager zijn beheerd door ara::com ([SWS_CM_11272]) en moet de instantie via apext::com::secoc::FVM::Initialize zijn geïnitialiseerd ([SWS_CM_11273]).
  2. Bij het verzenden vindt GetTxFreshness plaats na de E2E-beveiligingsberekeningen ([SWS_CM_11274]).
  3. Aansluitend worden de MAC-berekening, optionele afkappingen en de samenstelling van het beveiligde bericht uitgevoerd ([SWS_CM_11274]).

Over reentrantie zwijgt de specificatie; vermoedelijk moet de FVM-implementatie echter thread-safe resp. reentrant zijn ontworpen indien parallelle communicatiestromen gelijktijdig versheidswaarden opvragen. Vraag Q-a1d3e04b91b6c24d (open)

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

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

functie 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

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

Gebruik en aanroepcontext

De synchrone bibliotheekfunctie Initialize binnen het geldigheidsgebied apext::com::secoc::FVM dient voor de initialisatie van de fabrikantspecifieke plug-in-implementatie van de Freshness Value Manager (FVM) voor de veiligheidsrelevante communicatie via SecOC [SWS_CM_11290]. De declaratie is beschikbaar via de header apext/com/secoc/fvm.h SWS CommunicationManagement §C.1.2.2.1.3 “Initialize”.

De functie accepteert geen parameters en declareert de exception-veiligheid noexcept (exception safe) [SWS_CM_11290]. Het lifecycle-management van de FVM wordt bindend overgenomen door de communicatiemiddleware ara::com [SWS_CM_11272], die de initialisatie van de FVM-plug-in uitvoert door de expliciete aanroep van deze interface [SWS_CM_11273]. Interpretatie: Voor applicatieontwikkelaars bestaat er geen directe aanroepcontext, aangezien de beschikbaarstelling als plug-in voor het platform plaatsvindt en de besturing volledig bij ara::com ligt. Vraag Q-5b5c8b1a42c3bd3a (open)

Foutafhandeling

Het resultaat van de bewerking wordt gecommuniceerd via het retourtype ara::core::Result<void> [SWS_CM_11290]:

  • Succes: Bij succesvolle initialisatie bevat de ara::core::Result een lege waarde (value_type is void) [SWS_CM_11290].
  • Mislukte initialisatie: Kon de Freshness Value Manager niet worden geïnitialiseerd, dan wordt een foutobject met de specifieke foutcode ComSecOcFvmErrc::kFVInitializeFailed geretourneerd; daarbij treden rollback-semantieken in werking om een gedefinieerde toestand te behouden [SWS_CM_11290].

Interactie en volgorde

De initialisatie via Initialize vormt de functionele voorwaarde voor alle verdere FVM-diensten in het systeem [SWS_CM_11273]. Pas na een succesvolle doorloop mag ara::com in het kader van SecOC-zendoperaties na de E2E-berekening toegang krijgen tot de interface apext::com::secoc::FVM::GetTxFreshness om versheidswaarden voor geconfigureerde freshnessValueId-attributen op te halen [SWS_CM_11274].

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

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

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

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

Gebruik

De synchrone methode apext::com::secoc::FVM::SetVerificationStatus wordt door SecOC aangeroepen om aan de Freshness Value Manager (FVM) het resultaat van een verificatie te melden [SWS_CM_19999]. Ze is gedeclareerd via de header apext/com/secoc/fvm.h en vereist twee parameters AUTOSAR_AP_SWS_CommunicationManagement §C.1.2.2.1.4 “SetVerificationStatus”:

  • secOCFreshnessValueID (std::uint16_t): Eenduidige identificatie van de versheidswaarde.
  • secOCVerificationStatus (VerificationStatus): Verificatieresultaat voor de opgegeven identificatie.

Foutafhandeling en gelijktijdigheid

De functie is gedeclareerd als noexcept en geldt als uitzonderingsveilig (exception safe) [SWS_CM_19999]. Het retourtype ara::core::Result<void> signaleert een succesvolle uitvoering via een leeg resultaat. In geval van een fout bevat het Result-object een foutcode van het type ara::com::ComErrc, hoewel de specificatie geen specifieke gestandaardiseerde foutcodes definieert [SWS_CM_19999].

Interactie en status

De functie koppelt SecOC en de FVM bij het beheer van versheidswaarden. Ze heeft de status DRAFT AUTOSAR_AP_SWS_CommunicationManagement §C.1.2.2.1.4 “SetVerificationStatus”. Interpretatie: De overgedragen statusinformatie wordt vermoedelijk intern door de FVM gebruikt om synchronisatietoestanden of tellers van de versheidswaarden bij te werken. Vraag Q-156ad8f991c99b7d (open)

Deze gebruiksinstructie is automatisch opgesteld en baseert zich uitsluitend op de specificatie van release R25-11.

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

Documentatie van de enumeraties

enumeratie 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#17ae5043
Content hash
17ae5043
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