DEENESPTFRRUARHIKOZHNL

clase ara::crypto::cryp::CryptoProvider

[SWS_CRYPT_20700] Upstream: RS_CRYPTO_02305, RS_CRYPTO_02307, RS_CRYPTO_02401

class CryptoProvider {...};

CryptoProviderInterface representing one implementation of a set of cryptographic primitives with a key storage.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Forwarding-Header#include "ara/crypto/crypto_fwd.h"
Scopenamespace ara::crypto::cryp

Guía del usuarioGENERADO POR IA

Sirve como fábrica central para la creación y gestión de contextos criptográficos, algoritmos y objetos de clave.
GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 0bf253450f85 Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

Sirve como fábrica central para la creación y gestión de contextos criptográficos, algoritmos y objetos de clave.

La clase sirve como fábrica central para la provisión de primitivas criptográficas, así como para la creación y gestión de claves y contextos criptográficos ([SWS_CRYPT_20742], [SWS_CRYPT_20721]). Las instancias no son copiables ni trasladables y se gestionan a través de punteros compartidos ([SWS_CRYPT_20701], [SWS_CRYPT_41005]). Los errores, como algoritmos incompatibles o recursos agotados, se devuelven con seguridad de tipos mediante ara::core::Result ([SWS_CRYPT_30098]).

Contexto

La clase ara::crypto::cryp::CryptoProvider constituye la interfaz central para la provisión de operaciones y algoritmos criptográficos en la pila de AUTOSAR Adaptive. Como capa de abstracción, agrupa implementaciones concretas de primitivas criptográficas, así como el acceso a claves y estructuras de memoria. En una arquitectura de sistema típica, el CryptoProvider actúa como intermediario y fábrica entre la lógica de aplicación, los almacenes de claves persistentes y los contextos de procesamiento especializados. Las aplicaciones solicitan a través del proveedor contextos especializados para cifrado simétrico ([SWS_CRYPT_20742]), cifrado asimétrico ([SWS_CRYPT_20750], [SWS_CRYPT_20751]), firmas digitales ([SWS_CRYPT_20756], [SWS_CRYPT_20757]), funciones hash ([SWS_CRYPT_20747]), autenticación de mensajes ([SWS_CRYPT_20746]) o métodos de intercambio de claves ([SWS_CRYPT_20758], [SWS_CRYPT_20752]). Al mismo tiempo, el proveedor interactúa con los KeySlot subyacentes para instanciar claves almacenadas ([SWS_CRYPT_20762], [SWS_CRYPT_20764]).

ProviderKontext Anwendung Anwendung CryptoProvider CryptoProvider Anwendung->CryptoProvider KeySlot KeySlot CryptoProvider->KeySlot CryptoContext CryptoContext CryptoProvider->CryptoContext CryptoObject CryptoObject CryptoProvider->CryptoObject

Diagrama de contexto: integración del CryptoProvider como fábrica e intermediario entre aplicación, contextos y KeySlot. Fuentes: [SWS_CRYPT_20742], [SWS_CRYPT_20756], [SWS_CRYPT_20762].

Ciclo de vida

Las instancias de CryptoProvider poseen semánticas estrictas respecto a las operaciones de copia y movimiento: tanto el constructor de copia ([SWS_CRYPT_41005]) y el constructor de movimiento ([SWS_CRYPT_41006]) como los operadores de asignación correspondientes ([SWS_CRYPT_30216], [SWS_CRYPT_30217]) están explícitamente eliminados (delete). Por lo tanto, el ciclo de vida de una instancia se controla habitualmente mediante referencias o propiedad compartida, para lo cual se define el alias de tipo CryptoProvider::Sptr basado en std::shared_ptr ([SWS_CRYPT_20701]). La limpieza se efectúa a través del destructor virtual estándar ([SWS_CRYPT_20710]). Todos los métodos de interfaz del proveedor están especificados como seguros frente a excepciones (exception safe) y thread-safe (thread-safe), con lo que se permite el acceso concurrente desde múltiples hilos sin sincronización externa a nivel del proveedor.

Ruta de uso

Una ruta de uso típica comprende la provisión de claves, la instanciación del contexto criptográfico adecuado y la posterior ejecución de las transformaciones. En primer lugar, la aplicación genera o importa el material de clave necesario. Para ello, CryptoProvider ofrece métodos como GenerateSymmetricKey ([SWS_CRYPT_20721]), GeneratePrivateKey ([SWS_CRYPT_20722]), ImportPublicKey ([SWS_CRYPT_20732]) o la carga desde un KeySlot existente ([SWS_CRYPT_20762], [SWS_CRYPT_20763]). En función del algoritmo, se pueden determinar permisos por defecto mediante GetDefaultAllowedUsage ([SWS_CRYPT_20955]). En el siguiente paso, la aplicación crea el contexto correspondiente a través de los métodos de fábrica, por ejemplo un AuthCipherCtx ([SWS_CRYPT_20745]) o un SignerPrivateCtx ([SWS_CRYPT_20756]). De forma complementaria, el proveedor suministra datos aleatorios a través de GenerateRandomData ([SWS_CRYPT_30098]) o un valor de contador que crece monótonamente a través de GetSecureCounter ([SWS_CRYPT_20098]). Para el intercambio seguro, el material de clave se puede exportar protegido mediante ExportSecuredKey ([SWS_CRYPT_20728]).

Generación de claves y contextosAplicaciónCryptoProviderAuthCipherCtxGenerateSymmetricKey(algId, allowedUsage)Erzeugt SymmetricKey::SptrResult<SymmetricKey::Sptr>CreateAuthCipherCtx(algId)InstanziierungResult<AuthCipherCtx::Sptr>

Diagrama de secuencia: flujo para la generación de claves y la creación de un contexto de cifrado autenticado. Fuentes: [SWS_CRYPT_20721], [SWS_CRYPT_20745].

Escenarios de error

Los métodos de CryptoProvider reportan errores mediante el tipo de retorno ara::core::Result con valores de ara::crypto::CryptoErrc. En caso de operaciones fallidas rige la semántica de reversión (rollback). Entre los escenarios de error esenciales se encuentran:

  • Parámetros no válidos o incompatibles: Si se pasa un identificador de algoritmo no admitido, los métodos de creación de contexto y clave devuelven CryptoErrc::kUnknownIdentifier ([SWS_CRYPT_20741], [SWS_CRYPT_20742], [SWS_CRYPT_20721]). Si el algoritmo no se corresponde con la primitiva esperada (p. ej., algoritmo asimétrico en la solicitud de una función hash) o si los flags de uso no encajan con la configuración, se produce CryptoErrc::kInvalidArgument o CryptoErrc::kIncompatibleArguments ([SWS_CRYPT_20747], [SWS_CRYPT_20722], [SWS_CRYPT_50132]).
  • Errores de formato y almacenamiento de claves: Al cargar mediante KeySlot, un slot no ocupado da lugar a CryptoErrc::kEmptyKeySlot, mientras que tipos de clave ajenos o incorrectos desencadenan CryptoErrc::kIncompatibleObject ([SWS_CRYPT_20762], [SWS_CRYPT_20764]). Los formatos de serialización defectuosos provocan CryptoErrc::kUnsupportedFormat ([SWS_CRYPT_50014], [SWS_CRYPT_20732]).
  • Cuellos de botella de recursos y capacidad: Si el generador de números aleatorios está agotado temporalmente o si un recurso de hardware está bloqueado, se devuelve CryptoErrc::kBusyResource ([SWS_CRYPT_30098], [SWS_CRYPT_20721], [SWS_CRYPT_20098]). En caso de búferes de destino insuficientemente dimensionados para datos de identificación o exportaciones de claves, la interfaz reporta CryptoErrc::kInsufficientCapacity ([SWS_CRYPT_50015], [SWS_CRYPT_20728]).
  • Funcionalidades no admitidas: Si una implementación concreta del proveedor no admite funciones opcionales como identificación de proveedor, Secure Counter o RNG estándar, se reporta el error CryptoErrc::kUnsupported ([SWS_CRYPT_50015], [SWS_CRYPT_20098], [SWS_CRYPT_30098]).

Esta guía se basa exclusivamente en la definición de interfaz de ara::crypto::cryp::CryptoProvider para AUTOSAR R25-11.

Mapa de miembros

Diagrama de clases

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

G nara__crypto__cryp__CryptoProvider844 CryptoProvider + CryptoProvider() + operator=() + ~CryptoProvider() + CreateAuthCipherCtx() + CreateDecryptorPrivateCtx() + CreateEncryptorPublicCtx() + CreateHashFunctionCtx() + CreateKeyAgreementPrivateCtx() + CreateKeyDecapsulatorPrivateCtx() + CreateKeyDerivationFunctionCtx() + CreateKeyEncapsulatorPublicCtx() + CreateMessageAuthnCodeCtx() + CreateProtectedKeyImportCtx() + CreateRandomGeneratorCtx() + CreateSignerPrivateCtx() + CreateSymmetricCipherCtx() … 16 weitere

Vista de detalle

Selecciona una entrada en el índice.

Constructores y destructor

CryptoProvider función 2

Copy-Constructor.

Sobrecargas CryptoProvider 2
CryptoProvider (const CryptoProvider &)=delete; SWS_CRYPT_41005
CryptoProvider (CryptoProvider &&)=delete; SWS_CRYPT_41006

Destructor.

virtual ~CryptoProvider () noexcept=default;

Métodos

Create a symmetric authenticated cipher context.

virtual ara::core::Result< AuthCipherCtx::Sptr > CreateAuthCipherCtx (AlgId algId) noexcept=0;

Create a decryption private key context.

virtual ara::core::Result< DecryptorPrivateCtx::Sptr > CreateDecryptor PrivateCtx (AlgId algId) noexcept=0;

Create an encryption public key context.

virtual ara::core::Result< EncryptorPublicCtx::Sptr > CreateEncryptor PublicCtx (AlgId algId) noexcept=0;

Create a hash function context.

virtual ara::core::Result< HashFunctionCtx::Sptr > CreateHashFunction Ctx (AlgId algId) noexcept=0;

Create a key-agreement private key context.

virtual ara::core::Result< KeyAgreementPrivateCtx::Sptr > CreateKey AgreementPrivateCtx (AlgId algId) noexcept=0;

Create a key-decapsulator private context of a Key Encapsulation Mechanism (KEM).

virtual ara::core::Result< KeyDecapsulatorPrivateCtx::Sptr > CreateKey DecapsulatorPrivateCtx (AlgId algId) noexcept=0;

Create a key derivation function context.

virtual ara::core::Result< KeyDerivationFunctionCtx::Sptr > CreateKey DerivationFunctionCtx (AlgId algId) noexcept=0;

Create a key-encapsulator public context of a Key Encapsulation Mechanism (KEM).

virtual ara::core::Result< KeyEncapsulatorPublicCtx::Sptr > CreateKey EncapsulatorPublicCtx (AlgId algId) noexcept=0;

Create a symmetric message authentication code context.

virtual ara::core::Result< MessageAuthnCodeCtx::Sptr > CreateMessage AuthnCodeCtx (AlgId algId) noexcept=0;

The interface shall create a protected key import context.

Create a Random Number Generator (RNG) context.

virtual ara::core::Result< RandomGeneratorCtx::Sptr > CreateRandom GeneratorCtx (AlgId algId) noexcept=0;

Create a signature private key context.

virtual ara::core::Result< SignerPrivateCtx::Sptr > CreateSigner PrivateCtx (AlgId algId) noexcept=0;

Create a symmetric cipher context.

virtual ara::core::Result< SymmetricCipherCtx::Sptr > CreateSymmetric CipherCtx (AlgId algId) noexcept=0;

Create a symmetric key-wrap algorithm context.

Create a signature verification public key context.

virtual ara::core::Result< VerifierPublicCtx::Sptr > CreateVerifier PublicCtx (AlgId algId) noexcept=0;

The interface shall format the data referenced by the specified key, securely wrap this payload and serialize the secured payload into the provided output buffer. The format shall be specified implicitly by the AlgId. The formatted payload shall be wrapped according to the specified algId using the kek; if kek is not provided, ExportSecuredKey shall apply a key-encryption-key implictly defined by the algId or the default key-encryption-key of the CryptoProvider.

virtual ara::core::Result< std::size_t > ExportSecuredKey (AlgId alg Id, CryptoObject::Sptr key, ReadWriteMemRegion resultBuffer, ara::core::Optional< SymmetricKey::Sptr > kek) noexcept=0;

Generate a new public/private key pair and return the private key. The public key can be retrieved via the function PrivateKey::GetPublicKey() The allowed usage flags of the Public Key are set based on the allowed usage of the PrivateKey: • kAllowDataDecryption --> kAllowDataEncryption • kAllowSigGeneration --> kAllowSigVerification • kAllowKeyAgreement --> kAllowKeyAgreement • kAllowKeyUnwrapping --> kAllowKeyWrapping Additionally, the allowed usage: • kAllowPlaintextExport • kAllowPersist are set for the public key.

virtual ara::core::Result< PrivateKey::Sptr > GeneratePrivateKey (Alg Id algId, AllowedUsageFlags privateKeyAllowedUsage) noexcept=0;

Fill the provided output data buffer randomData with random data.

virtual ara::core::Result< void > GenerateRandomData (ReadWriteMem Region randomData) noexcept=0;

Generate a new symmetric key.

virtual ara::core::Result< SymmetricKey::Sptr > GenerateSymmetricKey (AlgId algId, AllowedUsageFlags allowedUsage) noexcept=0;

Get a CryptoProvider specific default set of allowedUsages for the provided AlgId. The returned allowedUsages shall not contain kAllowPlaintextExport, kAllowPersist and kAllowSecuredExport.

virtual ara::core::Result< AllowedUsageFlags > GetDefaultAllowedUsage (AlgId algId) noexcept=0;
GetProviderID función

Obtain provider specific identification data.

virtual ara::core::Result< void > GetProviderID (ara::core::Optional< ReadOnlyMemRegion > in, ReadWriteMemRegion idData) noexcept=0;

Get the required size of the output buffer for ID data used by GetProviderID.

virtual ara::core::Result< std::size_t > GetProviderIdSize () noexcept=0;

Get the current value of the secure counter of this CryptoProvider. The current counter value is guaranteed to be stricly larger than any previously returned counter value.

ara::core::Result< SecureCounter > GetSecureCounter () noexcept;

Import a serialized private key.

virtual ara::core::Result< PrivateKey::Sptr > ImportPrivateKey (Read OnlyMemRegion serialized, AllowedUsageFlags allowedUsage, FormatId formatId, ara::core::Optional< AlgId > algId) noexcept=0;

Import a serialized public key.

virtual ara::core::Result< PublicKey::Sptr > ImportPublicKey (ReadOnly MemRegion serialized, AllowedUsageFlags allowedUsage, FormatId format Id, ara::core::Optional< AlgId > algId) noexcept=0;

Import a serialized symmetric key.

virtual ara::core::Result< SymmetricKey::Sptr > ImportSymmetricKey (ReadOnlyMemRegion serialized, AllowedUsageFlags allowedUsage, Format Id formatId, ara::core::Optional< AlgId > algId) noexcept=0;

Load a private key from the provided KeySlot.

virtual ara::core::Result< PrivateKey::Sptr > LoadPrivateKey (Key Slot::Sptr keySlot) noexcept=0;
LoadPublicKey función

Load a public key from the provided KeySlot.

virtual ara::core::Result< PublicKey::Sptr > LoadPublicKey (Key Slot::Sptr keySlot) noexcept=0;

Load a symmetric key from the provided KeySlot.

virtual ara::core::Result< SymmetricKey::Sptr > LoadSymmetricKey (Key Slot::Sptr keySlot) noexcept=0;

Operadores

operator= función 2

Copy-assign another CryptoProvider to this instance.

Sobrecargas = 2
CryptoProvider & operator= (const CryptoProvider &other)=delete; SWS_CRYPT_30216
CryptoProvider & operator= (CryptoProvider &&other)=delete; SWS_CRYPT_30217

Alias de tipo

Sptr alias de tipo

Shared pointer of the CryptoProvider.

Documentación de los métodos

función CreateAuthCipherCtx [SWS_CRYPT_20745] Upstream: RS_CRYPTO_02207, RS_AP_00144

virtual ara::core::Result< AuthCipherCtx::Sptr > CreateAuthCipherCtx (AlgId algId) noexcept=0;

Create a symmetric authenticated cipher context.

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

El método CreateAuthCipherCtx sirve para crear un contexto para cifrado autenticado simétrico ([SWS_CRYPT_20745]). Está definido como interfaz virtual pura en la clase ara::crypto::cryp::CryptoProvider y debe incluirse a través del archivo de cabecera ara/crypto/cryp/crypto_provider.h ([SWS_CRYPT_20745]).

Uso y semántica

Como parámetro de entrada se pasa algId, que identifica el algoritmo criptográfico de destino ([SWS_CRYPT_20745]). La función opera de forma síncrona y no genera excepciones (noexcept) ([SWS_CRYPT_20745]). En caso de ejecución correcta, devuelve un ara::core::Result con un puntero inteligente a la instancia creada AuthCipherCtx::Sptr ([SWS_CRYPT_20745]).

Manejo de errores

En caso de error, se devuelve el código de error correspondiente en el ara::core::Result con semántica de reversión ([SWS_CRYPT_20745]):

  • ara::crypto::CryptoErrc::kInvalidArgument: Si algId no especifica un algoritmo para un cifrado de flujo autenticado simétrico ([SWS_CRYPT_20745]).
  • ara::crypto::CryptoErrc::kUnknownIdentifier: Si se ha pasado un valor no compatible para algId ([SWS_CRYPT_20745]).

concurrencia

La llamada a CreateAuthCipherCtx es segura para subprocesos (thread-safe) y está especificada como segura frente a excepciones (exception safe) ([SWS_CRYPT_20745]).

Este texto ha sido generado automáticamente. Todas las afirmaciones técnicas están respaldadas por referencias de especificación.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdidentifier of the target crypto algorithm

Rückgabewert

TypBeschreibung
ara::core::Result< AuthCipherCtx::Sptr >Smart pointer to the created context

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if algId argument specifies a crypto algorithm different from symmetric authenticated stream cipher
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if algId argument has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20745
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20745@rel:R25-11#a6661883
Content hash
a6661883
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20745
Status: valid/unmigrated Version: rel:R25-11#39b58f01 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_20745@rel:R25-11#39b58f01
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f26e531e2026-09-30
  • R19-11rel:R19-11#068856e02026-10-14
  • R20-11rel:R20-11#07ae27852026-10-14
  • R21-11rel:R21-11#35bf37702026-10-14
  • R22-11rel:R22-11#69962f862026-10-14
  • R23-11rel:R23-11#ca5aac9e2026-10-14
  • R24-11rel:R24-11#7d9792cd2026-10-14
  • R25-11rel:R25-11#39b58f012026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función CreateDecryptorPrivateCtx [SWS_CRYPT_20751] Upstream: RS_CRYPTO_02202, RS_AP_00144

virtual ara::core::Result< DecryptorPrivateCtx::Sptr > CreateDecryptor PrivateCtx (AlgId algId) noexcept=0;

Create a decryption private key context.

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

usar

El método CreateDecryptorPrivateCtx de la interfaz ara::crypto::cryp::CryptoProvider sirve para crear un contexto para el descifrado asimétrico utilizando una clave privada según [SWS_CRYPT_20751]. Como parámetro de entrada, la función espera algId, que determina el identificador del algoritmo de cifrado o descifrado asimétrico deseado. Interpretación: Se asume que la llamada se ejecuta de forma síncrona, ya que la signatura devuelve directamente un ara::core::Result que, en caso de éxito, contiene un puntero inteligente al contexto creado (DecryptorPrivateCtx::Sptr) [SWS_CRYPT_20751]. Pregunta Q-45d1c4a1b2133f4c (abierta)

Manejo de errores

Si el contexto no puede crearse, el error se transmite en el ara::core::Result devuelto. Si se ha pasado un valor no compatible para el parámetro algId, esto da como resultado específicamente el código de error ara::crypto::CryptoErrc::kUnknownIdentifier con semántica de reversión [SWS_CRYPT_20751].

Concurrencia y restricciones

La función está definida como noexcept y garantiza seguridad frente a excepciones (exception safe) [SWS_CRYPT_20751]. Para el acceso simultáneo desde múltiples subprocesos, el método está especificado como thread-safe [SWS_CRYPT_20751]. Dado que la signatura está declarada en la cabecera ara/crypto/cryp/crypto_provider.h como método virtual puro, la concreción específica corresponde a la respectiva implementación del proveedor [SWS_CRYPT_20751].

Esta nota de uso ha sido generada automáticamente y se basa exclusivamente en los datos de especificación de la versión AUTOSAR Adaptive R25-11.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdidentifier of the target asymmetric encryption/decryption algorithm

Rückgabewert

TypBeschreibung
ara::core::Result<DecryptorPrivateCtx::Sptr >Smart pointer to the created context

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if AlgId argument has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20751
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20751@rel:R25-11#9de9ebbe
Content hash
9de9ebbe
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20751
Status: valid/unmigrated Version: rel:R25-11#9ad4a16f 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_20751@rel:R25-11#9ad4a16f
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#d0572a212026-09-30
  • R19-11rel:R19-11#958150e62026-10-14
  • R20-11rel:R20-11#db1918e82026-10-14
  • R21-11rel:R21-11#d03527eb2026-10-14
  • R22-11rel:R22-11#19548e8e2026-10-14
  • R23-11rel:R23-11#b4b720e52026-10-14
  • R24-11rel:R24-11#00b7d5452026-10-14
  • R25-11rel:R25-11#9ad4a16f2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función CreateEncryptorPublicCtx [SWS_CRYPT_20750] Upstream: RS_CRYPTO_02202, RS_AP_00144

virtual ara::core::Result< EncryptorPublicCtx::Sptr > CreateEncryptor PublicCtx (AlgId algId) noexcept=0;

Create an encryption public key context.

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

El método de interfaz virtual puro CreateEncryptorPublicCtx pertenece a la clase ara::crypto::cryp::CryptoProvider y se declara a través del archivo de cabecera ara/crypto/cryp/crypto_provider.h [SWS_CRYPT_20750]. Su cometido consiste en instanciar un nuevo contexto para operaciones de cifrado asimétrico con una clave pública [SWS_CRYPT_20750].

Uso: La llamada se realiza de forma síncrona indicando el parámetro algId de tipo AlgId, que determina el identificador del algoritmo de cifrado o descifrado asimétrico deseado [SWS_CRYPT_20750]. El método devuelve el resultado en un ara::core::Result que, en caso de éxito, proporciona un puntero inteligente de tipo EncryptorPublicCtx::Sptr al contexto creado [SWS_CRYPT_20750].

Tratamiento de errores: Si el argumento algId contiene un valor de algoritmo no compatible, la llamada falla y devuelve el código de error ara::crypto::CryptoErrc::kUnknownIdentifier en el ara::core::Result [SWS_CRYPT_20750]. Para este caso de error se ha especificado una semántica de reversión explícita [SWS_CRYPT_20750].

Concurrencia y seguridad frente a excepciones: La interfaz está declarada como noexcept, se considera segura frente a excepciones (exception safe) y está especificada expresamente como segura para subprocesos (thread-safe) [SWS_CRYPT_20750].

Este texto fue creado por una IA sobre la base de la especificación.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdidentifier of the target asymmetric encryption/decryption algorithm

Rückgabewert

TypBeschreibung
ara::core::Result<EncryptorPublicCtx::Sptr>Smart pointer to the created context

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if AlgId argument has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20750
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20750@rel:R25-11#fa2302b5
Content hash
fa2302b5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20750
Status: valid/unmigrated Version: rel:R25-11#645c8167 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_20750@rel:R25-11#645c8167
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8b735d082026-09-30
  • R19-11rel:R19-11#245f8fcf2026-10-14
  • R20-11rel:R20-11#56691f5f2026-10-14
  • R21-11rel:R21-11#f1e172112026-10-14
  • R22-11rel:R22-11#e5ba293e2026-10-14
  • R23-11rel:R23-11#128841ba2026-10-14
  • R24-11rel:R24-11#e48790ba2026-10-14
  • R25-11rel:R25-11#645c81672026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función CreateHashFunctionCtx [SWS_CRYPT_20747] Upstream: RS_CRYPTO_02205, RS_AP_00144

virtual ara::core::Result< HashFunctionCtx::Sptr > CreateHashFunction Ctx (AlgId algId) noexcept=0;

Create a hash function context.

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

El método CreateHashFunctionCtx sirve para instanciar un contexto de hash criptográfico ([SWS_CRYPT_20747]). Se proporciona como interfaz virtual pura de la clase ara::crypto::cryp::CryptoProvider a través de la cabecera ara/crypto/cryp/crypto_provider.h.

Uso y parámetros

La llamada se realiza de forma síncrona y espera como parámetro de entrada algId (de tipo AlgId), que identifica el algoritmo criptográfico deseado ([SWS_CRYPT_20747]). Como valor de retorno, la función proporciona un ara::core::Result<HashFunctionCtx::Sptr> que, en caso de éxito, contiene un puntero inteligente al contexto creado.

Manejo de errores

Si la creación falla, el ara::core::Result contiene un código de error correspondiente con semántica de reversión ([SWS_CRYPT_20747]):

  • ara::crypto::CryptoErrc::kInvalidArgument: Se devuelve si la algId pasada está especificada para un tipo de algoritmo distinto a una función hash ([SWS_CRYPT_20747]).
  • ara::crypto::CryptoErrc::kUnknownIdentifier: Se produce si se ha pasado un identificador no compatible para algId ([SWS_CRYPT_20747]).

Concurrencia y restricciones

La función está declarada como noexcept y especificada como segura frente a excepciones («exception safe») ([SWS_CRYPT_20747]). Además, la llamada es segura para subprocesos («thread-safe»), por lo que se permiten llamadas simultáneas desde varios subprocesos sobre la misma instancia de CryptoProvider ([SWS_CRYPT_20747]).

Este texto fue generado por una IA sobre la base de la especificación R25-11.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdidentifier of the target crypto algorithm

Rückgabewert

TypBeschreibung
ara::core::Result< HashFunctionCtx::Sptr >Smart pointer to the created context

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if algId argument specifies a crypto algorithm different from hash function
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if algId argument has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20747
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20747@rel:R25-11#3843b48e
Content hash
3843b48e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20747
Status: valid/unmigrated Version: rel:R25-11#a65adf82 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_20747@rel:R25-11#a65adf82
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f2f9f89e2026-09-30
  • R19-11rel:R19-11#27d8bfbe2026-10-14
  • R20-11rel:R20-11#8ae2344a2026-10-14
  • R21-11rel:R21-11#5db0d9fb2026-10-14
  • R22-11rel:R22-11#f8120b092026-10-14
  • R23-11rel:R23-11#cd6826a42026-10-14
  • R24-11rel:R24-11#8ca5ca262026-10-14
  • R25-11rel:R25-11#a65adf822026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función CreateKeyAgreementPrivateCtx [SWS_CRYPT_20758] Upstream: RS_CRYPTO_02104, RS_AP_00144

virtual ara::core::Result< KeyAgreementPrivateCtx::Sptr > CreateKey AgreementPrivateCtx (AlgId algId) noexcept=0;

Create a key-agreement private key context.

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

El método CreateKeyAgreementPrivateCtx de la clase ara::crypto::cryp::CryptoProvider sirve para crear un contexto de clave privada para acuerdos de claves (KeyAgreementPrivateCtx) de acuerdo con [SWS_CRYPT_20758]. La declaración se proporciona a través del archivo de cabecera #include "ara/crypto/cryp/crypto_provider.h".

Uso y llamada

Como parámetro de transferencia, el método síncrono espera el identificador algId del tipo AlgId, el cual especifica el algoritmo criptográfico deseado para el acuerdo de claves. Como valor de retorno, la función proporciona un ara::core::Result<KeyAgreementPrivateCtx::Sptr> que, en caso de éxito, encapsula un puntero inteligente a la instancia de contexto recién creada [SWS_CRYPT_20758].

Manejo de errores

Si la instanciación falla, el ara::core::Result devuelto contiene un código de error con semántica de reversión [SWS_CRYPT_20758]:

  • ara::crypto::CryptoErrc::kInvalidArgument: Se produce cuando el argumento algId indica un algoritmo criptográfico que difiere de los procedimientos de acuerdo de claves.
  • ara::crypto::CryptoErrc::kUnknownIdentifier: Se devuelve en caso de que el identificador algId presente un valor no admitido.

Concurrencia y seguridad

La interfaz está declarada como noexcept y definida como segura ante excepciones (exception safe). Además, la llamada está especificada como segura para subprocesos (thread-safe), de modo que se permiten llamadas simultáneas sobre la misma instancia de CryptoProvider [SWS_CRYPT_20758].

Esta nota de uso se ha generado automáticamente a partir de la especificación de AUTOSAR R25-11.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdidentifier of the target key-agreement crypto algorithm

Rückgabewert

TypBeschreibung
ara::core::Result< KeyAgreementPrivateCtx::Sptr >Smart pointer to the created context

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if algId argument specifies a crypto algorithm different from key-agreement
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if algId argument has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20758
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20758@rel:R25-11#cdf28805
Content hash
cdf28805
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20758
Status: valid/unmigrated Version: rel:R25-11#768fe78c 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_20758@rel:R25-11#768fe78c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#64be1dbd2026-09-30
  • R19-11rel:R19-11#b377ec0f2026-10-14
  • R20-11rel:R20-11#8e18e3592026-10-14
  • R21-11rel:R21-11#d272fd992026-10-14
  • R22-11rel:R22-11#4a3ac1a22026-10-14
  • R23-11rel:R23-11#ad3845082026-10-14
  • R24-11rel:R24-11#c10793c52026-10-14
  • R25-11rel:R25-11#768fe78c2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función CreateKeyDecapsulatorPrivateCtx [SWS_CRYPT_20753] Upstream: RS_CRYPTO_02104, RS_CRYPTO_02209, RS_AP_00144

virtual ara::core::Result< KeyDecapsulatorPrivateCtx::Sptr > CreateKey DecapsulatorPrivateCtx (AlgId algId) noexcept=0;

Create a key-decapsulator private context of a Key Encapsulation Mechanism (KEM).

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

usar

El método CreateKeyDecapsulatorPrivateCtx de la interfaz ara::crypto::cryp::CryptoProvider sirve para crear un contexto privado para el desencapsulado de claves para un Key Encapsulation Mechanism (KEM) [SWS_CRYPT_20753]. Como parámetro de entrada espera algId del tipo AlgId, el cual identifica el algoritmo criptográfico KEM deseado [SWS_CRYPT_20753]. La función opera de forma síncrona y devuelve el resultado en un ara::core::Result<KeyDecapsulatorPrivateCtx::Sptr>, que en caso de éxito encapsula un puntero inteligente al contexto recién instanciado [SWS_CRYPT_20753].

Manejo de errores

Si se produce un error durante la creación del contexto, este se notifica a través del ara::core::Result con semántica de reversión [SWS_CRYPT_20753]:

  • ara::crypto::CryptoErrc::kInvalidArgument: el argumento algId especifica un algoritmo criptográfico que no es un procedimiento KEM asimétrico [SWS_CRYPT_20753].
  • ara::crypto::CryptoErrc::kUnknownIdentifier: el argumento algId presenta un valor no compatible [SWS_CRYPT_20753].

Concurrencia y seguridad de ejecución

La interfaz está declarada como noexcept y especificada como segura frente a excepciones (exception safe) [SWS_CRYPT_20753]. Además, la ejecución está diseñada para ser segura para subprocesos (thread-safe) [SWS_CRYPT_20753].

Esta nota de uso se basa en la especificación AUTOSAR Adaptive R25-11.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdidentifier of the target KEM crypto algorithm

Rückgabewert

TypBeschreibung
ara::core::Result< KeyDecapsulatorPrivateCtx::Sptr >Smart pointer to the created context

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if algId argument specifies a crypto algorithm different from asymmetric KEM
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if algId argument has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20753
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20753@rel:R25-11#85109495
Content hash
85109495
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20753
Status: valid/unmigrated Version: rel:R25-11#2a254e1e 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_20753@rel:R25-11#2a254e1e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ce72d5082026-09-30
  • R19-11rel:R19-11#8ce1bc4c2026-10-14
  • R20-11rel:R20-11#c151a2bd2026-10-14
  • R21-11rel:R21-11#d9e99bf42026-10-14
  • R22-11rel:R22-11#34ef693d2026-10-14
  • R23-11rel:R23-11#fc9a47332026-10-14
  • R24-11rel:R24-11#8a7533962026-10-14
  • R25-11rel:R25-11#2a254e1e2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función CreateKeyDerivationFunctionCtx [SWS_CRYPT_20748] Upstream: RS_CRYPTO_02103, RS_AP_00144

virtual ara::core::Result< KeyDerivationFunctionCtx::Sptr > CreateKey DerivationFunctionCtx (AlgId algId) noexcept=0;

Create a key derivation function context.

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

El método CreateKeyDerivationFunctionCtx de la clase ara::crypto::cryp::CryptoProvider sirve para crear un contexto de ejecución para funciones de derivación de claves ([SWS_CRYPT_20748]). Como parámetro de entrada se pasa el identificador algId del tipo AlgId, el cual define el algoritmo criptográfico de destino deseado. La llamada síncrona devuelve un ara::core::Result que, en caso de ejecución correcta, proporciona un puntero inteligente al contexto creado (KeyDerivationFunctionCtx::Sptr) ([SWS_CRYPT_20748]).

Si se produce un error durante la instanciación, el resultado se devuelve con el código de error correspondiente bajo una semántica de reversión ([SWS_CRYPT_20748]):

  • ara::crypto::CryptoErrc::kInvalidArgument: el argumento algId especifica un algoritmo criptográfico que no representa una función de derivación de claves ([SWS_CRYPT_20748]).
  • ara::crypto::CryptoErrc::kUnknownIdentifier: el identificador proporcionado algId posee un valor no admitido ([SWS_CRYPT_20748]).

La interfaz está declarada como función virtual pura, identificada como noexcept y clasificada de manera vinculante como thread-safe y exception safe ([SWS_CRYPT_20748]). La integración se realiza a través del archivo de cabecera #include "ara/crypto/cryp/crypto_provider.h". La función atiende a los requisitos de nivel superior [RS_CRYPTO_02103] y [RS_AP_00144].

Esta nota de uso fue generada automáticamente por una IA y se basa en las especificaciones de la plataforma AUTOSAR Adaptive R25-11.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdidentifier of the target crypto algorithm

Rückgabewert

TypBeschreibung
ara::core::Result< KeyDerivationFunctionCtx::Sptr >Smart pointer to the created context

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if algId argument specifies a crypto algorithm different from key derivation function
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if algId argument has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20748
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20748@rel:R25-11#9f31eada
Content hash
9f31eada
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20748
Status: valid/unmigrated Version: rel:R25-11#87a97504 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_20748@rel:R25-11#87a97504
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ce0d4c1b2026-09-30
  • R19-11rel:R19-11#529d87c72026-10-14
  • R20-11rel:R20-11#69f8e53c2026-10-14
  • R21-11rel:R21-11#6c13fa4d2026-10-14
  • R22-11rel:R22-11#38efa8462026-10-14
  • R23-11rel:R23-11#bad3069e2026-10-14
  • R24-11rel:R24-11#248bba532026-10-14
  • R25-11rel:R25-11#87a975042026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función CreateKeyEncapsulatorPublicCtx [SWS_CRYPT_20752] Upstream: RS_CRYPTO_02104, RS_CRYPTO_02209, RS_AP_00144

virtual ara::core::Result< KeyEncapsulatorPublicCtx::Sptr > CreateKey EncapsulatorPublicCtx (AlgId algId) noexcept=0;

Create a key-encapsulator public context of a Key Encapsulation Mechanism (KEM).

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

usar

El método CreateKeyEncapsulatorPublicCtx de la interfaz ara::crypto::cryp::CryptoProvider sirve para crear un contexto público para un mecanismo de encapsulación de claves (Key Encapsulation Mechanism, KEM) [SWS_CRYPT_20752]. Para ello, debe incluirse el archivo de cabecera #include "ara/crypto/cryp/crypto_provider.h" [SWS_CRYPT_20752]. La llamada se realiza de forma síncrona: como parámetro de entrada se pasa algId, que especifica el algoritmo criptográfico de destino del KEM. En caso de ejecución correcta, el método devuelve un puntero inteligente al contexto creado (KeyEncapsulatorPublicCtx::Sptr), encapsulado en un ara::core::Result [SWS_CRYPT_20752].

Manejo de errores

Si se produce un error durante la creación, se aplica una semántica de reversión (rollback) y el ara::core::Result contiene un código de error específico de ara::crypto::CryptoErrc [SWS_CRYPT_20752]:

  • ara::crypto::CryptoErrc::kInvalidArgument: Se devuelve si el argumento algId especifica un algoritmo criptográfico que no es un KEM asimétrico [SWS_CRYPT_20752].
  • ara::crypto::CryptoErrc::kUnknownIdentifier: Se notifica si el argumento algId presenta un valor no admitido [SWS_CRYPT_20752].

Concurrencia y seguridad

La función de interfaz está declarada con noexcept y clasificada como segura ante excepciones (exception safe), así como segura para subprocesos (thread-safe) [SWS_CRYPT_20752]. Por lo tanto, se puede llamar de forma segura desde contextos concurrentes sin sincronización externa [SWS_CRYPT_20752].

Esta nota de uso se basa en la especificación AUTOSAR Adaptive R25-11.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdidentifier of the target KEM crypto algorithm

Rückgabewert

TypBeschreibung
ara::core::Result< KeyEncapsulatorPublicCtx::Sptr >Smart pointer to the created context

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if algId argument specifies a crypto algorithm different from asymmetric KEM
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if algId argument has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20752
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20752@rel:R25-11#dcf91081
Content hash
dcf91081
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20752
Status: valid/unmigrated Version: rel:R25-11#80eb6ba8 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_20752@rel:R25-11#80eb6ba8
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#eb9642562026-09-30
  • R19-11rel:R19-11#c59c43e42026-10-14
  • R20-11rel:R20-11#4d2fccee2026-10-14
  • R21-11rel:R21-11#aecc69b32026-10-14
  • R22-11rel:R22-11#9fd887092026-10-14
  • R23-11rel:R23-11#2013b4922026-10-14
  • R24-11rel:R24-11#048a75932026-10-14
  • R25-11rel:R25-11#80eb6ba82026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función CreateMessageAuthnCodeCtx [SWS_CRYPT_20746] Upstream: RS_CRYPTO_02203, RS_AP_00144

virtual ara::core::Result< MessageAuthnCodeCtx::Sptr > CreateMessage AuthnCodeCtx (AlgId algId) noexcept=0;

Create a symmetric message authentication code context.

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

usar

El método virtual puro CreateMessageAuthnCodeCtx de la interfaz ara::crypto::cryp::CryptoProvider requiere el archivo de cabecera ara/crypto/cryp/crypto_provider.h y sirve para crear de forma síncrona un contexto para códigos de autenticación de mensajes simétricos [SWS_CRYPT_20746]. Como valor de entrada, la función recibe el parámetro algId de tipo AlgId, que especifica el algoritmo criptográfico de destino [SWS_CRYPT_20746]. En caso de ejecución correcta, el método devuelve un ara::core::Result<MessageAuthnCodeCtx::Sptr> que encapsula un puntero inteligente a la instancia de contexto recién instanciada [SWS_CRYPT_20746].

Manejo de errores

En caso de error, el objeto Result devuelto proporciona códigos de error específicos con semántica de reversión [SWS_CRYPT_20746]:

  • ara::crypto::CryptoErrc::kInvalidArgument: El argumento algId especifica un algoritmo criptográfico que no es un código de autenticación de mensajes simétrico [SWS_CRYPT_20746].
  • ara::crypto::CryptoErrc::kUnknownIdentifier: Se ha pasado un identificador desconocido o no compatible para el argumento algId [SWS_CRYPT_20746].

Concurrencia y seguridad de ejecución

La interfaz cuenta con el especificador noexcept y garantiza una total seguridad frente a excepciones (exception safe) [SWS_CRYPT_20746]. Asimismo, la función está especificada explícitamente como segura para subprocesos (thread-safe), de modo que las llamadas pueden realizarse en paralelo y sin sincronización externa desde subprocesos concurrentes [SWS_CRYPT_20746].

Esta nota de uso se generó de forma automatizada sobre la base de la especificación.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdidentifier of the target crypto algorithm

Rückgabewert

TypBeschreibung
ara::core::Result<MessageAuthnCodeCtx::Sptr >Smart pointer to the created context

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if algId argument specifies a crypto algorithm different from symmetric message authentication code
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if algId argument has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20746
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20746@rel:R25-11#1ffd654c
Content hash
1ffd654c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20746
Status: valid/unmigrated Version: rel:R25-11#957c6291 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_20746@rel:R25-11#957c6291
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#37f876a32026-09-30
  • R19-11rel:R19-11#e9adf02f2026-10-14
  • R20-11rel:R20-11#d6c0c1ec2026-10-14
  • R21-11rel:R21-11#3670d4772026-10-14
  • R22-11rel:R22-11#178c72202026-10-14
  • R23-11rel:R23-11#2108bb852026-10-14
  • R24-11rel:R24-11#7cfcb5e32026-10-14
  • R25-11rel:R25-11#957c62912026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función CreateProtectedKeyImportCtx [SWS_CRYPT_50017] Upstream: RS_CRYPTO_02105

virtual ara::core::Result< ProtectedKeyImportCtx::Sptr > Create ProtectedKeyImportCtx (AlgId algId) noexcept=0;

The interface shall create a protected key import context.

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

usar

La interfaz CreateProtectedKeyImportCtx de la clase ara::crypto::cryp::CryptoProvider (definida en ara/crypto/cryp/crypto_provider.h) sirve para la creación sincrónica de un contexto para la importación protegida de claves ([SWS_CRYPT_50017]). A través del parámetro de entrada algId se transmite el identificador del algoritmo de envoltura deseado ([SWS_CRYPT_50017]). En caso de instanciación correcta, el método devuelve un ara::core::Result que proporciona un smart pointer ProtectedKeyImportCtx::Sptr hacia el contexto generado ([SWS_CRYPT_50017]).

Manejo de errores

Si la creación falla, el método devuelve en ara::core::Result un código de error con semántica de rollback ([SWS_CRYPT_50017]):

  • ara::crypto::CryptoErrc::kInvalidArgument: Se produce cuando el criptoalgoritmo especificado por algId no es compatible con CryptoProvider para la envoltura ([SWS_CRYPT_50017]).
  • ara::crypto::CryptoErrc::kUnknownIdentifier: Se notifica si el argumento algId contiene un valor de identificador desconocido o no compatible ([SWS_CRYPT_50017]).

Concurrencia y restricciones

El método puramente virtual está declarado como noexcept, ofrece seguridad frente a excepciones y está especificado explícitamente como seguro para hilos (thread-safe) ([SWS_CRYPT_50017]). Por consiguiente, puede invocarse en paralelo desde múltiples hilos sin sincronización externa ([SWS_CRYPT_50017]).

Esta nota de uso ha sido generada de forma automatizada sobre la base de la especificación de AUTOSAR Adaptive R25-11.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdidentifier of the wrapping algorithm

Rückgabewert

TypBeschreibung
ara::core::Result<ProtectedKeyImportCtx::Sptr >Smart pointer to the created context

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if algId argument specifies a crypto algorithm that is not supported by this CryptoProvider for wrapping
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if algId argument has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50017
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50017@rel:R25-11#4dcc1895
Content hash
4dcc1895
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50017
Status: valid/unmigrated Version: rel:R25-11#59ce7c71 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_50017@rel:R25-11#59ce7c71
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

función CreateRandomGeneratorCtx [SWS_CRYPT_20741] Upstream: RS_CRYPTO_02206

virtual ara::core::Result< RandomGeneratorCtx::Sptr > CreateRandom GeneratorCtx (AlgId algId) noexcept=0;

Create a Random Number Generator (RNG) context.

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

El método CreateRandomGeneratorCtx sirve para crear un contexto para generadores de números aleatorios (Random Number Generator, RNG) dentro de la clase ara::crypto::cryp::CryptoProvider [SWS_CRYPT_20741].

Uso y contexto de llamada

La función se invoca de forma síncrona y requiere el archivo de cabecera ara/crypto/cryp/crypto_provider.h [SWS_CRYPT_20741]:

  • Parámetro: Se pasa algId de tipo AlgId, que identifica el algoritmo de RNG deseado. Si no se especifica ningún algId concreto, el método proporciona el RNG predeterminado [SWS_CRYPT_20741].
  • Valor de retorno: Un ara::core::Result<RandomGeneratorCtx::Sptr> que, en caso de éxito, contiene un puntero compartido a la instancia creada de RandomGeneratorCtx [SWS_CRYPT_20741].

Manejo de errores

El método no genera excepciones (noexcept) y está especificado como seguro frente a excepciones [SWS_CRYPT_20741]. Si la operación falla, el ara::core::Result devuelve un código de error:

  • ara::crypto::CryptoErrc::kUnknownIdentifier: Se produce cuando el argumento algId presenta un valor no compatible (con semántica de reversión) [SWS_CRYPT_20741].

Concurrencia y restricciones

El método está clasificado como seguro para subprocesos (thread-safe), por lo que se permiten llamadas paralelas a través de la misma instancia del CryptoProvider [SWS_CRYPT_20741].

Esta nota de uso ha sido creada automáticamente y se basa exclusivamente en los datos de especificación de AUTOSAR Adaptive R25-11.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdidentifier of target RNG algorithm. If no algId is given, the default RNG is returned

Rückgabewert

TypBeschreibung
ara::core::Result<RandomGeneratorCtx::Sptr >result containing a shared pointer to the context or an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if algId argument has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20741
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20741@rel:R25-11#d39e9ea8
Content hash
d39e9ea8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20741
Status: valid/unmigrated Version: rel:R25-11#d4f2c255 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_20741@rel:R25-11#d4f2c255
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a3510ae92026-09-30
  • R19-11rel:R19-11#60ee10c72026-10-14
  • R20-11rel:R20-11#0569ff502026-10-14
  • R21-11rel:R21-11#32b16cb02026-10-14
  • R22-11rel:R22-11#c44c5e5c2026-10-14
  • R23-11rel:R23-11#e3fa37f52026-10-14
  • R24-11rel:R24-11#5e17e1572026-10-14
  • R25-11rel:R25-11#d4f2c2552026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función CreateSignerPrivateCtx [SWS_CRYPT_20756] Upstream: RS_CRYPTO_02204, RS_AP_00144

virtual ara::core::Result< SignerPrivateCtx::Sptr > CreateSigner PrivateCtx (AlgId algId) noexcept=0;

Create a signature private key context.

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

El método CreateSignerPrivateCtx de la clase ara::crypto::cryp::CryptoProvider sirve para crear un contexto para operaciones de firma con una clave privada ([SWS_CRYPT_20756]).

Uso y parámetros: La llamada requiere incluir el archivo de cabecera ara/crypto/cryp/crypto_provider.h. Mediante el parámetro de entrada algId se especifica el algoritmo criptográfico de firma de destino. En caso de éxito, la función proporciona a través del tipo de retorno ara::core::Result<SignerPrivateCtx::Sptr> un puntero inteligente a la instancia de contexto creada ([SWS_CRYPT_20756]). Interpretación: Dado que el método devuelve directamente un ara::core::Result, es probable que la llamada se ejecute de forma síncrona. Pregunta Q-8480f3cf5cef5f49 (abierta)

Concurrencia y seguridad: El método está especificado como seguro para subprocesos (thread-safe), así como seguro ante excepciones (exception safe), y está declarado con noexcept ([SWS_CRYPT_20756]). Por lo tanto, se puede invocar desde contextos concurrentes sin sincronización adicional.

Tratamiento de errores: En caso de error, el resultado proporciona un código de error del tipo ara::crypto::CryptoErrc con semántica de reversión ([SWS_CRYPT_20756]):

  • ara::crypto::CryptoErrc::kInvalidArgument: Se produce cuando el argumento algId indica un algoritmo criptográfico que difiere de una firma con clave privada ([SWS_CRYPT_20756]).
  • ara::crypto::CryptoErrc::kUnknownIdentifier: Se produce cuando algId contiene un valor desconocido o no admitido ([SWS_CRYPT_20756]).

Este texto fue generado por una IA y sirve como guía orientativa. El texto vinculante es la especificación AUTOSAR.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdidentifier of the target signature crypto algorithm

Rückgabewert

TypBeschreibung
ara::core::Result< SignerPrivateCtx::Sptr >Smart pointer to the created context

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if algId argument specifies a crypto algorithm different from private key signature
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if algId argument has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20756
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20756@rel:R25-11#8797a021
Content hash
8797a021
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20756
Status: valid/unmigrated Version: rel:R25-11#cc9f565a 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_20756@rel:R25-11#cc9f565a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#cd4471752026-09-30
  • R19-11rel:R19-11#1edbf4c72026-10-14
  • R20-11rel:R20-11#a2cfe2c82026-10-14
  • R21-11rel:R21-11#54e185f52026-10-14
  • R22-11rel:R22-11#2a8de2322026-10-14
  • R23-11rel:R23-11#83e55d092026-10-14
  • R24-11rel:R24-11#0df4e6d12026-10-14
  • R25-11rel:R25-11#cc9f565a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función CreateSymmetricCipherCtx [SWS_CRYPT_20742] Upstream: RS_CRYPTO_02201

virtual ara::core::Result< SymmetricCipherCtx::Sptr > CreateSymmetric CipherCtx (AlgId algId) noexcept=0;

Create a symmetric cipher context.

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

usar

El método virtual CreateSymmetricCipherCtx de la interfaz ara::crypto::cryp::CryptoProvider sirve para crear un contexto para operaciones de cifrado simétrico ([SWS_CRYPT_20742]). Se incluye a través del archivo de cabecera #include "ara/crypto/cryp/crypto_provider.h" ([SWS_CRYPT_20742]).

Como parámetro de entrada, la función espera algId de tipo AlgId, que indica el identificador del algoritmo criptográfico de destino deseado ([SWS_CRYPT_20742]). La llamada se realiza de forma síncrona y devuelve como resultado un ara::core::Result<SymmetricCipherCtx::Sptr> que, en caso de éxito, proporciona un puntero inteligente a la instancia de contexto recién instanciada ([SWS_CRYPT_20742]).

Manejo de errores

Si la creación falla, el ara::core::Result devuelto contiene un código de error correspondiente ([SWS_CRYPT_20742]):

  • ara::crypto::CryptoErrc::kUnknownIdentifier: Se notifica con semántica de reversión si el valor pasado para algId hace referencia a un algoritmo no compatible ([SWS_CRYPT_20742]).

Concurrencia y restricciones

La función está declarada como noexcept y especificada explícitamente como segura frente a excepciones (exception safe) ([SWS_CRYPT_20742]). Además, la llamada es segura para subprocesos (thread-safe), por lo que se permiten creaciones paralelas de contexto a través de la misma instancia de CryptoProvider ([SWS_CRYPT_20742]).

Esta nota de uso ha sido creada automáticamente. Todas las indicaciones se basan exclusivamente en el estado de la especificación AUTOSAR R25-11.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdidentifier of the target crypto algorithm

Rückgabewert

TypBeschreibung
ara::core::Result<SymmetricCipherCtx::Sptr >Smart pointer to the created context

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if AlgId argument has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20742
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20742@rel:R25-11#0bb22d3b
Content hash
0bb22d3b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20742
Status: valid/unmigrated Version: rel:R25-11#c3456bc2 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_20742@rel:R25-11#c3456bc2
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#72dd17572026-09-30
  • R19-11rel:R19-11#abecadca2026-10-14
  • R20-11rel:R20-11#c7ef4de02026-10-14
  • R21-11rel:R21-11#7efa8e4d2026-10-14
  • R22-11rel:R22-11#a4f2f60c2026-10-14
  • R23-11rel:R23-11#8bfbe22a2026-10-14
  • R24-11rel:R24-11#bac03a522026-10-14
  • R25-11rel:R25-11#c3456bc22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función CreateSymmetricKeyWrapperCtx [SWS_CRYPT_20743] Upstream: RS_CRYPTO_02104, RS_CRYPTO_02208

virtual ara::core::Result< SymmetricKeyWrapperCtx::Sptr > Create SymmetricKeyWrapperCtx (AlgId algId) noexcept=0;

Create a symmetric key-wrap algorithm context.

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

usar

El método CreateSymmetricKeyWrapperCtx de la clase ara::crypto::cryp::CryptoProvider sirve para generar un contexto para algoritmos simétricos de envoltura de claves ([SWS_CRYPT_20743]). Como parámetro de entrada se transmite algId, el cual identifica unívocamente el criptoalgoritmo de destino ([SWS_CRYPT_20743]). La llamada es sincrónica y, en caso de éxito, devuelve un ara::core::Result que encapsula un smart pointer hacia el contexto creado (SymmetricKeyWrapperCtx::Sptr) ([SWS_CRYPT_20743]).

Manejo de errores

Si la creación falla, la función devuelve el objeto de error dentro de ara::core::Result ([SWS_CRYPT_20743]):

  • ara::crypto::CryptoErrc::kUnknownIdentifier: Se notifica si el argumento algId presenta un valor no compatible; en tal caso se aplican semánticas de rollback ([SWS_CRYPT_20743]).

Concurrencia y restricciones

La interfaz está declarada como noexcept, se considera segura frente a excepciones (exception safe) y es segura para hilos (thread-safe) ([SWS_CRYPT_20743]). Por lo tanto, puede invocarse de forma segura desde contextos concurrentes, siempre que el algId proporcionado sea compatible con el CryptoProvider subyacente ([SWS_CRYPT_20743]).

Esta nota de uso se ha generado automáticamente y se basa exclusivamente en los datos de especificación de AUTOSAR R25-11.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdidentifier of the target crypto algorithm

Rückgabewert

TypBeschreibung
ara::core::Result<SymmetricKeyWrapperCtx::Sptr >Smart pointer to the created context

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if algId argument has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20743
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20743@rel:R25-11#461c1c31
Content hash
461c1c31
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20743
Status: valid/unmigrated Version: rel:R25-11#f6ffee2c 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_20743@rel:R25-11#f6ffee2c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#7e4d7cb12026-09-30
  • R19-11rel:R19-11#88c705562026-10-14
  • R20-11rel:R20-11#59ed5d162026-10-14
  • R21-11rel:R21-11#4c2a43392026-10-14
  • R22-11rel:R22-11#178879012026-10-14
  • R23-11rel:R23-11#2ae2b3f42026-10-14
  • R24-11rel:R24-11#2c2d21382026-10-14
  • R25-11rel:R25-11#f6ffee2c2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función CreateVerifierPublicCtx [SWS_CRYPT_20757] Upstream: RS_CRYPTO_02204, RS_AP_00144

virtual ara::core::Result< VerifierPublicCtx::Sptr > CreateVerifier PublicCtx (AlgId algId) noexcept=0;

Create a signature verification public key context.

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

Uso y contexto de llamada

El método virtual puro CreateVerifierPublicCtx de la clase ara::crypto::cryp::CryptoProvider se declara a través del archivo de cabecera ara/crypto/cryp/crypto_provider.h [SWS_CRYPT_20757]. Sirve para la creación síncrona de un contexto para la verificación de firmas con claves públicas (verificación de firmas de clave pública) [SWS_CRYPT_20757].

La entidad llamadora pasa mediante el parámetro algId (tipo AlgId) el identificador del algoritmo de firma criptográfica deseado [SWS_CRYPT_20757]. En caso de éxito, la función devuelve un ara::core::Result que contiene un puntero inteligente al contexto de verificación creado (VerifierPublicCtx::Sptr) [SWS_CRYPT_20757].

Manejo de errores

En caso de error, se aplica una semántica de reversión y el ara::core::Result resultante transmite un código de error correspondiente [SWS_CRYPT_20757]:

  • ara::crypto::CryptoErrc::kInvalidArgument: Se notifica si el argumento algId especifica un algoritmo criptográfico que no está previsto para la verificación de firmas con claves públicas [SWS_CRYPT_20757].
  • ara::crypto::CryptoErrc::kUnknownIdentifier: Se notifica si para algId se ha pasado un identificador desconocido o no admitido [SWS_CRYPT_20757].

Concurrencia y restricciones

El método está declarado como noexcept, es completamente seguro ante excepciones (exception safe) y está especificado explícitamente como seguro para subprocesos (thread-safe) [SWS_CRYPT_20757]. Por tanto, las llamadas paralelas desde múltiples contextos de ejecución están permitidas sin sincronización externa.

Esta nota de uso se basa en la especificación de la versión R25-11 de AUTOSAR Adaptive.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdidentifier of the target signature crypto algorithm

Rückgabewert

TypBeschreibung
ara::core::Result<VerifierPublicCtx::Sptr >Smart pointer to the created context

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if algId argument specifies a crypto algorithm different from public key signature verification
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if algId argument has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20757
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20757@rel:R25-11#f9b530ae
Content hash
f9b530ae
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20757
Status: valid/unmigrated Version: rel:R25-11#f204fd55 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_20757@rel:R25-11#f204fd55
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8a5c49002026-09-30
  • R19-11rel:R19-11#37697b0f2026-10-14
  • R20-11rel:R20-11#73044a492026-10-14
  • R21-11rel:R21-11#0115fe5b2026-10-14
  • R22-11rel:R22-11#9dc931fa2026-10-14
  • R23-11rel:R23-11#a976f9ff2026-10-14
  • R24-11rel:R24-11#57fb002d2026-10-14
  • R25-11rel:R25-11#f204fd552026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función CryptoProvider [SWS_CRYPT_41005] Upstream: RS_CRYPTO_02004

CryptoProvider (const CryptoProvider &)=delete;

Copy-Constructor.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider

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

Record
AUTOSAR/AP/record/SWS_CRYPT_41005
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_41005@rel:R25-11#4e4f5055
Content hash
4e4f5055
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_41005
Status: valid/unmigrated Version: rel:R25-11#16a35c30 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_41005@rel:R25-11#16a35c30
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#baa0ea722026-09-30
  • R23-11rel:R23-11#aba1f1f92026-10-14
  • R24-11rel:R24-11#16a35c302026-10-14
  • R25-11rel:R25-11#16a35c302026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función CryptoProvider [SWS_CRYPT_41006] Upstream: RS_CRYPTO_02004

CryptoProvider (CryptoProvider &&)=delete;

Move-Constructor.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider

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

Record
AUTOSAR/AP/record/SWS_CRYPT_41006
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_41006@rel:R25-11#8c684c0f
Content hash
8c684c0f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_41006
Status: valid/unmigrated Version: rel:R25-11#9567ac75 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_41006@rel:R25-11#9567ac75
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#b43174f52026-09-30
  • R23-11rel:R23-11#8f1246d92026-10-14
  • R24-11rel:R24-11#9567ac752026-10-14
  • R25-11rel:R25-11#9567ac752026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función ExportSecuredKey [SWS_CRYPT_20728] Upstream: RS_CRYPTO_02105, RS_CRYPTO_02112

virtual ara::core::Result< std::size_t > ExportSecuredKey (AlgId alg Id, CryptoObject::Sptr key, ReadWriteMemRegion resultBuffer, ara::core::Optional< SymmetricKey::Sptr > kek) noexcept=0;

The interface shall format the data referenced by the specified key, securely wrap this payload and serialize the secured payload into the provided output buffer. The format shall be specified implicitly by the AlgId. The formatted payload shall be wrapped according to the specified algId using the kek; if kek is not provided, ExportSecuredKey shall apply a key-encryption-key implictly defined by the algId or the default key-encryption-key of the CryptoProvider.

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

El método ExportSecuredKey de la interfaz ara::crypto::cryp::CryptoProvider exporta un objeto de clave criptográfica a un formato protegido y serializado [SWS_CRYPT_20728]. El objeto de clave pasado key se procesa según el formato establecido implícitamente por algId, se empaqueta criptográficamente («wrapped») y se serializa en el búfer de salida resultBuffer [SWS_CRYPT_20728]. Para el empaquetado se puede pasar opcionalmente una clave de cifrado de claves (kek); si no se proporciona ningún kek, el método recurre a un KEK determinado implícitamente por la algId o al KEK predeterminado del CryptoProvider [SWS_CRYPT_20728].

La función está clasificada como thread-safe y exception safe, y anotada con noexcept [SWS_CRYPT_20728]. Interpretación: Dado que la signatura devuelve directamente un ara::core::Result sin tipos de retorno asíncronos como futuros, se asume que todo el proceso de empaquetado y serialización se ejecuta de forma síncrona en el contexto del llamador. Pregunta Q-3fb89afcc9300695 (abierta)

En caso de finalización correcta, el ara::core::Result<std::size_t> devuelto proporciona el número de bytes escritos en resultBuffer [SWS_CRYPT_20728]. Si la operación falla, se aplica una semántica de reversión y se notifica uno de los siguientes errores [SWS_CRYPT_20728]:

  • UnknownIdentifier: El valor algId pasado no es compatible [SWS_CRYPT_20728].
  • ara::crypto::CryptoErrc::kInvalidArgument: El objeto de clave no se puede empaquetar (p. ej., tamaño no válido o tipo inadecuado) o no se pasó un kek obligatorio [SWS_CRYPT_20728].
  • ara::crypto::CryptoErrc::kUsageViolation: El uso permitido de key o kek es incompatible con el algoritmo seleccionado [SWS_CRYPT_20728].
  • ara::crypto::CryptoErrc::kIncompatibleArguments: El kek pasado es incompatible con el algoritmo de exportación [SWS_CRYPT_20728].
  • ara::crypto::CryptoErrc::kInsufficientCapacity: El búfer de salida resultBuffer es demasiado pequeño para el resultado [SWS_CRYPT_20728].
  • ara::crypto::CryptoErrc::kBusyResource: Un recurso necesario para la exportación está ocupado [SWS_CRYPT_20728].

Este texto ha sido elaborado por una IA y se basa en el estado de la especificación AUTOSAR R25-11.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe ara::crypto::CryptoErrc::k rollback_semantics

Parameter (in)

ParameterBeschreibung
algIdthe algId of the secure key export algorithm
keythe key to be exported
resultBufferan output buffer the securely exported key is written to
kekan optional key-encryption-key to be be used for wrapping the secured payload. Only used if the used algorithm does not determine the used key (e.g., based on configuration).

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >a result containing the size of the result written into resultBuffer or an error

Fehler

FehlercodeBeschreibung
UnknownIdentifierif algId has an unsupported value
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if the key object cannot be wrapped (e.g., invalid size or type) or if a kek is expected but not provided.
ara::crypto::CryptoErrc::kUsageViolationrollback_semantics if the allowed usage of key or kek is incompatible to the used algorithm
ara::crypto::CryptoErrc::kInsufficientCapacityrollback_semantics if the output buffer is too small
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics a required resource is busy
ara::crypto::CryptoErrc::kIncompatibleArgumentsrollback_semantics if the kek is incompatible to the used algorithm

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20728
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20728@rel:R25-11#7c2a98ad
Content hash
7c2a98ad
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20728
Status: valid/unmigrated Version: rel:R25-11#9dfe16b6 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_20728@rel:R25-11#9dfe16b6
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#057427ea2026-09-30
  • R19-11rel:R19-11#cd9b1a7b2026-10-14
  • R20-11rel:R20-11#51350c8b2026-10-14
  • R21-11rel:R21-11#5ee1380e2026-10-14
  • R22-11rel:R22-11#72d859b12026-10-14
  • R23-11rel:R23-11#c0a14fe12026-10-14
  • R24-11rel:R24-11#661196972026-10-14
  • R25-11rel:R25-11#9dfe16b62026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función GeneratePrivateKey [SWS_CRYPT_20722] Upstream: RS_CRYPTO_02003, RS_CRYPTO_02101, RS_CRYPTO_02102, RS_ CRYPTO_02107, RS_CRYPTO_02108, RS_CRYPTO_02111, RS_CRYPTO_02115

virtual ara::core::Result< PrivateKey::Sptr > GeneratePrivateKey (Alg Id algId, AllowedUsageFlags privateKeyAllowedUsage) noexcept=0;

Generate a new public/private key pair and return the private key. The public key can be retrieved via the function PrivateKey::GetPublicKey() The allowed usage flags of the Public Key are set based on the allowed usage of the PrivateKey: • kAllowDataDecryption --> kAllowDataEncryption • kAllowSigGeneration --> kAllowSigVerification • kAllowKeyAgreement --> kAllowKeyAgreement • kAllowKeyUnwrapping --> kAllowKeyWrapping Additionally, the allowed usage: • kAllowPlaintextExport • kAllowPersist are set for the public key.

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

El método GeneratePrivateKey de la clase ara::crypto::cryp::CryptoProvider (declarado en ara/crypto/cryp/crypto_provider.h) genera de forma síncrona un nuevo par de claves asimétricas y devuelve la clave privada creada como PrivateKey::Sptr dentro de un ara::core::Result [SWS_CRYPT_20722]. La clave pública correspondiente no se devuelve directamente, sino que se puede consultar con posterioridad mediante el método PrivateKey::GetPublicKey() de la clave resultante [SWS_CRYPT_20722].

En la llamada, el parámetro algId especifica el algoritmo criptográfico, mientras que privateKeyAllowedUsage determina los tipos de transformación admisibles para la clave privada [SWS_CRYPT_20722]. Los indicadores de uso admisibles de la clave pública se asignan en función de los permisos de la clave privada de la siguiente manera [SWS_CRYPT_20722]:

  • kAllowDataDecryption conduce a kAllowDataEncryption
  • kAllowSigGeneration conduce a kAllowSigVerification
  • kAllowKeyAgreement conduce a kAllowKeyAgreement
  • kAllowKeyUnwrapping conduce a kAllowKeyWrapping

Además, a la clave pública se le asignan automáticamente los indicadores de uso kAllowPlaintextExport así como kAllowPersist [SWS_CRYPT_20722].

En lo relativo a la concurrencia y la ejecución, la función está especificada como segura para subprocesos (thread-safe) y segura frente a excepciones (exception-safe) [SWS_CRYPT_20722]. Si se produce un error durante la generación de claves, el resultado se procesa con semántica de reversión [SWS_CRYPT_20722]. Se pueden devolver los siguientes códigos de error:

  • ara::crypto::CryptoErrc::kUnknownIdentifier, si para algId se transmite un algoritmo no admitido,
  • ara::crypto::CryptoErrc::kIncompatibleArguments, en caso de que los indicadores de privateKeyAllowedUsage indicados sean incompatibles con el algoritmo o tipo de clave seleccionado,
  • ara::crypto::CryptoErrc::kBusyResource, si la generación no es posible temporalmente debido a recursos ocupados de forma provisional [SWS_CRYPT_20722].

Esta nota de uso se ha generado automáticamente sobre la base de la especificación AUTOSAR Adaptive R25-11.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdthe identifier of the target crypto algorithm
privateKeyAllowedUsagethe flags that define a list of allowed transformations’ types in which the private key can be used

Rückgabewert

TypBeschreibung
ara::core::Result<PrivateKey::Sptr >result containing a shared pointer to the created private key or an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if algId has an unsupported value
ara::crypto::CryptoErrc::kIncompatibleArgumentsrollback_semantics if the allowedUsage is incompatible with the algId or the key type
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics if the operation temporarily cannot be performed

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20722
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20722@rel:R25-11#f873e360
Content hash
f873e360
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20722
Status: valid/unmigrated Version: rel:R25-11#92625666 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_20722@rel:R25-11#92625666
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e76fe7892026-09-30
  • R19-11rel:R19-11#7f33da122026-10-14
  • R20-11rel:R20-11#e6ff089b2026-10-14
  • R21-11rel:R21-11#0cd706bd2026-10-14
  • R22-11rel:R22-11#33a2c8282026-10-14
  • R23-11rel:R23-11#2b3d45172026-10-14
  • R24-11rel:R24-11#b10084042026-10-14
  • R25-11rel:R25-11#926256662026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función GenerateRandomData [SWS_CRYPT_30098] Upstream: RS_CRYPTO_02206

virtual ara::core::Result< void > GenerateRandomData (ReadWriteMem Region randomData) noexcept=0;

Fill the provided output data buffer randomData with random data.

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

El método virtual puro GenerateRandomData de la interfaz ara::crypto::cryp::CryptoProvider sirve para llenar con datos aleatorios criptográficos una zona de memoria proporcionada por el llamador [SWS_CRYPT_30098]. La declaración se encuentra en el archivo de cabecera ara/crypto/cryp/crypto_provider.h.

Como parámetro de salida se transfiere randomData de tipo ReadWriteMem Region, el cual representa el búfer que se va a rellenar y cuyo tamaño determina el número de bytes aleatorios generados [SWS_CRYPT_30098]. Interpretación: Dado que la función utiliza directamente ara::core::Result<void> como tipo de retorno y no un objeto Future, es probable que la generación de los datos se ejecute de forma síncrona y bloqueante [SWS_CRYPT_30098]. Pregunta Q-315c0492dcf7f37d (abierta) En caso de éxito, el valor de retorno está vacío o, en caso de error, contiene el código de error correspondiente [SWS_CRYPT_30098].

Si se produce un problema durante la ejecución, se aplica una semántica de reversión (rollback), de modo que no permanezcan estados parciales o no válidos [SWS_CRYPT_30098]. Se especifican los siguientes estados de error:

  • ara::crypto::CryptoErrc::kBusyResource: El generador de números aleatorios (RNG) subyacente dispone actualmente de entropía insuficiente y no puede suministrar la cantidad solicitada de bytes aleatorios [SWS_CRYPT_30098].
  • ara::crypto::CryptoErrc::kUnsupported: La implementación concreta del CryptoProvider no admite un generador de números aleatorios estándar [SWS_CRYPT_30098].

En cuanto a concurrencia y robustez, el método está especificado como thread-safe y exception safe [SWS_CRYPT_30098]. Por lo tanto, varios hilos pueden invocar la función en paralelo, y la especificación noexcept garantiza que no se lancen excepciones de C++ a través del límite de la interfaz.

Esta nota de uso fue generada automáticamente a partir de la especificación de AUTOSAR.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (out)

ParameterBeschreibung
randomDataoutput data buffer to be filled with random data

Rückgabewert

TypBeschreibung
ara::core::Result< void >an empty result or a result containing an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics if the used RNG is currently out-of-entropy and therefore cannot provide the requested number of random bytes
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if no default RNG is supported by the CryptoProvider

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

Record
AUTOSAR/AP/record/SWS_CRYPT_30098
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_30098@rel:R25-11#f73be12c
Content hash
f73be12c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_30098
Status: valid/unmigrated Version: rel:R25-11#480ab415 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_30098@rel:R25-11#480ab415
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#79a025442026-09-30
  • R20-11rel:R20-11#c9d663072026-10-14
  • R21-11rel:R21-11#1481f16f2026-10-14
  • R22-11rel:R22-11#321f73ae2026-10-14
  • R23-11rel:R23-11#f518793a2026-10-14
  • R24-11rel:R24-11#c16096352026-10-14
  • R25-11rel:R25-11#480ab4152026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función GenerateSymmetricKey [SWS_CRYPT_20721] Upstream: RS_CRYPTO_02003, RS_CRYPTO_02101, RS_CRYPTO_02102, RS_ CRYPTO_02107, RS_CRYPTO_02108, RS_CRYPTO_02111, RS_CRYPTO_02115

virtual ara::core::Result< SymmetricKey::Sptr > GenerateSymmetricKey (AlgId algId, AllowedUsageFlags allowedUsage) noexcept=0;

Generate a new symmetric key.

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

usar

El método puramente virtual GenerateSymmetricKey se proporciona a través de la interfaz ara::crypto::cryp::CryptoProvider (archivo de cabecera #include "ara/crypto/cryp/crypto_provider.h") y sirve para generar una nueva clave simétrica [SWS_CRYPT_20721]. La llamada síncrona espera como parámetro algId el identificador del algoritmo criptográfico simétrico de destino, así como allowedUsage flags de bits que determinan los tipos de transformación permitidos para la clave generada [SWS_CRYPT_20721]. En caso de ejecución correcta, el método devuelve un ara::core::Result con un SymmetricKey::Sptr, es decir, un puntero compartido al objeto de clave simétrica recién generado [SWS_CRYPT_20721].

Manejo de errores

Si se produce un error durante la generación de la clave, este se transmite en el ara::core::Result. Para todos los casos de error especificados se aplica una semántica de reversión (rollback) [SWS_CRYPT_20721]:

  • ara::crypto::CryptoErrc::kUnknownIdentifier: se notifica si se ha pasado un valor no admitido para algId [SWS_CRYPT_20721].
  • ara::crypto::CryptoErrc::kIncompatibleArguments: se produce si los flags de allowedUsage indicados son incompatibles con el algoritmo algId seleccionado o con el tipo de clave [SWS_CRYPT_20721].
  • ara::crypto::CryptoErrc::kBusyResource: indica que la operación no se puede llevar a cabo temporalmente debido a recursos ocupados de forma transitoria [SWS_CRYPT_20721].

Concurrencia y restricciones

La operación está declarada como noexcept y posee las propiedades de ser segura frente a excepciones (exception safe) y segura para subprocesos (thread-safe) [SWS_CRYPT_20721]. Por lo tanto, se puede llamar de forma concurrente desde varios subprocesos, pudiendo producirse el error kBusyResource bajo una alta carga del sistema para señalar cuellos de botella temporales [SWS_CRYPT_20721].

Esta nota de uso se generó de forma automatizada sobre la base de la especificación.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdthe identifier of the target symmetric crypto algorithm
allowedUsagethe flags that define a list of allowed transformations’ types in which the generated key can be used

Rückgabewert

TypBeschreibung
ara::core::Result<SymmetricKey::Sptr >result containing a shared pointer to the created symmetric key object or an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if algId has an unsupported value
ara::crypto::CryptoErrc::kIncompatibleArgumentsrollback_semantics if the allowedUsage is incompatible with the algId or the key type
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics if the operation temporarily cannot be performed

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20721
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20721@rel:R25-11#e6354856
Content hash
e6354856
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20721
Status: valid/unmigrated Version: rel:R25-11#921910dd 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_20721@rel:R25-11#921910dd
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#635fbe3a2026-09-30
  • R19-11rel:R19-11#ceb7dd0e2026-10-14
  • R20-11rel:R20-11#06044bd12026-10-14
  • R21-11rel:R21-11#b4656e752026-10-14
  • R22-11rel:R22-11#a3fb37fc2026-10-14
  • R23-11rel:R23-11#9d93b9e42026-10-14
  • R24-11rel:R24-11#7d27c8e42026-10-14
  • R25-11rel:R25-11#921910dd2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función GetDefaultAllowedUsage [SWS_CRYPT_20955] Upstream: RS_CRYPTO_02003

virtual ara::core::Result< AllowedUsageFlags > GetDefaultAllowedUsage (AlgId algId) noexcept=0;

Get a CryptoProvider specific default set of allowedUsages for the provided AlgId. The returned allowedUsages shall not contain kAllowPlaintextExport, kAllowPersist and kAllowSecuredExport.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
algIdthe identifier of the target crypto algorithm

Rückgabewert

TypBeschreibung
ara::core::Result<AllowedUsageFlags >result containing a CryptoProvider specific default set of allowed Usages or an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if algId has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20955
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20955@rel:R25-11#25fcc2d1
Content hash
25fcc2d1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20955
Status: valid/unmigrated Version: rel:R25-11#7ae6f7f9 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_20955@rel:R25-11#7ae6f7f9
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

función GetProviderID [SWS_CRYPT_50015] Upstream: RS_CRYPTO_02305

virtual ara::core::Result< void > GetProviderID (ara::core::Optional< ReadOnlyMemRegion > in, ReadWriteMemRegion idData) noexcept=0;

Obtain provider specific identification data.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
inOptional input data required by some identification protocols (e.g. SHE/CMD_GET_ID)

Parameter (out)

ParameterBeschreibung
idDatathe identification data of the provider

Rückgabewert

TypBeschreibung
ara::core::Result< void >An empty result or an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if this provider does not support identification
ara::crypto::CryptoErrc::kInsufficientCapacityrollback_semantics if the provided ReadWriteMemRegion parameter idData is insufficient in size to hold the identification data

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50015
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50015@rel:R25-11#9cf2af30
Content hash
9cf2af30
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50015
Status: valid/unmigrated Version: rel:R25-11#a844d77c 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_50015@rel:R25-11#a844d77c
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

función GetProviderIdSize [SWS_CRYPT_50016] Upstream: RS_CRYPTO_02305

virtual ara::core::Result< std::size_t > GetProviderIdSize () noexcept=0;

Get the required size of the output buffer for ID data used by GetProviderID.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >a result containing the required size of ID data in bytes or an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if this provider does not support identification

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50016
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50016@rel:R25-11#3b08cdbd
Content hash
3b08cdbd
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50016
Status: valid/unmigrated Version: rel:R25-11#7cd73107 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_50016@rel:R25-11#7cd73107
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

función GetSecureCounter [SWS_CRYPT_20098] Upstream: RS_CRYPTO_02401

ara::core::Result< SecureCounter > GetSecureCounter () noexcept;

Get the current value of the secure counter of this CryptoProvider. The current counter value is guaranteed to be stricly larger than any previously returned counter value.

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

El método GetSecureCounter() de la clase ara::crypto::cryp::CryptoProvider (declarado en #include "ara/crypto/cryp/crypto_provider.h") consulta el valor actual del contador protegido de la instancia del proveedor [SWS_CRYPT_20098]. La función opera de forma síncrona y no requiere parámetros de entrada [SWS_CRYPT_20098]. En caso de éxito, devuelve a través de ara::core::Result<SecureCounter> la estructura SecureCounter, compuesta por dos valores sin signo de 64 bits (LSQW para la palabra cuádruple menos significativa y MSQW para la palabra cuádruple más significativa) [SWS_CRYPT_20098]. Se garantiza que cada valor de contador devuelto es estrictamente mayor que todos los valores proporcionados previamente mediante esta instancia [SWS_CRYPT_20098].

Si no se puede determinar el valor del contador, la llamada falla y devuelve un código de error con semántica de reversión (rollback) en el objeto de resultado [SWS_CRYPT_20098]:

  • ara::crypto::CryptoErrc::kUnsupported: el CryptoProvider específico no admite un contador protegido [SWS_CRYPT_20098].
  • ara::crypto::CryptoErrc::kBusyResource: un recurso necesario para acceder al contador o actualizarlo está ocupado actualmente [SWS_CRYPT_20098].

Respecto a la concurrencia y robustez, la función está especificada como segura para subprocesos (thread-safe) y declarada como segura frente a excepciones (exception safe) con noexcept [SWS_CRYPT_20098]. Por lo tanto, las llamadas paralelas desde múltiples subprocesos están permitidas sin sincronización externa, garantizándose la estricta monotonía de los valores de contador devueltos [SWS_CRYPT_20098].

Este texto fue generado por una IA y sirve como guía orientativa. El único documento normativo es la especificación oficial.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result<SecureCounter >a result containing a SecureCounter struct made up of the two unsigned 64 bit values (LSQW and MSQW), or an error:

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the Secure Counter is not supported by the CryptoProvider
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics a required resource is busy

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20098
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20098@rel:R25-11#800c5dee
Content hash
800c5dee
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20098
Status: valid/unmigrated Version: rel:R25-11#0c57734d 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_20098@rel:R25-11#0c57734d
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#62146ddd2026-09-30
  • R20-11rel:R20-11#31b7c30b2026-10-14
  • R21-11rel:R21-11#450747932026-10-14
  • R22-11rel:R22-11#1e50ce5f2026-10-14
  • R23-11rel:R23-11#76f9cfec2026-10-14
  • R24-11rel:R24-11#267205092026-10-14
  • R25-11rel:R25-11#0c57734d2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función ImportPrivateKey [SWS_CRYPT_50132] Upstream: RS_CRYPTO_02105, RS_CRYPTO_02112

virtual ara::core::Result< PrivateKey::Sptr > ImportPrivateKey (Read OnlyMemRegion serialized, AllowedUsageFlags allowedUsage, FormatId formatId, ara::core::Optional< AlgId > algId) noexcept=0;

Import a serialized private key.

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

usar

El método ImportPrivateKey de la clase ara::crypto::cryp::CryptoProvider sirve para importar de forma síncrona una clave privada serializada [SWS_CRYPT_50132]. En la llamada, los datos útiles se transfieren a través del área de memoria serialized (ReadOnlyMemRegion), complementados con las restricciones de uso deseadas (allowedUsage) y el formato de serialización (formatId). El parámetro algId es opcional (ara::core::Optional<AlgId>) y solo debe establecerse si el formato seleccionado no define ya por sí mismo de forma unívoca las propiedades de clave requeridas [SWS_CRYPT_50132]. Como valor de retorno, la función proporciona un ara::core::Result<PrivateKey::Sptr> que, en caso de éxito, contiene un shared pointer al objeto de clave generado.

Manejo de errores

En caso de error, el método garantiza que se aplique la semántica de reversión [SWS_CRYPT_50132]. Se pueden devolver los siguientes códigos de error a través de Result:

  • InvalidArgument: Los datos serializados en serialized no se corresponden con el formato indicado [SWS_CRYPT_50132].
  • ara::crypto::CryptoErrc::kIncompatibleArguments: Los allowedUsage transferidos son incompatibles con la algId [SWS_CRYPT_50132].
  • ara::crypto::CryptoErrc::kUnsupported: La función no es compatible con el proveedor concreto [SWS_CRYPT_50132].
  • ara::crypto::CryptoErrc::kBusyResource: La operación no se puede ejecutar temporalmente debido a recursos ocupados [SWS_CRYPT_50132].
  • ara::crypto::CryptoErrc::kUnsupportedFormat: La formatId no es compatible con este tipo de objeto [SWS_CRYPT_50132].

Concurrencia y restricciones

La interfaz está declarada como noexcept y ofrece seguridad frente a excepciones (exception safe), así como seguridad frente a subprocesos (thread-safe) [SWS_CRYPT_50132]. Por lo tanto, las llamadas pueden realizarse en paralelo desde diferentes subprocesos.

Este texto ha sido generado por un sistema de IA sobre la base de la especificación de AUTOSAR.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe ara::crypto::CryptoErrc::k rollback_semantics

Parameter (in)

ParameterBeschreibung
serializedthe memory region that contains the serialized key
allowedUsagethe allowedUsage of the key
formatIdthe serialization format
algIdan optional alg ID of the key. Not required if the serialization format already identifies the required properties of the key.

Rückgabewert

TypBeschreibung
ara::core::Result<PrivateKey::Sptr >result containing a shared pointer to the created key or an error

Fehler

FehlercodeBeschreibung
InvalidArgumentif serialized does not conform to the specified format
ara::crypto::CryptoErrc::kIncompatibleArgumentsrollback_semantics if the allowedUsage is incompatible with the algId
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the CryptoProvider does not support the requested function
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics if the operation temporarily cannot be performed
ara::crypto::CryptoErrc::kUnsupportedFormatrollback_semantics if the specified format ID is not supported for this object type

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50132
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50132@rel:R25-11#f5ded1ce
Content hash
f5ded1ce
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50132
Status: valid/unmigrated Version: rel:R25-11#014ff708 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_50132@rel:R25-11#014ff708
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

función ImportPublicKey [SWS_CRYPT_20732] Upstream: RS_CRYPTO_02105, RS_CRYPTO_02112

virtual ara::core::Result< PublicKey::Sptr > ImportPublicKey (ReadOnly MemRegion serialized, AllowedUsageFlags allowedUsage, FormatId format Id, ara::core::Optional< AlgId > algId) noexcept=0;

Import a serialized public key.

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

usar

El método ImportPublicKey sirve para importar una clave pública serializada en el ara::crypto::cryp::CryptoProvider correspondiente [SWS_CRYPT_20732]. La llamada se realiza de forma síncrona y devuelve un ara::core::Result<PublicKey::Sptr> que, en caso de éxito, contiene un puntero inteligente al objeto de clave generado [SWS_CRYPT_20732].

En la llamada se transfieren los siguientes parámetros [SWS_CRYPT_20732]:

  • serialized: Un área de memoria ReadOnlyMemRegion que proporciona los datos sin procesar de la clave serializada.
  • allowedUsage: Los indicadores de uso permitido (AllowedUsageFlags) para la clave importada.
  • formatId: El identificador del formato de serialización (FormatId).
  • algId: Un ID de algoritmo opcional (ara::core::Optional<AlgId>). No es necesario si el formato de serialización ya determina de forma unívoca las propiedades de la clave.

Manejo de errores

Si se produce un error durante el procesamiento, este se encapsula en el ara::core::Result devuelto. Se especifican los siguientes códigos de error [SWS_CRYPT_20732]:

  • InvalidArgument: Los datos pasados en serialized no se corresponden con el formato indicado.
  • ara::crypto::CryptoErrc::kIncompatibleArguments: Los indicadores de uso allowedUsage son incompatibles con algId.
  • ara::crypto::CryptoErrc::kUnsupportedFormat: El formatId especificado no es compatible para este tipo de objeto.
  • ara::crypto::CryptoErrc::kUnsupported: La función solicitada no es compatible con el CryptoProvider.
  • ara::crypto::CryptoErrc::kBusyResource: La operación no se puede ejecutar temporalmente.

Concurrencia y seguridad

El método está declarado como noexcept, se considera Exception-safe y, según la especificación, está especificado como Thread-safe [SWS_CRYPT_20732]. Los casos de error siguen semánticas de reversión definidas [SWS_CRYPT_20732].

Este texto ha sido generado por un sistema de IA y se basa exclusivamente en los datos de especificación de la versión R25-11.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe ara::crypto::CryptoErrc::k rollback_semantics

Parameter (in)

ParameterBeschreibung
serializedthe memory region that contains the serialized key
allowedUsagethe allowedUsage of the key
formatIdthe serialization format
algIdan optional alg ID of the key. Not required if the serialization format already identifies the required properties of the key.

Rückgabewert

TypBeschreibung
ara::core::Result< PublicKey::Sptr >result containing a shared pointer to the created key or an error

Fehler

FehlercodeBeschreibung
InvalidArgumentif serialized does not conform to the specified format
ara::crypto::CryptoErrc::kIncompatibleArgumentsrollback_semantics if the allowedUsage is incompatible with the algId
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the CryptoProvider does not support the requested function
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics if the operation temporarily cannot be performed
ara::crypto::CryptoErrc::kUnsupportedFormatrollback_semantics if the specified format ID is not supported for this object type

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20732
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20732@rel:R25-11#d157d5fb
Content hash
d157d5fb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20732
Status: valid/unmigrated Version: rel:R25-11#51a436c4 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_20732@rel:R25-11#51a436c4
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2473d8742026-09-30
  • R19-11rel:R19-11#1450fe912026-10-14
  • R20-11rel:R20-11#9c83b88d2026-10-14
  • R21-11rel:R21-11#56c01f3b2026-10-14
  • R22-11rel:R22-11#2ec0aa1f2026-10-14
  • R23-11rel:R23-11#56bf56252026-10-14
  • R24-11rel:R24-11#ada4cfb92026-10-14
  • R25-11rel:R25-11#51a436c42026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función ImportSymmetricKey [SWS_CRYPT_50014] Upstream: RS_CRYPTO_02105, RS_CRYPTO_02112

virtual ara::core::Result< SymmetricKey::Sptr > ImportSymmetricKey (ReadOnlyMemRegion serialized, AllowedUsageFlags allowedUsage, Format Id formatId, ara::core::Optional< AlgId > algId) noexcept=0;

Import a serialized symmetric key.

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

usar

El método ImportSymmetricKey de la interfaz ara::crypto::cryp::CryptoProvider sirve para importar una clave simétrica serializada [SWS_CRYPT_50014]. Como valor de retorno proporciona un ara::core::Result<SymmetricKey::Sptr> que, en caso de éxito, suministra un puntero inteligente al objeto de clave recién instanciado [SWS_CRYPT_50014]. Puesto que no se utiliza ningún tipo de retorno asincrónico como un Future, presumiblemente la ejecución se produce de forma sincrónica. Pregunta Q-720a495b07c4f31d (abierta)

En la llamada deben pasarse los siguientes parámetros [SWS_CRYPT_50014]:

  • serialized (ReadOnlyMemRegion): el área de memoria que contiene los datos serializados de la clave.
  • allowedUsage (AllowedUsageFlags): máscara de bits de las operaciones y usos permitidos para esta clave.
  • formatId (FormatId): identificador del formato de serialización de los datos de la clave.
  • algId (ara::core::Optional<AlgId>): identificador de algoritmo opcional; no es necesario si el formato de serialización indicado ya determina unívocamente todas las propiedades requeridas de la clave.

Tratamiento de errores y condiciones límite

El método está especificado como thread-safe y exception safe [SWS_CRYPT_50014]. En caso de error, la implementación garantiza una semántica de reversión (rollback) y devuelve el código de error correspondiente en el ara::core::Result [SWS_CRYPT_50014]:

  • InvalidArgument: los datos binarios pasados en serialized no se corresponden con el formato indicado.
  • ara::crypto::CryptoErrc::kIncompatibleArguments: los indicadores allowedUsage establecidos son incompatibles con la algId indicada.
  • ara::crypto::CryptoErrc::kUnsupported: la instancia concreta del CryptoProvider no admite la función.
  • ara::crypto::CryptoErrc::kUnsupportedFormat: el formato especificado no es compatible con este tipo de clave.
  • ara::crypto::CryptoErrc::kBusyResource: la operación no se puede ejecutar actualmente debido a recursos temporalmente ocupados.

Esta nota de uso se creó automáticamente a partir de la especificación AUTOSAR R25-11.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe ara::crypto::CryptoErrc::k rollback_semantics

Parameter (in)

ParameterBeschreibung
serializedthe memory region that contains the serialized key
allowedUsagethe allowedUsage of the key
formatIdthe serialization format
algIdan optional alg ID of the key. Not required if the serialization format already identifies the required properties of the key.

Rückgabewert

TypBeschreibung
ara::core::Result<SymmetricKey::Sptr >result containing a shared pointer to the created key or an error

Fehler

FehlercodeBeschreibung
InvalidArgumentif serialized does not conform to the specified format
ara::crypto::CryptoErrc::kIncompatibleArgumentsrollback_semantics if the allowedUsage is incompatible with the algId
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the CryptoProvider does not support the requested function
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics if the operation temporarily cannot be performed
ara::crypto::CryptoErrc::kUnsupportedFormatrollback_semantics if the specified format ID is not supported for this object type

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50014
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50014@rel:R25-11#544b19ee
Content hash
544b19ee
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50014
Status: valid/unmigrated Version: rel:R25-11#b43f0614 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_50014@rel:R25-11#b43f0614
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

función LoadPrivateKey [SWS_CRYPT_20764] Upstream: RS_CRYPTO_02001, RS_CRYPTO_02002

virtual ara::core::Result< PrivateKey::Sptr > LoadPrivateKey (Key Slot::Sptr keySlot) noexcept=0;

Load a private key from the provided KeySlot.

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

usar

El método LoadPrivateKey de la interfaz ara::crypto::cryp::CryptoProvider carga una clave privada desde una ranura de clave proporcionada ([SWS_CRYPT_20764]). La llamada se ejecuta de forma síncrona y recibe como parámetro un puntero compartido al recurso de origen (keySlot). En caso de éxito, la función proporciona un puntero compartido al objeto de clave cargado (PrivateKey::Sptr), que se devuelve dentro de un ara::core::Result ([SWS_CRYPT_20764]).

Manejo de errores

Si se produce un error durante la operación, se aplica una semántica de reversión y el ara::core::Result contiene un código de error específico ([SWS_CRYPT_20764]):

  • ara::crypto::CryptoErrc::kEmptyKeySlot: la ranura de clave pasada está vacía ([SWS_CRYPT_20764]).
  • ara::crypto::CryptoErrc::kIncompatibleObject: el recurso subyacente pertenece a otro CryptoProvider incompatible o contiene un tipo de clave discrepante ([SWS_CRYPT_20764]).
  • ara::crypto::CryptoErrc::kBusyResource: la operación no se puede ejecutar temporalmente ([SWS_CRYPT_20764]).

Concurrencia y seguridad

La especificación clasifica la función como thread-safe y exception safe; la signatura está declarada como noexcept ([SWS_CRYPT_20764]). Múltiples subprocesos pueden invocar el método en paralelo, pero deben gestionar una posible devolución de kBusyResource en caso de conflictos de recursos temporales.

Esta nota de uso fue generada automáticamente sobre la base de la especificación.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keySlotthe KeySlot that contains the key for loading

Rückgabewert

TypBeschreibung
ara::core::Result<PrivateKey::Sptr >result containing a shared pointer to the loaded key or an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kEmptyKeySlotrollback_semantics if the KeySlot is empty
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if the underlying resource belongs to another, incompatible Crypto Provider or contains a different key type
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics if the operation temporarily cannot be performed

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20764
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20764@rel:R25-11#53f22093
Content hash
53f22093
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20764
Status: valid/unmigrated Version: rel:R25-11#619ff9c3 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_20764@rel:R25-11#619ff9c3
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#562267092026-09-30
  • R20-11rel:R20-11#cf85edd52026-10-14
  • R21-11rel:R21-11#7866d75f2026-10-14
  • R22-11rel:R22-11#7ef331982026-10-14
  • R23-11rel:R23-11#9721217a2026-10-14
  • R24-11rel:R24-11#00f5f0232026-10-14
  • R25-11rel:R25-11#619ff9c32026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función LoadPublicKey [SWS_CRYPT_20763] Upstream: RS_CRYPTO_02001, RS_CRYPTO_02002

virtual ara::core::Result< PublicKey::Sptr > LoadPublicKey (Key Slot::Sptr keySlot) noexcept=0;

Load a public key from the provided KeySlot.

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

usar

El método LoadPublicKey de la interfaz ara::crypto::cryp::CryptoProvider carga una clave pública desde el espacio de almacenamiento de claves proporcionado [SWS_CRYPT_20763]. Como parámetro keySlot espera un KeySlot::Sptr que referencia el espacio de almacenamiento con la clave que se va a cargar [SWS_CRYPT_20763]. Como valor devuelto, la función proporciona un ara::core::Result<PublicKey::Sptr> que, en caso de éxito, contiene un puntero compartido al objeto de clave pública cargado [SWS_CRYPT_20763]. La entrega directa del valor Result probablemente indica un comportamiento de llamada síncrono. Pregunta Q-e0d2480909b1398a (abierta)

Manejo de errores

Si el proceso de carga falla, el ara::core::Result contiene un código de error correspondiente del dominio ara::crypto::CryptoErrc, definiéndose una semántica de reversión para todos los casos de error especificados [SWS_CRYPT_20763]:

  • ara::crypto::CryptoErrc::kEmptyKeySlot: se produce cuando el KeySlot pasado está vacío [SWS_CRYPT_20763].
  • ara::crypto::CryptoErrc::kIncompatibleObject: se devuelve cuando el recurso subyacente pertenece a otro CryptoProvider incompatible o contiene un tipo de clave discrepante [SWS_CRYPT_20763].
  • ara::crypto::CryptoErrc::kBusyResource: se produce si la operación no se puede ejecutar temporalmente porque el recurso está ocupado de otro modo [SWS_CRYPT_20763].

Concurrencia y seguridad

El método está declarado con noexcept y especificado como Exception-safe [SWS_CRYPT_20763]. En cuanto a la concurrencia, la operación está catalogada expresamente como Thread-safe, por lo que se permiten llamadas paralelas desde múltiples subprocesos [SWS_CRYPT_20763].

Esta nota de uso ha sido generada por una IA sobre la base de la especificación.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keySlotthe KeySlot that contains the key for loading

Rückgabewert

TypBeschreibung
ara::core::Result< PublicKey::Sptr >result containing a shared pointer to the loaded key or an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kEmptyKeySlotrollback_semantics if the KeySlot is empty
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if the underlying resource belongs to another, incompatible Crypto Provider or contains a different key type
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics if the operation temporarily cannot be performed

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20763
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20763@rel:R25-11#9269a0d3
Content hash
9269a0d3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20763
Status: valid/unmigrated Version: rel:R25-11#94997baf 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_20763@rel:R25-11#94997baf
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#3b024d4b2026-09-30
  • R20-11rel:R20-11#5ef8747d2026-10-14
  • R21-11rel:R21-11#cecedb902026-10-14
  • R22-11rel:R22-11#3bab55812026-10-14
  • R23-11rel:R23-11#406c01632026-10-14
  • R24-11rel:R24-11#fc5230262026-10-14
  • R25-11rel:R25-11#94997baf2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función LoadSymmetricKey [SWS_CRYPT_20762] Upstream: RS_CRYPTO_02001, RS_CRYPTO_02002

virtual ara::core::Result< SymmetricKey::Sptr > LoadSymmetricKey (Key Slot::Sptr keySlot) noexcept=0;

Load a symmetric key from the provided KeySlot.

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

El método virtual puro LoadSymmetricKey de la clase ara::crypto::cryp::CryptoProvider sirve para cargar una clave simétrica desde un espacio de almacenamiento de claves proporcionado [SWS_CRYPT_20762]. Como parámetro, la función recibe un puntero compartido al espacio de almacenamiento en cuestión (keySlot) y devuelve de forma síncrona un ara::core::Result<SymmetricKey::Sptr> que, en caso de ejecución correcta, proporciona un puntero compartido al objeto de clave cargado [SWS_CRYPT_20762].

Con respecto a la concurrencia y a la seguridad de ejecución, el método está especificado como thread-safe y exception safe, y declarado con noexcept [SWS_CRYPT_20762].

Si se produce un error durante la carga, el método devuelve a través del objeto Result códigos de error específicos del dominio ara::crypto::CryptoErrc con semántica de reversión definida [SWS_CRYPT_20762]:

  • ara::crypto::CryptoErrc::kEmptyKeySlot: se produce cuando el KeySlot pasado está vacío [SWS_CRYPT_20762].
  • ara::crypto::CryptoErrc::kIncompatibleObject: se devuelve si el recurso subyacente pertenece a otro proveedor criptográfico incompatible o contiene un tipo de clave diferente [SWS_CRYPT_20762].
  • ara::crypto::CryptoErrc::kBusyResource: señala que la operación no se puede ejecutar temporalmente [SWS_CRYPT_20762].

Este texto fue generado por un sistema de IA y se fundamenta exclusivamente en la especificación.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
keySlotthe KeySlot that contains the key for loading

Rückgabewert

TypBeschreibung
ara::core::Result<SymmetricKey::Sptr >result containing a shared pointer to the loaded key or an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kEmptyKeySlotrollback_semantics if the KeySlot is empty
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if the underlying resource belongs to another, incompatible Crypto Provider or contains a different key type
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics if the operation temporarily cannot be performed

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20762
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20762@rel:R25-11#8a37ba30
Content hash
8a37ba30
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20762
Status: valid/unmigrated Version: rel:R25-11#f47254ea 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_20762@rel:R25-11#f47254ea
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#0e0c91c92026-09-30
  • R20-11rel:R20-11#a2b2b6ca2026-10-14
  • R21-11rel:R21-11#71269d212026-10-14
  • R22-11rel:R22-11#af928a362026-10-14
  • R23-11rel:R23-11#aa4c06512026-10-14
  • R24-11rel:R24-11#d7011cdb2026-10-14
  • R25-11rel:R25-11#f47254ea2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función operator= [SWS_CRYPT_30216] Upstream: RS_CRYPTO_02004

CryptoProvider & operator= (const CryptoProvider &other)=delete;

Copy-assign another CryptoProvider to this instance.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider

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

Record
AUTOSAR/AP/record/SWS_CRYPT_30216
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_30216@rel:R25-11#669c8ed0
Content hash
669c8ed0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_30216
Status: valid/unmigrated Version: rel:R25-11#96e40041 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_30216@rel:R25-11#96e40041
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#d4dd587d2026-09-30
  • R20-11rel:R20-11#8f862b702026-10-14
  • R21-11rel:R21-11#8f862b702026-10-14
  • R22-11rel:R22-11#1f0154312026-10-14
  • R23-11rel:R23-11#b6c645d62026-10-14
  • R24-11rel:R24-11#96e400412026-10-14
  • R25-11rel:R25-11#96e400412026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función operator= [SWS_CRYPT_30217] Upstream: RS_CRYPTO_02004

CryptoProvider & operator= (CryptoProvider &&other)=delete;

Move-assign another CryptoProvider to this instance.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider

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

Record
AUTOSAR/AP/record/SWS_CRYPT_30217
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_30217@rel:R25-11#99590d53
Content hash
99590d53
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_30217
Status: valid/unmigrated Version: rel:R25-11#fcc3d64e 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_30217@rel:R25-11#fcc3d64e
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#875b931c2026-09-30
  • R20-11rel:R20-11#ad3659582026-10-14
  • R21-11rel:R21-11#c29463602026-10-14
  • R22-11rel:R22-11#1048bb462026-10-14
  • R23-11rel:R23-11#4eff1ccf2026-10-14
  • R24-11rel:R24-11#53bda24c2026-10-14
  • R25-11rel:R25-11#fcc3d64e2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

función ~CryptoProvider [SWS_CRYPT_20710] Upstream: RS_CRYPTO_02107

virtual ~CryptoProvider () noexcept=default;

Destructor.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20710
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20710@rel:R25-11#c4496f91
Content hash
c4496f91
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20710
Status: valid/unmigrated Version: rel:R25-11#8dc356f1 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_20710@rel:R25-11#8dc356f1
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#92a5ae4c2026-09-30
  • R19-11rel:R19-11#262154f72026-10-14
  • R20-11rel:R20-11#01fe77212026-10-14
  • R21-11rel:R21-11#01fe77212026-10-14
  • R22-11rel:R22-11#416497032026-10-14
  • R23-11rel:R23-11#9976743f2026-10-14
  • R24-11rel:R24-11#9c7dc3252026-10-14
  • R25-11rel:R25-11#8dc356f12026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

Documentación de los alias de tipo

alias de tipo Sptr [SWS_CRYPT_20701] Upstream: RS_CRYPTO_02109

using Sptr = std::shared_ptr<CryptoProvider>;

Shared pointer of the CryptoProvider.

Header-Datei#include "ara/crypto/cryp/crypto_provider.h"
Scopeclass ara::crypto::cryp::CryptoProvider
SymbolSptr

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

Record
AUTOSAR/AP/record/SWS_CRYPT_20701
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_20701@rel:R25-11#73787bf5
Content hash
73787bf5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_20701
Status: valid/unmigrated Version: rel:R25-11#b2ab3ec9 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_20701@rel:R25-11#b2ab3ec9
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#374f02562026-09-30
  • R19-11rel:R19-11#c100f8d02026-10-14
  • R20-11rel:R20-11#60b520932026-10-14
  • R21-11rel:R21-11#60b520932026-10-14
  • R22-11rel:R22-11#6cce43132026-10-14
  • R23-11rel:R23-11#35053b082026-10-14
  • R24-11rel:R24-11#90ffb1202026-10-14
  • R25-11rel:R25-11#b2ab3ec92026-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