DEENESPTFRRUARHIKOZHNL

struct apext::tsync::FVContainer

[SWS_TS_14194] Upstream: RS_TS_20072 wording not yet imported

struct FVContainer {...};

A freshness value container to hold the length of freshness value in bits and the freshness value itself as vector.

Header-Datei#include "apext/tsync/fvm.h"
Forwarding-Header#include "apext/tsync/tsync_fwd.h"
Scopenamespace apext::tsync

User GuideAI-GENERATED

Encapsulates freshness values as a byte vector along with their exact bit length for Freshness Value Management.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: c7cff93a9b82 Provenance Open questions (3)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Encapsulates freshness values as a byte vector along with their exact bit length for Freshness Value Management.

In module tsync, the structure apext::tsync::FVContainer serves as a data container for passing and returning freshness values between applications and Freshness Value Management. It encapsulates the actual freshness value as a byte vector in value, which contains complete or truncated values depending on the direction [SWS_TS_14196], as well as its exact bit length in attribute length [SWS_TS_14195]. Concurrent access requires external coordination by the caller.

Context

The structure apext::tsync::FVContainer functions within the functional cluster tsync of the AUTOSAR Adaptive Platform as a dedicated data container for freshness values. Included via the header file apext/tsync/fvm.h, it serves as a standardized interface in interaction with the Freshness Value Management (FVM). Its primary responsibility is to provide the actual cryptographic freshness value together with its exact length. For this purpose, the container encapsulates the bit length in data element length [SWS_TS_14195] and the actual payload in the byte vector value [SWS_TS_14196]. The structure thus acts as a bridge between calling applications or protocol layers and the FVM calculation routines.

Lifecycle

As a lightweight data structure (struct), apext::tsync::FVContainer is subject to regular C++ value semantics. Creation typically takes place locally on the caller's stack or dynamically as part of higher-level message creation. With instantiation, the structure assumes responsibility for the lifecycle of the contained vector value of type ara::core::Vector<std::uint8_t> [SWS_TS_14196]. If the structure is passed to interfaces by value or reference, the RAII principle of the vector ensures deterministic release of the allocated memory upon destruction of the container. Question Q-416ceca84f9cfdaf (open) Since apext::tsync::FVContainer provides no internal mechanisms for synchronization, thread-safe coordination during concurrent read and write access rests entirely with the calling software component.

Usage Path

In practical use, apext::tsync::FVContainer undergoes two central directions within interface communication:

  • Input parameter: During verification or processing of incoming messages, the container is populated by the application and passed to methods of the FVM. Depending on the context, the field value accommodates either complete freshness values or truncated values [SWS_TS_14196]. In parallel, field length specifies the exact bit count of the contained value [SWS_TS_14195]. This is particularly relevant when the validity of the freshness value does not end on an integer byte boundary.
  • Return value: When fresh values are generated by the FVM, the respective method returns an instance of apext::tsync::FVContainer. The calling context subsequently reads out the effective length in bits determined by the FVM via length [SWS_TS_14195] and extracts the corresponding bytes from value [SWS_TS_14196] in order to embed them into downstream security protocols.

Interpretation: The bit count stored in length presumably always corresponds to the rounded-up byte size of vector value, so that incompletely used remaining bits in the last byte of the vector can be precisely delimited by the length specification. Question Q-e8feae8a93c14191 (open)

This guide was generated by an AI system based on the specification requirements of AUTOSAR Release R25-11.

UML class diagram

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

G napext__tsync__FVContainer955 «struct» FVContainer + length + value

Constants

length variable

Length in bits of the freshness value passed in apext::tsync::FVContainer.

value variable

Vector of bytes containing the freshness value. Depending on whether the container is used as an input or returning value by the method it will contain either the full freshness or truncated values.

Documentation of constants / variables

variable length [SWS_TS_14195] Upstream: RS_TS_20072 wording not yet imported

std::uint64_t length;

Length in bits of the freshness value passed in apext::tsync::FVContainer.

Header-Datei#include "apext/tsync/fvm.h"
Scopestruct apext::tsync::FVContainer
Symbollength
Typstd::uint64_t

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

Record
AUTOSAR/AP/record/SWS_TS_14195
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14195@rel:R25-11#241ca1b4
Content hash
241ca1b4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14195
Status: valid/unmigrated Version: rel:R25-11#1a60b5d0 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_TS_14195@rel:R25-11#1a60b5d0
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#241ca1b42026-09-30
  • R24-11rel:R24-11#c95748132026-10-14
  • R25-11rel:R25-11#1a60b5d02026-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

variable value [SWS_TS_14196] Upstream: RS_TS_20072 wording not yet imported

ara::core::Vector<std::uint8_t> value;

Vector of bytes containing the freshness value. Depending on whether the container is used as an input or returning value by the method it will contain either the full freshness or truncated values.

Header-Datei#include "apext/tsync/fvm.h"
Scopestruct apext::tsync::FVContainer
Symbolvalue
Typara::core::Vector< std::uint8_t >

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

Record
AUTOSAR/AP/record/SWS_TS_14196
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14196@rel:R25-11#4559dfb4
Content hash
4559dfb4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14196
Status: valid/unmigrated Version: rel:R25-11#10d15c84 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_TS_14196@rel:R25-11#10d15c84
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#4559dfb42026-09-30
  • R24-11rel:R24-11#10d15c842026-10-14
  • R25-11rel:R25-11#10d15c842026-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