DEENESPTFRRUARHIKOZHNL

namespace ara::crypto

User GuideAI-GENERATED

Provides basic types, error domains, and factory functions for cryptographic services and key management.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 253d08fc1def Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Provides basic types, error domains, and factory functions for cryptographic services and key management.

The namespace ara::crypto provides the common basic types, memory buffers, and global factory functions for cryptographic services in AUTOSAR Adaptive. Applications create or obtain subsystem instances such as crypto and key storage providers deterministically via entry points such as LoadCryptoProvider [SWS_CRYPT_20099]. All cryptographic operations and key uses are strictly monitored via defined usage flags as well as the standardized error domain with CryptoErrc [SWS_CRYPT_10099]. All factory interfaces require a valid process mapping and are designed to be thread-safe.

Context

The namespace ara::crypto forms the common foundation and central entry point for all cryptographic services, key management functions, and certificate operations of the AUTOSAR Adaptive Platform. Instead of exposing implementation details of the underlying drivers or hardware security modules, the namespace defines standardized interfaces and global factory functions. Via these entry points, applications request instances of the specialized subsystems: the general cryptography provider [SWS_CRYPT_20099], the X.509 provider [SWS_CRYPT_40099], read and write accesses to key slots [SWS_CRYPT_50004] [SWS_CRYPT_50005], and formatters for object serialization [SWS_CRYPT_50200].

For secure and consistent data transfer, ara::crypto provides fundamental memory abstractions and type systems. Buffer areas are encapsulated in a type-safe manner via ReadOnlyMemRegion [SWS_CRYPT_10033] for input data and ReadWriteMemRegion [SWS_CRYPT_10031] for output data. Algorithms are referenced in a standardized way via AlgId [SWS_CRYPT_10014] or AlgIdString [SWS_CRYPT_50000], and timestamps are based on Timestamp [SWS_CRYPT_50003]. In addition, the enumeration CryptoObjectType [SWS_CRYPT_10016] classifies the object types that can be stored in the key storage, while transformation directions such as encryption or decryption are specified by CryptoTransform [SWS_CRYPT_10019]. Permitted key operations are governed via bitmasks of type AllowedUsageFlags [SWS_CRYPT_10015], which cover encryption and decryption [SWS_CRYPT_13101] [SWS_CRYPT_13102], signatures [SWS_CRYPT_13103] [SWS_CRYPT_13104], key agreement [SWS_CRYPT_13105], and exports [SWS_CRYPT_40991] [SWS_CRYPT_40992], among others. For serialization, format specifiers of type FormatId [SWS_CRYPT_10701] such as kFormatRawValueOnly [SWS_CRYPT_60017], kFormatDerEncoded [SWS_CRYPT_60018], and kFormatPemEncoded [SWS_CRYPT_60019] are available.

CryptoContext anwendung Application crypto ara::crypto anwendung->crypto loads instances provider cryp::CryptoProvider crypto->provider LoadCryptoProvider keyslot cryp::KeySlot / WriteableKeySlot crypto->keyslot LoadKeySlot / LoadWriteableKeySlot x509 x509::X509Provider crypto->x509 LoadX509Provider formatter Formatter crypto->formatter LoadFormatter

Context diagram: Interaction between application instances, the entry points in ara::crypto, and the provided subsystem objects. Sources: [SWS_CRYPT_20099], [SWS_CRYPT_40099], [SWS_CRYPT_50004], [SWS_CRYPT_50005], [SWS_CRYPT_50200].

Lifecycle

The lifecycle management of the core cryptographic objects follows the factory pattern via global entry points:

  • Instantiation and ownership: Applications do not create instances manually via constructors. Instead, the factory functions LoadCryptoProvider [SWS_CRYPT_20099], LoadKeySlot [SWS_CRYPT_50004], LoadWriteableKeySlot [SWS_CRYPT_50005], LoadX509Provider [SWS_CRYPT_40099], and LoadFormatter [SWS_CRYPT_50200] return shared ownership references in the form of ara::core::Result<...::Sptr>.
  • Singleton and provider lifecycles: The function LoadX509Provider provides the unique instance of the singleton X.509 provider [SWS_CRYPT_40099]. LoadCryptoProvider creates or references the existing instance of the crypto provider modeled via a ara::core::InstanceSpecifier [SWS_CRYPT_20099].
  • Concurrency and destruction: All factory functions as well as the error domain helpers GetCryptoErrorDomain [SWS_CRYPT_19952] and MakeErrorCode [SWS_CRYPT_19951] are specified as exception-safe (noexcept) and thread-safe (thread-safe). The referenced objects are released automatically as soon as the last held shared pointer expires.

Usage Path

A typical usage path for performing cryptographic operations or managing keys proceeds through the following steps:

  1. Load provider: The application calls LoadCryptoProvider with a suitable ara::core::InstanceSpecifier to obtain access to the cryptographic operations [SWS_CRYPT_20099].
  2. Reference key slot: For key-based procedures, the associated storage location is loaded: read-only via LoadKeySlot [SWS_CRYPT_50004] or with write permissions via LoadWriteableKeySlot [SWS_CRYPT_50005].
  3. Object validation and permission check: Prior to execution, the application verifies the object types (CryptoObjectType [SWS_CRYPT_10016]) and the configured usage restrictions (AllowedUsageFlags [SWS_CRYPT_10015]), for example kAllowDataEncryption [SWS_CRYPT_13101] or kAllowDataDecryption [SWS_CRYPT_13102] matching CryptoTransform [SWS_CRYPT_10019].
  4. Serialization: If key objects are to be formatted or exported, a serializer is requested via LoadFormatter [SWS_CRYPT_50200] that serves formats such as DER [SWS_CRYPT_60018] or PEM [SWS_CRYPT_60019], provided that kAllowPlaintextExport [SWS_CRYPT_40992] or kAllowSecuredExport [SWS_CRYPT_40991] permit this.
Initialization and acquisition of cryptographic interfacesApplicationara::cryptocryp::CryptoProvidercryp::KeySlotLoadCryptoProvider(iSpecify)Result<CryptoProvider::Sptr>LoadKeySlot(iSpecify)Result<KeySlot::Sptr>altErfolgreicher BezugExecute crypto operationFehlerfallMakeErrorCode(CryptoErrc, data)ara::core::ErrorCode

Sequence diagram: Call and initialization sequence for loading providers and key slots with subsequent error checking. Sources: [SWS_CRYPT_20099], [SWS_CRYPT_50004], [SWS_CRYPT_19951].

Error Scenarios

Error handling in ara::crypto is based on the global error domain CryptoErrorDomain [SWS_CRYPT_19952], whose enumeration CryptoErrc [SWS_CRYPT_10099] defines all specific error codes:

  • Argument and buffer errors: Invalid arguments lead to kInvalidArgument, unknown identifiers to kUnknownIdentifier, and incompatible parameter combinations to kIncompatibleArguments [SWS_CRYPT_10099]. If the capacity of a ReadWriteMemRegion [SWS_CRYPT_10031] is insufficient, the interface signals kInsufficientCapacity [SWS_CRYPT_10099]. For incorrect input sizes, kInvalidInputSize occurs [SWS_CRYPT_10099].
  • State and sequence violations: In case of an incorrect call sequence, the system reports kInvalidUsageOrder [SWS_CRYPT_10099]. Using a context prior to initialization or querying a computation step before completion results in kUninitializedContext, kProcessingNotStarted, or kProcessingNotFinished [SWS_CRYPT_10099].
  • Permission and security violations: Operations contrary to the permissions declared in AllowedUsageFlags generate kUsageViolation [SWS_CRYPT_10099]. If the verification of an authentication tag fails, kAuthTagNotValid is triggered [SWS_CRYPT_10099].
  • Slot and mapping errors: Empty or incompatible key containers result in kEmptyKeySlot or kIncompatibleObject [SWS_CRYPT_10099]. If the InstanceSpecifier in LoadCryptoProvider, LoadKeySlot, or LoadWriteableKeySlot does not point to a PortPrototype modeled for the current process, this is considered ProcessMappingViolation ([SWS_CRYPT_20099], [SWS_CRYPT_50004], [SWS_CRYPT_50005]).

Error instances are generated programmatically via the helper function MakeErrorCode and reference CryptoErrorDomain [SWS_CRYPT_19951] without exception.

This guide is based exclusively on the specification requirements of AUTOSAR R25-11.

Topic map

KI-gestützte Gruppierung auf Basis der Records und Spezifikationsauszüge; keine Gliederung aus der AUTOSAR-Spezifikation.

Class diagram

Abgerundete Rahmen = Namespace- bzw. Klassen-Scopes; hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); graue Boxen = namespace-fremde bzw. externe Basisklassen. Klicken öffnet die jeweilige Klassen- bzw. cppreference-Seite.

G cluster_ns ara::crypto nara__crypto__CryptoErrorDomain CryptoErrorDomain next_ara__core__ErrorDomain ara::core::ErrorDomain nara__crypto__CryptoErrorDomain->next_ara__core__ErrorDomain nara__crypto__CryptoException CryptoException next_ara__core__Exception ara::core::Exception nara__crypto__CryptoException->next_ara__core__Exception nara__crypto__Formatter Formatter nara__crypto__SecureCounter «struct» SecureCounter nara__crypto__Serializable Serializable

Detail view

Select an entry in the outline.

Fehlerbehandlung

Crypto Error Domain class that provides interfaces as defined by ara::core::ErrorDomain such as a name of the Crypto Error Domain or message

inherits from ara::core::ErrorDomain

Exception type thrown for CRYPTO errors.

inherits from ara::core::Exception

Return a reference to the global CryptoErrorDomain.

constexpr const ara::core::ErrorDomain & GetCryptoErrorDomain () noexcept;
MakeErrorCode function

Makes Error Code instances from the Crypto Error Domain. The returned ErrorCode instance always references to CryptoErrorDomain.

constexpr ara::core::ErrorCode MakeErrorCode (CryptoErrorDomain::Errc code, ara::core::ErrorDomain::SupportDataType data) noexcept;
CryptoErrc enumeration

Defines the error codes for the ara::crypto::CryptoErrorDomain

enum class CryptoErrc : ara::core::ErrorDomain::CodeType {...};

Schlüsselverwendung

The key can be used for data decryption.

constexpr AllowedUsageFlags kAllowDataDecryption {0x0002};

The following constants define 1-bit values representing allowed usages. The key can be used for data encryption

constexpr AllowedUsageFlags kAllowDataEncryption {0x0001};

The derived key can be exported in plaintext.

constexpr AllowedUsageFlags kAllowDerivedPlaintextExport {0x4000};

The key can be used as input to a HashFunctionCtx.

constexpr AllowedUsageFlags kAllowHashCalculation {0x1000};

The key can be used as private or public input to key agreement.

constexpr AllowedUsageFlags kAllowKeyAgreement {0x0020};

The key can be used for key derivation.

constexpr AllowedUsageFlags kAllowKeyDerivation {0x0040};

The key can be used as a key encryption key for key unwrapping or key decapsulation.

constexpr AllowedUsageFlags kAllowKeyUnwrapping {0x0100};

The key can be used as a key encryption key for key wrapping or key encapsulation.

constexpr AllowedUsageFlags kAllowKeyWrapping {0x0080};
kAllowMac variable

The key can be used for MAC generation and verification.

constexpr AllowedUsageFlags kAllowMac {0x0004};
kAllowPersist variable

The key can persisted.

constexpr AllowedUsageFlags kAllowPersist {0x0200};

The key can be exported in plaintext.

constexpr AllowedUsageFlags kAllowPlaintextExport {0x2000};
kAllowRngInit variable

The symmetric key can be used for seeding of a RandomGeneratorCtx.

constexpr AllowedUsageFlags kAllowRngInit {0x0800};

The key can be securely exported (protected export)

constexpr AllowedUsageFlags kAllowSecuredExport {0x0400};

The key can be used for signature generation.

constexpr AllowedUsageFlags kAllowSigGeneration {0x0008};

The key can be used for signature verification.

constexpr AllowedUsageFlags kAllowSigVerification {0x0010};

Exportformate

Formatter class

Formatter object interface.

LoadFormatter function

Factory that creates a Formatter.

ara::core::Result< Formatter::Sptr > LoadFormatter () noexcept;
FormatId type alias

A container type for the encoding format identifiers.

using FormatId = std::uint32_t;

Export DER-encoded value of an object.

constexpr FormatId kFormatDerEncoded {2};

Export PEM-encoded value of an object.

constexpr FormatId kFormatPemEncoded {3};

Export only raw value of an object, i.e., a plain byte array for symmetric keys and ISO/IEC 7816-8 / IEEE P1363 encoding for combined values.

constexpr FormatId kFormatRawValueOnly {1};

Proprietary format that is only valid in the context of a CryptoProvider.

constexpr FormatId kProprietaryFormat {0};

Anbieter und Slots

This factory method shall create or return the existing instance of a specific Crypto Provider.

ara::core::Result< cryp::CryptoProvider::Sptr > LoadCryptoProvider (const ara::core::InstanceSpecifier &iSpecify) noexcept;
LoadKeySlot function

Load a read-only key slot. This factory method shall load the information associated with the specified KeySlot into a KeySlot object.

ara::core::Result< cryp::KeySlot::Sptr > LoadKeySlot (const ara::core::InstanceSpecifier &iSpecify) noexcept;

Load a writeable key slot. This factory method shall load the information associated with the specified KeySlot into a WriteableKeySlot object.

ara::core::Result< cryp::WriteableKeySlot::Sptr > LoadWriteableKeySlot (const ara::core::InstanceSpecifier &iSpecify) noexcept;

This factory method shall create or return the existing instance of the singleton X.509 Provider.

ara::core::Result< x509::X509Provider::Sptr > LoadX509Provider () noexcept;

Grundtypen

128 bit secure counter made up of two uint64_t’s representing the most significant and least significant bits

Serializable object interface.

CryptoObjectType enumeration

Enumeration of all types of crypto objects, i.e. types of content that can be stored to a key slot.

enum class CryptoObjectType : std::uint8_t {...};
CryptoTransform enumeration

Enumeration of cryptographic transformation directions.

enum class CryptoTransform : std::uint8_t {...};
AlgId type alias

Type for holding StringView of algorithm according to standardized format described in the chapter ’Naming Convention’.

using AlgId = ara::core::StringView;
AlgIdString type alias

Type for holding String of algorithm according to standardized format described in the chapter ’Naming Convention’.

using AlgIdString = ara::core::String;

Type for holding bit-flags of allowed usages of a key.

using AllowedUsageFlags = std::uint32_t;

Read-Only Memory Region (intended for [in] arguments)

using ReadOnlyMemRegion = ara::core::Span<const std::uint8_t>;

Read-Write Memory Region (intended for [out] or [in/out] arguments)

using ReadWriteMemRegion = ara::core::Span<std::uint8_t>;
Timestamp type alias

Enumerations

enumeration CryptoErrc [SWS_CRYPT_10099] Upstream: RS_CRYPTO_02310

enum class CryptoErrc :            ara::core::ErrorDomain::CodeType {...};

Defines the error codes for the ara::crypto::CryptoErrorDomain

Header-Datei#include "ara/crypto/common/crypto_error_domain.h"
Forwarding-Header#include "ara/crypto/crypto_fwd.h"
Scopenamespace ara::crypto
SymbolCryptoErrc
Basistypara::core::ErrorDomain::CodeType

Werte

EnumeratorBeschreibung
ResourceException: Specified resource is busy!
kNoSuchValue= 2U kNoSuchElement: The requested element is not present in the object.
kInvalidArgument= 33619968U InvalidArgumentException: An invalid argument value is provided!
kUnknownIdentifier= 33619969U InvalidArgumentException: Unknown identifier is provided!
kInsufficientCapacity= 33619970U InvalidArgumentException: Insufficient capacity of the output buffer!
kInvalidInputSize= 33619971U InvalidArgumentException: Invalid size of an input buffer!
kIncompatibleArguments= 33619972U InvalidArgumentException: Provided values of arguments are incompatible!
kOutOfBounds= 67174407U InvalidArgumentException: Provided value is above the upper boundary!
kAuthTagNotValid= 33619976U AuthTagNotValidException: Provided authentication-tag cannot be verified!
kUnsupported= 33620224U UnsupportedException: Unsupported request (due to limitations of the implementation)!
kInvalidUsageOrder= 33685504U InvalidUsageOrderException: Invalid usage order of the interface!
kUninitializedContext= 33685505U InvalidUsageOrderException: Context of the interface was not initialized!
kProcessingNotStarted= 33685506U InvalidUsageOrderException: Data processing was not started yet!
kProcessingNotFinished= 33685507U InvalidUsageOrderException: Data processing was not finished yet!
kUnsupportedFormat= 50331649U RuntimeException: Unsupported serialization format for this object type!
kIncompatibleObject= 50397185U UnexpectedValueException: The provided object is incompatible with requested operation or its configuration!
kEmptyKeySlot= 50397187U UnexpectedValueException: Specified container is empty!
kUsageViolation= 50462720U UsageViolationException: Violation of allowed usage for the object!
kEmptyCertificateSlot= 50462721U --

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

Record
AUTOSAR/AP/record/SWS_CRYPT_10099
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_10099@rel:R25-11#cd316c03
Content hash
cd316c03
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_10099
Status: valid/unmigrated Version: rel:R25-11#dbe532d8 Versionshistorie & Revisions (1 transition, 8 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_CRYPT_10099@rel:R25-11#dbe532d8
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#cd316c032026-09-30
  • R19-11rel:R19-11#7f1859a12026-10-14
  • R20-11rel:R20-11#b50fbaed2026-10-14
  • R21-11rel:R21-11#20f661b82026-10-14
  • R22-11rel:R22-11#e4f998762026-10-14
  • R23-11rel:R23-11#9bb8cdd62026-10-14
  • R24-11rel:R24-11#13a05d582026-10-14
  • R25-11rel:R25-11#dbe532d82026-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

enumeration CryptoObjectType [SWS_CRYPT_10016] Upstream: RS_CRYPTO_02004

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

Enumeration of all types of crypto objects, i.e. types of content that can be stored to a key slot.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Forwarding-Header#include "ara/crypto/crypto_fwd.h"
Scopenamespace ara::crypto
SymbolCryptoObjectType
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
kSymmetricKey=1 cryp::SymmetricKey object
kPrivateKey=2 cryp::PrivateKey object
kPublicKey=3 cryp::PublicKey object

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

Record
AUTOSAR/AP/record/SWS_CRYPT_10016
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_10016@rel:R25-11#40722346
Content hash
40722346
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_10016
Status: valid/unmigrated Version: rel:R25-11#8e68fea1 Versionshistorie & Revisions (1 transition, 8 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_CRYPT_10016@rel:R25-11#8e68fea1
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#407223462026-09-30
  • R19-11rel:R19-11#71fe48bf2026-10-14
  • R20-11rel:R20-11#baf5d99d2026-10-14
  • R21-11rel:R21-11#8b6163692026-10-14
  • R22-11rel:R22-11#a4afb6102026-10-14
  • R23-11rel:R23-11#a584281b2026-10-14
  • R24-11rel:R24-11#975ef4262026-10-14
  • R25-11rel:R25-11#8e68fea12026-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

enumeration CryptoTransform [SWS_CRYPT_10019] Upstream: RS_CRYPTO_02004

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

Enumeration of cryptographic transformation directions.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Forwarding-Header#include "ara/crypto/crypto_fwd.h"
Scopenamespace ara::crypto
SymbolCryptoTransform
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
kEncrypt=1 encryption
kDecrypt=2 decryption

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

Record
AUTOSAR/AP/record/SWS_CRYPT_10019
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_10019@rel:R25-11#20a7c6d1
Content hash
20a7c6d1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_10019
Status: valid/unmigrated Version: rel:R25-11#d663b5dd 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_CRYPT_10019@rel:R25-11#d663b5dd
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#20a7c6d12026-09-30
  • R20-11rel:R20-11#af7754042026-10-14
  • R21-11rel:R21-11#1f973ce92026-10-14
  • R22-11rel:R22-11#cf31280e2026-10-14
  • R23-11rel:R23-11#b51dd9aa2026-10-14
  • R24-11rel:R24-11#f0990ece2026-10-14
  • R25-11rel:R25-11#d663b5dd2026-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

Type aliases

type alias AlgId [SWS_CRYPT_10014] Upstream: RS_CRYPTO_02102, RS_CRYPTO_02107

using AlgId = ara::core::StringView;

Type for holding StringView of algorithm according to standardized format described in the chapter ’Naming Convention’.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolAlgId

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

Record
AUTOSAR/AP/record/SWS_CRYPT_10014
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_10014@rel:R25-11#444bebb3
Content hash
444bebb3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_10014
Status: valid/unmigrated Version: rel:R25-11#8b09a314 Versionshistorie & Revisions (1 transition, 8 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_CRYPT_10014@rel:R25-11#8b09a314
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#444bebb32026-09-30
  • R19-11rel:R19-11#77f24cb62026-10-14
  • R20-11rel:R20-11#4aba50202026-10-14
  • R21-11rel:R21-11#aaae5bf52026-10-14
  • R22-11rel:R22-11#845268172026-10-14
  • R23-11rel:R23-11#adf807032026-10-14
  • R24-11rel:R24-11#adf807032026-10-14
  • R25-11rel:R25-11#8b09a3142026-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

type alias AlgIdString [SWS_CRYPT_50000] Upstream: RS_CRYPTO_02102, RS_CRYPTO_02107

using AlgIdString = ara::core::String;

Type for holding String of algorithm according to standardized format described in the chapter ’Naming Convention’.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolAlgIdString

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50000
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50000@rel:R25-11#c1a364ee
Content hash
c1a364ee
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50000
Status: valid/unmigrated Version: rel:R25-11#c1a364ee Versionshistorie & Revisions (1 transition)
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_CRYPT_50000@rel:R25-11#c1a364ee
Point-in-Time History:
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

type alias AllowedUsageFlags [SWS_CRYPT_10015] Upstream: RS_CRYPTO_02111

using AllowedUsageFlags = std::uint32_t;

Type for holding bit-flags of allowed usages of a key.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_10015
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_10015@rel:R25-11#cf2dc8c0
Content hash
cf2dc8c0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_10015
Status: valid/unmigrated Version: rel:R25-11#2f26b069 Versionshistorie & Revisions (1 transition, 8 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_CRYPT_10015@rel:R25-11#2f26b069
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#cf2dc8c02026-09-30
  • R19-11rel:R19-11#cfca004b2026-10-14
  • R20-11rel:R20-11#25c067c12026-10-14
  • R21-11rel:R21-11#8bb17dc12026-10-14
  • R22-11rel:R22-11#b8401ff92026-10-14
  • R23-11rel:R23-11#1fa601e22026-10-14
  • R24-11rel:R24-11#1fa601e22026-10-14
  • R25-11rel:R25-11#2f26b0692026-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

type alias FormatId [SWS_CRYPT_10701] Upstream: RS_CRYPTO_02004, RS_CRYPTO_02302

using FormatId = std::uint32_t;

A container type for the encoding format identifiers.

Header-Datei#include "ara/crypto/common/serializable.h"
Scopenamespace ara::crypto
SymbolFormatId

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

Record
AUTOSAR/AP/record/SWS_CRYPT_10701
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_10701@rel:R25-11#a08ac46d
Content hash
a08ac46d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_10701
Status: valid/unmigrated Version: rel:R25-11#d2c50d5c Versionshistorie & Revisions (1 transition, 8 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_CRYPT_10701@rel:R25-11#d2c50d5c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a08ac46d2026-09-30
  • R19-11rel:R19-11#98a9d99e2026-10-14
  • R20-11rel:R20-11#8eb511d42026-10-14
  • R21-11rel:R21-11#8eb511d42026-10-14
  • R22-11rel:R22-11#874640722026-10-14
  • R23-11rel:R23-11#c71074d02026-10-14
  • R24-11rel:R24-11#10f54fc22026-10-14
  • R25-11rel:R25-11#d2c50d5c2026-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

type alias ReadOnlyMemRegion [SWS_CRYPT_10033] Upstream: RS_CRYPTO_02004

using ReadOnlyMemRegion = ara::core::Span<const std::uint8_t>;

Read-Only Memory Region (intended for [in] arguments)

Header-Datei#include "ara/crypto/common/mem_region.h"
Scopenamespace ara::crypto
SymbolReadOnlyMemRegion

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

Record
AUTOSAR/AP/record/SWS_CRYPT_10033
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_10033@rel:R25-11#cdfedbe3
Content hash
cdfedbe3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_10033
Status: valid/unmigrated Version: rel:R25-11#729e9621 Versionshistorie & Revisions (1 transition, 8 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_CRYPT_10033@rel:R25-11#729e9621
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#cdfedbe32026-09-30
  • R19-11rel:R19-11#d8ba503b2026-10-14
  • R20-11rel:R20-11#213a17452026-10-14
  • R21-11rel:R21-11#f8e8ac4e2026-10-14
  • R22-11rel:R22-11#57b42dd82026-10-14
  • R23-11rel:R23-11#729e96212026-10-14
  • R24-11rel:R24-11#729e96212026-10-14
  • R25-11rel:R25-11#729e96212026-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

type alias ReadWriteMemRegion [SWS_CRYPT_10031] Upstream: RS_CRYPTO_02004

using ReadWriteMemRegion = ara::core::Span<std::uint8_t>;

Read-Write Memory Region (intended for [out] or [in/out] arguments)

Header-Datei#include "ara/crypto/common/mem_region.h"
Scopenamespace ara::crypto
SymbolReadWriteMemRegion

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

Record
AUTOSAR/AP/record/SWS_CRYPT_10031
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_10031@rel:R25-11#19a19c78
Content hash
19a19c78
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_10031
Status: valid/unmigrated Version: rel:R25-11#452a650c Versionshistorie & Revisions (1 transition, 8 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_CRYPT_10031@rel:R25-11#452a650c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#19a19c782026-09-30
  • R19-11rel:R19-11#1e08ae672026-10-14
  • R20-11rel:R20-11#b6cc452e2026-10-14
  • R21-11rel:R21-11#b6cc452e2026-10-14
  • R22-11rel:R22-11#1e1f7ec62026-10-14
  • R23-11rel:R23-11#989d4b0b2026-10-14
  • R24-11rel:R24-11#8c5966332026-10-14
  • R25-11rel:R25-11#452a650c2026-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

type alias Timestamp [SWS_CRYPT_50003] Upstream: RS_CRYPTO_02306

using Timestamp = std::chrono::time_point<std::chrono::system_clock, std::chrono::seconds>;

Type for timestamps.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolTimestamp

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50003
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50003@rel:R25-11#5214e602
Content hash
5214e602
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50003
Status: valid/unmigrated Version: rel:R25-11#5214e602 Versionshistorie & Revisions (1 transition)
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_CRYPT_50003@rel:R25-11#5214e602
Point-in-Time History:
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

type alias LoadCryptoProvider [SWS_CRYPT_50145] Upstream: RS_CRYPTO_02102, RS_CRYPTO_02107

using AlgId = ara::core::StringView;

Type for holding StringView of algorithm according to standardized format described in the chapter ’Naming Convention’.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolAlgId

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50145
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50145@rel:R25-11#e07f69bb
Content hash
e07f69bb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50145
Status: valid/unmigrated Version: rel:R25-11#e07f69bb Versionshistorie & Revisions (1 transition)
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_CRYPT_50145@rel:R25-11#e07f69bb
Point-in-Time History:
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

Constants / variables

variable kAllowDataDecryption [SWS_CRYPT_13102] Upstream: RS_CRYPTO_02111

constexpr AllowedUsageFlags kAllowDataDecryption {0x0002};

The key can be used for data decryption.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolkAllowDataDecryption
TypAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_13102
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_13102@rel:R25-11#9f93fd3f
Content hash
9f93fd3f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_13102
Status: valid/unmigrated Version: rel:R25-11#cb38744e Versionshistorie & Revisions (1 transition, 8 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_CRYPT_13102@rel:R25-11#cb38744e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#9f93fd3f2026-09-30
  • R19-11rel:R19-11#46359a082026-10-14
  • R20-11rel:R20-11#39e794332026-10-14
  • R21-11rel:R21-11#39e794332026-10-14
  • R22-11rel:R22-11#6fc5254b2026-10-14
  • R23-11rel:R23-11#400f67232026-10-14
  • R24-11rel:R24-11#018687782026-10-14
  • R25-11rel:R25-11#cb38744e2026-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 kAllowDataEncryption [SWS_CRYPT_13101] Upstream: RS_CRYPTO_02111

constexpr AllowedUsageFlags kAllowDataEncryption {0x0001};

The following constants define 1-bit values representing allowed usages. The key can be used for data encryption

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolkAllowDataEncryption
TypAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_13101
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_13101@rel:R25-11#f48120ce
Content hash
f48120ce
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_13101
Status: valid/unmigrated Version: rel:R25-11#279ac15a Versionshistorie & Revisions (1 transition, 8 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_CRYPT_13101@rel:R25-11#279ac15a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f48120ce2026-09-30
  • R19-11rel:R19-11#51107cd72026-10-14
  • R20-11rel:R20-11#9a7859422026-10-14
  • R21-11rel:R21-11#b847a6aa2026-10-14
  • R22-11rel:R22-11#0423cde92026-10-14
  • R23-11rel:R23-11#c5e310212026-10-14
  • R24-11rel:R24-11#48cbbdc92026-10-14
  • R25-11rel:R25-11#279ac15a2026-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 kAllowDerivedPlaintextExport [SWS_CRYPT_13150] Upstream: RS_CRYPTO_02111

constexpr AllowedUsageFlags kAllowDerivedPlaintextExport {0x4000};

The derived key can be exported in plaintext.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolkAllowDerivedPlaintextExport
TypAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_13150
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_13150@rel:R25-11#a547fb64
Content hash
a547fb64
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_13150
Status: valid/unmigrated Version: rel:R25-11#a547fb64 Versionshistorie & Revisions (1 transition)
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_CRYPT_13150@rel:R25-11#a547fb64
Point-in-Time History:
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 kAllowHashCalculation [SWS_CRYPT_13110] Upstream: RS_CRYPTO_02111

constexpr AllowedUsageFlags kAllowHashCalculation {0x1000};

The key can be used as input to a HashFunctionCtx.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolkAllowHashCalculation
TypAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_13110
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_13110@rel:R25-11#2900e612
Content hash
2900e612
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_13110
Status: valid/unmigrated Version: rel:R25-11#a9b9f3f9 Versionshistorie & Revisions (1 transition, 8 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_CRYPT_13110@rel:R25-11#a9b9f3f9
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2900e6122026-09-30
  • R19-11rel:R19-11#f128b80a2026-10-14
  • R20-11rel:R20-11#7728c0942026-10-14
  • R21-11rel:R21-11#7728c0942026-10-14
  • R22-11rel:R22-11#7b8882de2026-10-14
  • R23-11rel:R23-11#0a1814502026-10-14
  • R24-11rel:R24-11#9a948fd52026-10-14
  • R25-11rel:R25-11#a9b9f3f92026-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 kAllowKeyAgreement [SWS_CRYPT_13105] Upstream: RS_CRYPTO_02111

constexpr AllowedUsageFlags kAllowKeyAgreement {0x0020};

The key can be used as private or public input to key agreement.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolkAllowKeyAgreement
TypAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_13105
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_13105@rel:R25-11#4e8b5ff0
Content hash
4e8b5ff0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_13105
Status: valid/unmigrated Version: rel:R25-11#afd9577c Versionshistorie & Revisions (1 transition, 8 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_CRYPT_13105@rel:R25-11#afd9577c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4e8b5ff02026-09-30
  • R19-11rel:R19-11#e398d3cc2026-10-14
  • R20-11rel:R20-11#edbf699e2026-10-14
  • R21-11rel:R21-11#0c52a3f92026-10-14
  • R22-11rel:R22-11#0a8b6da62026-10-14
  • R23-11rel:R23-11#bc9749b02026-10-14
  • R24-11rel:R24-11#537853e12026-10-14
  • R25-11rel:R25-11#afd9577c2026-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 kAllowKeyDerivation [SWS_CRYPT_13106] Upstream: RS_CRYPTO_02111

constexpr AllowedUsageFlags kAllowKeyDerivation {0x0040};

The key can be used for key derivation.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolkAllowKeyDerivation
TypAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_13106
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_13106@rel:R25-11#97734649
Content hash
97734649
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_13106
Status: valid/unmigrated Version: rel:R25-11#0f04b61c Versionshistorie & Revisions (1 transition, 8 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_CRYPT_13106@rel:R25-11#0f04b61c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#977346492026-09-30
  • R19-11rel:R19-11#640637ca2026-10-14
  • R20-11rel:R20-11#b72771252026-10-14
  • R21-11rel:R21-11#b72771252026-10-14
  • R22-11rel:R22-11#e698c1c62026-10-14
  • R23-11rel:R23-11#7d84497f2026-10-14
  • R24-11rel:R24-11#d3994d892026-10-14
  • R25-11rel:R25-11#0f04b61c2026-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 kAllowKeyUnwrapping [SWS_CRYPT_50002] Upstream: RS_CRYPTO_02111

constexpr AllowedUsageFlags kAllowKeyUnwrapping {0x0100};

The key can be used as a key encryption key for key unwrapping or key decapsulation.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolkAllowKeyUnwrapping
TypAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50002
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50002@rel:R25-11#e810e7f6
Content hash
e810e7f6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50002
Status: valid/unmigrated Version: rel:R25-11#e810e7f6 Versionshistorie & Revisions (1 transition)
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_CRYPT_50002@rel:R25-11#e810e7f6
Point-in-Time History:
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 kAllowKeyWrapping [SWS_CRYPT_13108] Upstream: RS_CRYPTO_02111

constexpr AllowedUsageFlags kAllowKeyWrapping {0x0080};

The key can be used as a key encryption key for key wrapping or key encapsulation.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolkAllowKeyWrapping
TypAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_13108
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_13108@rel:R25-11#e09c8d00
Content hash
e09c8d00
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_13108
Status: valid/unmigrated Version: rel:R25-11#affc0aea Versionshistorie & Revisions (1 transition, 8 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_CRYPT_13108@rel:R25-11#affc0aea
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e09c8d002026-09-30
  • R19-11rel:R19-11#592f88042026-10-14
  • R20-11rel:R20-11#80363dc62026-10-14
  • R21-11rel:R21-11#927ef0c02026-10-14
  • R22-11rel:R22-11#b7ff90d22026-10-14
  • R23-11rel:R23-11#801b4c332026-10-14
  • R24-11rel:R24-11#c3fd1c522026-10-14
  • R25-11rel:R25-11#affc0aea2026-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 kAllowMac [SWS_CRYPT_50001] Upstream: RS_CRYPTO_02111

constexpr AllowedUsageFlags kAllowMac {0x0004};

The key can be used for MAC generation and verification.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolkAllowMac
TypAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50001
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50001@rel:R25-11#34b49c61
Content hash
34b49c61
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50001
Status: valid/unmigrated Version: rel:R25-11#34b49c61 Versionshistorie & Revisions (1 transition)
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_CRYPT_50001@rel:R25-11#34b49c61
Point-in-Time History:
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 kAllowPersist [SWS_CRYPT_13109] Upstream: RS_CRYPTO_02111

constexpr AllowedUsageFlags kAllowPersist {0x0200};

The key can persisted.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolkAllowPersist
TypAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_13109
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_13109@rel:R25-11#f2a2261c
Content hash
f2a2261c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_13109
Status: valid/unmigrated Version: rel:R25-11#27624be1 Versionshistorie & Revisions (1 transition, 8 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_CRYPT_13109@rel:R25-11#27624be1
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f2a2261c2026-09-30
  • R19-11rel:R19-11#7e8966152026-10-14
  • R20-11rel:R20-11#315931bc2026-10-14
  • R21-11rel:R21-11#315931bc2026-10-14
  • R22-11rel:R22-11#5fd9de8d2026-10-14
  • R23-11rel:R23-11#9aa082fb2026-10-14
  • R24-11rel:R24-11#e4ab599f2026-10-14
  • R25-11rel:R25-11#27624be12026-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 kAllowPlaintextExport [SWS_CRYPT_40992] Upstream: RS_CRYPTO_02111

constexpr AllowedUsageFlags kAllowPlaintextExport {0x2000};

The key can be exported in plaintext.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolkAllowPlaintextExport
TypAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_40992
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_40992@rel:R25-11#29416f5d
Content hash
29416f5d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_40992
Status: valid/unmigrated Version: rel:R25-11#db23bcb4 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_CRYPT_40992@rel:R25-11#db23bcb4
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#29416f5d2026-09-30
  • R23-11rel:R23-11#eec532622026-10-14
  • R24-11rel:R24-11#826140692026-10-14
  • R25-11rel:R25-11#db23bcb42026-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 kAllowRngInit [SWS_CRYPT_13107] Upstream: RS_CRYPTO_02111

constexpr AllowedUsageFlags kAllowRngInit {0x0800};

The symmetric key can be used for seeding of a RandomGeneratorCtx.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolkAllowRngInit
TypAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_13107
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_13107@rel:R25-11#aa6164f7
Content hash
aa6164f7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_13107
Status: valid/unmigrated Version: rel:R25-11#181c5cdc Versionshistorie & Revisions (1 transition, 8 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_CRYPT_13107@rel:R25-11#181c5cdc
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#aa6164f72026-09-30
  • R19-11rel:R19-11#929e5a832026-10-14
  • R20-11rel:R20-11#37c659582026-10-14
  • R21-11rel:R21-11#37c659582026-10-14
  • R22-11rel:R22-11#88e00c012026-10-14
  • R23-11rel:R23-11#902c5af32026-10-14
  • R24-11rel:R24-11#046d1af02026-10-14
  • R25-11rel:R25-11#181c5cdc2026-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 kAllowSecuredExport [SWS_CRYPT_40991] Upstream: RS_CRYPTO_02111

constexpr AllowedUsageFlags kAllowSecuredExport {0x0400};

The key can be securely exported (protected export)

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolkAllowSecuredExport
TypAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_40991
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_40991@rel:R25-11#8347bab1
Content hash
8347bab1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_40991
Status: valid/unmigrated Version: rel:R25-11#81c261ee 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_CRYPT_40991@rel:R25-11#81c261ee
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#8347bab12026-09-30
  • R23-11rel:R23-11#96ca9f842026-10-14
  • R24-11rel:R24-11#f06771fa2026-10-14
  • R25-11rel:R25-11#81c261ee2026-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 kAllowSigGeneration [SWS_CRYPT_13103] Upstream: RS_CRYPTO_02111

constexpr AllowedUsageFlags kAllowSigGeneration {0x0008};

The key can be used for signature generation.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolkAllowSigGeneration
TypAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_13103
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_13103@rel:R25-11#6e3ddd7b
Content hash
6e3ddd7b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_13103
Status: valid/unmigrated Version: rel:R25-11#be46673e Versionshistorie & Revisions (1 transition, 8 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_CRYPT_13103@rel:R25-11#be46673e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#6e3ddd7b2026-09-30
  • R19-11rel:R19-11#1fe2f2bd2026-10-14
  • R20-11rel:R20-11#7b133d292026-10-14
  • R21-11rel:R21-11#95c648d82026-10-14
  • R22-11rel:R22-11#ae63a03c2026-10-14
  • R23-11rel:R23-11#d028a49a2026-10-14
  • R24-11rel:R24-11#162bcd262026-10-14
  • R25-11rel:R25-11#be46673e2026-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 kAllowSigVerification [SWS_CRYPT_13104] Upstream: RS_CRYPTO_02111

constexpr AllowedUsageFlags kAllowSigVerification {0x0010};

The key can be used for signature verification.

Header-Datei#include "ara/crypto/common/base_id_types.h"
Scopenamespace ara::crypto
SymbolkAllowSigVerification
TypAllowedUsageFlags

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

Record
AUTOSAR/AP/record/SWS_CRYPT_13104
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_13104@rel:R25-11#ad691c50
Content hash
ad691c50
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_13104
Status: valid/unmigrated Version: rel:R25-11#96c2cc4c Versionshistorie & Revisions (1 transition, 8 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_CRYPT_13104@rel:R25-11#96c2cc4c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ad691c502026-09-30
  • R19-11rel:R19-11#d48d13f02026-10-14
  • R20-11rel:R20-11#5a597ba02026-10-14
  • R21-11rel:R21-11#b631c3da2026-10-14
  • R22-11rel:R22-11#bf4472012026-10-14
  • R23-11rel:R23-11#a1723c552026-10-14
  • R24-11rel:R24-11#f84802052026-10-14
  • R25-11rel:R25-11#96c2cc4c2026-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 kFormatDerEncoded [SWS_CRYPT_60018] Upstream: RS_CRYPTO_02004, RS_CRYPTO_02302

constexpr FormatId kFormatDerEncoded {2};

Export DER-encoded value of an object.

Header-Datei#include "ara/crypto/common/serializable.h"
Scopenamespace ara::crypto
SymbolkFormatDerEncoded
TypFormatId

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

Record
AUTOSAR/AP/record/SWS_CRYPT_60018
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_60018@rel:R25-11#3e28302e
Content hash
3e28302e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_60018
Status: valid/unmigrated Version: rel:R25-11#3e28302e Versionshistorie & Revisions (1 transition)
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_CRYPT_60018@rel:R25-11#3e28302e
Point-in-Time History:
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 kFormatPemEncoded [SWS_CRYPT_60019] Upstream: RS_CRYPTO_02004, RS_CRYPTO_02302

constexpr FormatId kFormatPemEncoded {3};

Export PEM-encoded value of an object.

Header-Datei#include "ara/crypto/common/serializable.h"
Scopenamespace ara::crypto
SymbolkFormatPemEncoded
TypFormatId

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

Record
AUTOSAR/AP/record/SWS_CRYPT_60019
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_60019@rel:R25-11#d656cbd4
Content hash
d656cbd4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_60019
Status: valid/unmigrated Version: rel:R25-11#d656cbd4 Versionshistorie & Revisions (1 transition)
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_CRYPT_60019@rel:R25-11#d656cbd4
Point-in-Time History:
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 kFormatRawValueOnly [SWS_CRYPT_60017] Upstream: RS_CRYPTO_02004, RS_CRYPTO_02302

constexpr FormatId kFormatRawValueOnly {1};

Export only raw value of an object, i.e., a plain byte array for symmetric keys and ISO/IEC 7816-8 / IEEE P1363 encoding for combined values.

Header-Datei#include "ara/crypto/common/serializable.h"
Scopenamespace ara::crypto
SymbolkFormatRawValueOnly
TypFormatId

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

Record
AUTOSAR/AP/record/SWS_CRYPT_60017
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_60017@rel:R25-11#ede0cb9a
Content hash
ede0cb9a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_60017
Status: valid/unmigrated Version: rel:R25-11#ede0cb9a Versionshistorie & Revisions (1 transition)
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_CRYPT_60017@rel:R25-11#ede0cb9a
Point-in-Time History:
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 kProprietaryFormat [SWS_CRYPT_60016] Upstream: RS_CRYPTO_02004, RS_CRYPTO_02302

constexpr FormatId kProprietaryFormat {0};

Proprietary format that is only valid in the context of a CryptoProvider.

Header-Datei#include "ara/crypto/common/serializable.h"
Scopenamespace ara::crypto
SymbolkProprietaryFormat
TypFormatId

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

Record
AUTOSAR/AP/record/SWS_CRYPT_60016
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_60016@rel:R25-11#a3e5a557
Content hash
a3e5a557
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_60016
Status: valid/unmigrated Version: rel:R25-11#a3e5a557 Versionshistorie & Revisions (1 transition)
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_CRYPT_60016@rel:R25-11#a3e5a557
Point-in-Time History:
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

Documentation of free functions

function GetCryptoErrorDomain [SWS_CRYPT_19952] Upstream: RS_CRYPTO_02310

constexpr const ara::core::ErrorDomain & GetCryptoErrorDomain () noexcept;

Return a reference to the global CryptoErrorDomain.

Header-Datei#include "ara/crypto/common/crypto_error_domain.h"
Scopenamespace ara::crypto
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
const ara::core::ErrorDomain &the CryptoErrorDomain

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

Record
AUTOSAR/AP/record/SWS_CRYPT_19952
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_19952@rel:R25-11#e4d12e68
Content hash
e4d12e68
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_19952
Status: valid/unmigrated Version: rel:R25-11#d7723629 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_CRYPT_19952@rel:R25-11#d7723629
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#e4d12e682026-09-30
  • R23-11rel:R23-11#9653949d2026-10-14
  • R24-11rel:R24-11#ec2ff9db2026-10-14
  • R25-11rel:R25-11#d77236292026-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

function LoadCryptoProvider [SWS_CRYPT_20099] Upstream: RS_CRYPTO_02401, RS_CRYPTO_02301

ara::core::Result< cryp::CryptoProvider::Sptr > LoadCryptoProvider (const ara::core::InstanceSpecifier &iSpecify) noexcept;

This factory method shall create or return the existing instance of a specific Crypto Provider.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: b6b49fc6b39d Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The factory function LoadCryptoProvider in namespace ara::crypto serves as a central entry point to create an instance of a cryptographic service provider or to retrieve an already existing instance [SWS_CRYPT_20099]. Header ara/crypto/common/entry_point.h is required for inclusion [SWS_CRYPT_20099].

Upon invocation, the following parameter and return properties apply [SWS_CRYPT_20099]:

  • Call parameter: The input parameter iSpecify (type const ara::core::InstanceSpecifier&) identifies the RPortPrototype of type CryptoProviderInterface that is assigned to the calling process [SWS_CRYPT_20099].
  • Return value: Upon successful instantiation, the function returns a ara::core::Result<cryp::CryptoProvider::Sptr>, which encapsulates a shared pointer to the loaded provider object [SWS_CRYPT_20099].
  • Concurrency: The function is declared as noexcept, is considered exception safe, and is explicitly specified as thread-safe, so that calls from parallel threads are permissible [SWS_CRYPT_20099].

Regarding error handling, the specification does not define standardized error codes [SWS_CRYPT_20099]. However, a failure of the operation is likely mapped as an error state in the returned ara::core::Result. Question Q-ad283a067489b0eb (open) In addition, the modeling violation ProcessMappingViolation is defined: this occurs if the passed InstanceSpecifier does not point to a PortPrototype that is valid for the current process and typed by a CryptoProviderInterface [SWS_CRYPT_20099].

This text was generated by an AI based on the AUTOSAR R25-11 specification.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/crypto/common/entry_point.h"
Scopenamespace ara::crypto
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)ProcessMappingVio- In case InstanceSpecifier does not point to a PortPrototype typed lation by a CryptoProviderInterface modeled for the current process.

Parameter (in)

ParameterBeschreibung
iSpecifyInstanceSpecifier of the RPortPrototype of type CryptoProvider Interface

Rückgabewert

TypBeschreibung
ara::core::Result<ara::crypto::cryp::CryptoProvider::Sptr >shared pointer to loaded Crypto Provider

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_CRYPT_20099
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20099@rel:R25-11#c8c47eaa
Content hash
c8c47eaa
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20099
Status: valid/unmigrated Version: rel:R25-11#809ada22 Versionshistorie & Revisions (1 transition, 8 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_CRYPT_20099@rel:R25-11#809ada22
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#c8c47eaa2026-09-30
  • R19-11rel:R19-11#e2044f8d2026-10-14
  • R20-11rel:R20-11#42148f462026-10-14
  • R21-11rel:R21-11#42148f462026-10-14
  • R22-11rel:R22-11#ee5981902026-10-14
  • R23-11rel:R23-11#dff1e4d12026-10-14
  • R24-11rel:R24-11#77f0fa4e2026-10-14
  • R25-11rel:R25-11#809ada222026-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

function LoadFormatter [SWS_CRYPT_50200] Upstream: RS_CRYPTO_02112

ara::core::Result< Formatter::Sptr > LoadFormatter () noexcept;

Factory that creates a Formatter.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 1ad37ba369f0 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The function LoadFormatter in namespace ara::crypto serves as a factory for creating an instance of Formatter [SWS_CRYPT_50200]. The declaration is provided via the header file ara/crypto/common/formatter.h.

Usage and interface: The call is synchronous and requires no input parameters. As a return value, the function returns a ara::core::Result<ara::crypto::Formatter::Sptr>, which on success encapsulates a shared pointer to the newly created Formatter object [SWS_CRYPT_50200].

Error handling: The specification defines no standardized error codes for LoadFormatter [SWS_CRYPT_50200]. Since the return value is designed as ara::core::Result, implementation-specific errors during object creation are likely transmitted via the error channel of this result type. Question Q-dd9ac8319a9ad931 (open)

Concurrency and execution safety: The function is declared as noexcept and specified as exception-safe (exception safe) as well as thread-safe (thread-safe) [SWS_CRYPT_50200]. It can therefore be called in parallel from different threads without external synchronization measures.

This usage note was generated automatically and is based on the specifications of the AUTOSAR standard.

Header-Datei#include "ara/crypto/common/formatter.h"
Scopenamespace ara::crypto
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result<ara::crypto::Formatter::Sptr>shared pointer to Formatter

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_CRYPT_50200
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50200@rel:R25-11#afb535b5
Content hash
afb535b5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50200
Status: valid/unmigrated Version: rel:R25-11#afb535b5 Versionshistorie & Revisions (1 transition)
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_CRYPT_50200@rel:R25-11#afb535b5
Point-in-Time History:
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

function LoadKeySlot [SWS_CRYPT_50004] Upstream: RS_CRYPTO_02004

ara::core::Result< cryp::KeySlot::Sptr > LoadKeySlot (const ara::core::InstanceSpecifier &iSpecify) noexcept;

Load a read-only key slot. This factory method shall load the information associated with the specified KeySlot into a KeySlot object.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 8366de538e98 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The function LoadKeySlot in namespace ara::crypto is designed as a factory method to load a read-only key slot (read-only key slot) [SWS_CRYPT_50004]. When called synchronously, the method loads the metadata and key information associated with the specified slot into a corresponding KeySlot object [SWS_CRYPT_50004]. Header file ara/crypto/common/entry_point.h is used for inclusion.

As input parameter, the function accepts an instance specification iSpecify of type const ara::core::InstanceSpecifier& [SWS_CRYPT_50004]. This identifier must refer to the RPortPrototype of a CryptoKeySlotInterface or a CryptoKeySlotClientInterface that uniquely identifies the key to be loaded [SWS_CRYPT_50004].

As result, the method returns a ara::core::Result<cryp::KeySlot::Sptr>, which provides either a shared pointer to the loaded KeySlot object or an error [SWS_CRYPT_50004]. The specification defines no standardized error codes for LoadKeySlot [SWS_CRYPT_50004]. However, a ProcessMappingViolation is documented: this occurs when the passed InstanceSpecifier does not refer to a port modeled for the current process that is typed by a CryptoKeySlotInterface or CryptoKeySlotClientInterface [SWS_CRYPT_50004].

For execution, the function is declared as noexcept and offers complete exception safety (exception safe) [SWS_CRYPT_50004]. In addition, the call is specified as thread-safe (thread-safe), so that concurrent access by multiple threads is supported [SWS_CRYPT_50004].

This usage note was generated automatically based on the AUTOSAR specification R25-11.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/crypto/common/entry_point.h"
Scopenamespace ara::crypto
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)ProcessMappingVio- In case InstanceSpecifier does not point to a PortPrototype typed lation by a CryptoKeySlotInterface or CryptoKeySlotClientInterface modeled for the current process.

Parameter (in)

ParameterBeschreibung
iSpecifyinstance specifier to the RPortPrototype of a CryptoKeySlot Interface or a CryptoKeySlotClientInterface that identifies the key to be loaded

Rückgabewert

TypBeschreibung
ara::core::Result<cryp::KeySlot::Sptr >a result containing either the KeySlot or an error

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_CRYPT_50004
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50004@rel:R25-11#7cbfa6f8
Content hash
7cbfa6f8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50004
Status: valid/unmigrated Version: rel:R25-11#7cbfa6f8 Versionshistorie & Revisions (1 transition)
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_CRYPT_50004@rel:R25-11#7cbfa6f8
Point-in-Time History:
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

function LoadWriteableKeySlot [SWS_CRYPT_50005] Upstream: RS_CRYPTO_02004

ara::core::Result< cryp::WriteableKeySlot::Sptr > LoadWriteableKeySlot (const ara::core::InstanceSpecifier &iSpecify) noexcept;

Load a writeable key slot. This factory method shall load the information associated with the specified KeySlot into a WriteableKeySlot object.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 548256d68415 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The function LoadWriteableKeySlot serves as a synchronous factory method to load the information of a specified key slot into a cryp::WriteableKeySlot object [SWS_CRYPT_50005]. The function is defined in namespace ara::crypto and provided via header ara/crypto/common/entry_point.h [SWS_CRYPT_50005].

  • Parameters: iSpecify (of type const ara::core::InstanceSpecifier&) refers to the RPortPrototype of a CryptoKeySlotInterface and thereby identifies the key to be loaded [SWS_CRYPT_50005].
  • Return value: A ara::core::Result<cryp::WriteableKeySlot::Sptr> containing either the loaded KeySlot as a shared pointer or an error object [SWS_CRYPT_50005].
  • Semantics: The call is executed synchronously directly upon execution [SWS_CRYPT_50005].

Error Handling and Boundary Conditions

No standardized error codes are specified for this function [SWS_CRYPT_50005]. Occurring error conditions are presumably communicated via the returned ara::core::Result. Question Q-e2f8966bf78b1569 (open) An architectural or configuration error leads to a ProcessMappingViolation if the passed InstanceSpecifier does not reference a PortPrototype modeled for the current process that is typed by a CryptoKeySlotInterface [SWS_CRYPT_50005].

Concurrency and Interaction

The function is declared thread-safe (thread-safe) and exception-safe (exception safe) with a noexcept guarantee [SWS_CRYPT_50005]. It addresses the overarching cryptography requirement [RS_CRYPTO_02004] and represents the central access point for providing writable key slots in the process [SWS_CRYPT_50005].

This usage note was generated by an AI based on the AUTOSAR R25-11 specification.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/crypto/common/entry_point.h"
Scopenamespace ara::crypto
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)ProcessMappingVio- In case InstanceSpecifier does not point to a PortPrototype typed lation by a CryptoKeySlotInterface modeled for the current process.

Parameter (in)

ParameterBeschreibung
iSpecifyinstance specifier to the RPortPrototype of a CryptoKeySlot Interface that identifies the key to be loaded

Rückgabewert

TypBeschreibung
ara::core::Result<cryp::WriteableKeySlot::Sptr >a result containing either the KeySlot or an error

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_CRYPT_50005
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50005@rel:R25-11#f12ec260
Content hash
f12ec260
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50005
Status: valid/unmigrated Version: rel:R25-11#f12ec260 Versionshistorie & Revisions (1 transition)
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_CRYPT_50005@rel:R25-11#f12ec260
Point-in-Time History:
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

function LoadX509Provider [SWS_CRYPT_40099] Upstream: RS_CRYPTO_02306, RS_CRYPTO_02301

ara::core::Result< x509::X509Provider::Sptr > LoadX509Provider () noexcept;

This factory method shall create or return the existing instance of the singleton X.509 Provider.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 70f8a61e4c9e Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The function LoadX509Provider in namespace ara::crypto serves as a factory method to create the singleton instance of the X.509 provider or retrieve the already existing instance [SWS_CRYPT_40099]. To make the call, header file ara/crypto/common/entry_point.h must be included [SWS_CRYPT_40099]. The call is synchronous and accepts no arguments. As return value, the function provides a ara::core::Result<ara::crypto::x509::X509Provider::Sptr>, which provides a shared pointer to the loaded instance of the X.509 provider [SWS_CRYPT_40099].

Error handling

No standardized error codes are defined in the specification for LoadX509Provider [SWS_CRYPT_40099]. The function is declared with noexcept and specified as exception safe [SWS_CRYPT_40099]. Interpretation: Since the result is encapsulated via type ara::core::Result, system-specific error states during provider initialization are likely transmitted to the caller via this Result object. Question Q-c187f4f152ccc89f (open)

Concurrency and Interaction

According to the specification, LoadX509Provider is classified as thread-safe [SWS_CRYPT_40099]. Consequently, the call can be made in parallel from multiple threads without additional synchronization measures in order to obtain a reference to the same singleton instance. Technically, the function implements the higher-level requirements RS_CRYPTO_02306 and RS_CRYPTO_02301 [SWS_CRYPT_40099].

This text was generated by an AI system based on the specification.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/crypto/common/entry_point.h"
Scopenamespace ara::crypto
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result<ara::crypto::x509::X509Provider::Sptr >shared pointer to loaded X.509 Provider

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_CRYPT_40099
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_40099@rel:R25-11#2a7738fd
Content hash
2a7738fd
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_40099
Status: valid/unmigrated Version: rel:R25-11#f4cbd665 Versionshistorie & Revisions (1 transition, 8 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_CRYPT_40099@rel:R25-11#f4cbd665
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2a7738fd2026-09-30
  • R19-11rel:R19-11#8a956a4f2026-10-14
  • R20-11rel:R20-11#f9999e732026-10-14
  • R21-11rel:R21-11#ca7e16cc2026-10-14
  • R22-11rel:R22-11#56e074fd2026-10-14
  • R23-11rel:R23-11#45ef49192026-10-14
  • R24-11rel:R24-11#d7d9c25c2026-10-14
  • R25-11rel:R25-11#f4cbd6652026-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

function MakeErrorCode [SWS_CRYPT_19951] Upstream: RS_CRYPTO_02310

constexpr ara::core::ErrorCode MakeErrorCode (CryptoErrorDomain::Errc code, ara::core::ErrorDomain::SupportDataType data) noexcept;

Makes Error Code instances from the Crypto Error Domain. The returned ErrorCode instance always references to CryptoErrorDomain.

Header-Datei#include "ara/crypto/common/crypto_error_domain.h"
Scopenamespace ara::crypto
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
codean error code identifier from the CryptoErrc enumeration
datasupplementary data for the error description

Rückgabewert

TypBeschreibung
ara::core::ErrorCodean instance of ErrorCode created according the arguments

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

Record
AUTOSAR/AP/record/SWS_CRYPT_19951
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_19951@rel:R25-11#20338c6d
Content hash
20338c6d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_19951
Status: valid/unmigrated Version: rel:R25-11#276b197e Versionshistorie & Revisions (1 transition, 8 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_CRYPT_19951@rel:R25-11#276b197e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#20338c6d2026-09-30
  • R19-11rel:R19-11#f8fb318a2026-10-14
  • R20-11rel:R20-11#6c6c91312026-10-14
  • R21-11rel:R21-11#6e5d39d22026-10-14
  • R22-11rel:R22-11#4538fd582026-10-14
  • R23-11rel:R23-11#055b306a2026-10-14
  • R24-11rel:R24-11#db6eb22d2026-10-14
  • R25-11rel:R25-11#276b197e2026-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