फ़ंक्शन 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.
तत्व फ़ंक्शन apext::com::secoc::FVM::GetRxFreshness प्राप्त संदेशों के लिए पूर्ण ताजगी मान निर्धारित करने हेतु SecOC परत के लिए कार्य करता है [SWS_CM_11288]। इनपुट पैरामीटर के रूप में, फ़ंक्शन पहचानकर्ता SecOCFreshnessValueID, [SWS_CM_11286] के अनुसार FVContainer में सुरक्षित संदेश से निकाला गया संक्षिप्त ताजगी मान, और काउंटर SecOCAuthVerifyAttempts [SWS_CM_11288] की अपेक्षा करता है। यह काउंटर पहले सत्यापन प्रयास पर मान 0 से शुरू होता है और उसी संदेश के प्रत्येक बाद के असफल प्रयास पर बढ़ाया जाता है [SWS_CM_11288]।
विधि को noexcept और अपवाद-सुरक्षित के रूप में निर्दिष्ट किया गया है (AUTOSAR_AP_SWS_CommunicationManagement §C.1.2.2.1.1 “GetRxFreshness”)। फ़्यूचर प्रकार के बिना ara::core::Result<FVContainer> की सीधी वापसी के कारण, कॉल संभवतः तुल्यकालिक ब्लॉकिंग तरीके से संसाधित होती है। प्रश्न Q-2609cb9ffeb0d41d (खुला) सफलता के मामले में, परिणाम में प्रमाणीकरणकर्ता (authenticator) के बाद के MAC सत्यापन के लिए पूर्ण ताजगी मान होता है [SWS_CM_11288]। यदि मान प्रदान नहीं किया जा सकता है, तो फ़ंक्शन पुनर्प्राप्त करने योग्य त्रुटि कोड ComSecOcFvmErrc::kFVNotAvailable लौटाता है [SWS_CM_11288]।
ताजगी मान का निर्धारण SecOC प्राप्ति पथ का एक अभिन्न अंग है: संदेश प्रमाणीकरण मूल रूप से डाउनस्ट्रीम E2E जांचों [SWS_CM_11276] से पहले होता है और प्रमाणीकरण प्रयासों के काउंटर से जुड़ा होता है [SWS_CM_11277]। मानक में पुनःप्रवेश (reentrancy) या थ्रेड-सुरक्षा के लिए विशिष्ट आवश्यकताएं परिभाषित नहीं हैं; इसलिए समवर्ती कॉलों पर व्यवहार संभवतः Freshness Value Manager के ठोस कार्यान्वयन पर निर्भर करता है। प्रश्न Q-071e92f80c6e44db (खुला)
AUTOSAR R25-11 विनिर्देश के आधार पर स्वचालित रूप से जनरेट किया गया उपयोग निर्देश।
इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I2)
| Header-Datei | #include "apext/com/secoc/fvm.h" |
|---|---|
| Scope | class apext::com::secoc::FVM |
| Exception-Sicherheit | exception safe |
Template-Parameter
| Parameter | Beschreibung |
|---|---|
| FVContainer | As per [SWS_CM_11286] |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| SecOCFreshnessValueIDSecOCTruncatedFreshnessValueSecOCAuthVerifyAttempts | the 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
| Typ | Beschreibung |
|---|---|
| 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
| Fehlercode | Beschreibung |
|---|---|
| ComSecOcFvmErrc::kFVNotAvailable | rollback_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#bb546676- Content hash
bb546676- 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
Recorded Revisions (7):
- R25-11
rel:R25-11#ce9299c32026-09-30 - R20-11
rel:R20-11#2d3cd3ce2026-10-14 - R21-11
rel:R21-11#2d3cd3ce2026-10-14 - R22-11
rel:R22-11#93c431962026-10-14 - R23-11
rel:R23-11#c565fe5b2026-10-14 - R24-11
rel:R24-11#13a0e3ec2026-10-14 - R25-11
rel:R25-11#6d6528062026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · जर्मन मूल