DEENESPTFRRUARHIKOZHNL

클래스 ara::crypto::cryp::KeyDecapsulatorPrivateCtx

[SWS_CRYPT_21400] Upstream: RS_CRYPTO_02104, RS_CRYPTO_02209

class KeyDecapsulatorPrivateCtx :                public CryptoContext {...};

Asymmetric Key Encapsulation Mechanism (KEM) Private key Context interface.

Header-Datei#include "ara/crypto/cryp/key_decapsulator_private_ctx.h"
Forwarding-Header#include "ara/crypto/crypto_fwd.h"
Scopenamespace ara::crypto::cryp
Basisklasse(n)CryptoContext

사용자 가이드AI 생성

대칭 키 객체 생성을 위한 키 데이터의 비대칭 역캡슐화를 가능하게 합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 7f8cddaf4e45 출처 열린 질문 (2)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

대칭 키 객체 생성을 위한 키 데이터의 비대칭 역캡슐화를 가능하게 합니다.

인터페이스 ara::crypto::cryp::KeyDecapsulatorPrivateCtx는 대상 대칭 키 생성을 위한 키 데이터의 비대칭 역캡슐화(Key Encapsulation Mechanism, KEM)에 사용됩니다 [SWS_CRYPT_21412]. 역캡슐화 전에 컨텍스트는 SetKey를 통해 개인 키 또는 적절한 키 저장 공간으로 반드시 초기화되어야 합니다 [SWS_CRYPT_21413]. 그 후 Decapsulate 메서드가 캡슐화된 데이터를 스레드 및 예외 안전 방식으로 새로운 대칭 키 인스턴스로 변환합니다 [SWS_CRYPT_21412]. 모든 인터페이스 호출은 오류 발생 시 엄격한 롤백 시맨틱을 보장합니다.

컨텍스트

클래스 ara::crypto::cryp::KeyDecapsulatorPrivateCtx는 개인 키 기반의 비대칭 키 역캡슐화 메커니즘(Key Encapsulation Mechanism, KEM)을 위한 표준화된 인터페이스를 형성합니다. 특화된 암호화 컨텍스트로서 CryptoContext로부터 상속받으며, 비대칭 개인 키를 사용하여 이전에 전송된 캡슐화된 키 데이터를 역캡슐화하고 새로운 대칭 키 객체(SymmetricKey)로 변환하는 역할을 합니다 [SWS_CRYPT_21412].

역캡슐화 작업에는 최소 세 가지 컴포넌트가 참여합니다: 요청 애플리케이션, 역캡슐화 컨텍스트 자체, 그리고 PrivateKey [SWS_CRYPT_21413] 또는 KeySlot를 통해 참조되는 저장소 슬롯 형태의 키 소스입니다 [SWS_CRYPT_50083]. 성공적으로 역캡슐화된 후 컨텍스트는 생성된 대칭 키 객체를 스마트 포인터로 제공합니다 [SWS_CRYPT_21412].

kem_context Anwendung 애플리케이션 KeyDecapsulatorPrivateCtx KeyDecapsulatorPrivateCtx Anwendung->KeyDecapsulatorPrivateCtx steuert SymmetricKey SymmetricKey KeyDecapsulatorPrivateCtx->SymmetricKey Decapsulate() Schluesselquelle PrivateKey / KeySlot Schluesselquelle->KeyDecapsulatorPrivateCtx SetKey() SymmetricKey->Anwendung Sptr

컨텍스트 다이어그램: 키 제공과 대상 키 생성 사이에서 역캡슐화 컨텍스트의 연계. 출처: [SWS_CRYPT_21412], [SWS_CRYPT_21413], [SWS_CRYPT_50083]

수명 주기

컨텍스트는 일반적으로 타입 별칭 KeyDecapsulatorPrivateCtx::Sptr를 통해 std::shared_ptr로 참조 및 공유됩니다 [SWS_CRYPT_21401]. 인터페이스가 순수 가상 멤버 함수를 정의하므로, 구체적인 객체의 인스턴스화는 상위 암호화 팩토리를 통해 수행되는 것으로 추정됩니다(해석). 질문 Q-870e12aabbad8472 (열림) 파괴 및 리소스 정리는 스마트 포인터의 수명 주기에 바인딩됩니다.

처음에 컨텍스트는 역캡슐화 키가 아직 할당되지 않은 초기화되지 않은 상태에 있습니다. 이 상태에서 Decapsulate를 직접 호출하면 UninitializedContext 오류와 함께 실패합니다 [SWS_CRYPT_21412]. 두 오버로드된 메서드 SetKey 중 하나를 성공적으로 호출해야만 컨텍스트가 작동 준비 완료 상태로 전환됩니다 [SWS_CRYPT_21413], [SWS_CRYPT_50083]. KeySlot가 할당된 경우, 그 안에 포함된 개인 키는 실제 역캡슐화 시점에 동적으로만 참조되므로, 슬롯 내용의 변경 사항은 향후 역캡슐화 호출에 즉시 영향을 미칠 것으로 추정됩니다(해석). 질문 Q-0b0dfc1fd3ebbc6f (열림)

동시성 및 결함 감내 측면에서 모든 메서드는 스레드 안전(thread-safe) 및 예외 안전(exception safe)으로 명세되어 있습니다 [SWS_CRYPT_21412], [SWS_CRYPT_21413], [SWS_CRYPT_50083]. 변환 메서드 Decapsulate가 const로 선언되어 있으므로, 여러 스레드가 동일하게 구성된 컨텍스트에서 병렬로 역캡슐화를 시작할 수 있습니다 [SWS_CRYPT_21412].

사용 경로

세션 키를 역캡슐화하는 정규 절차는 두 개의 연속된 단계로 나뉩니다:

  1. 역캡슐화 키 구성: 애플리케이션은 PrivateKey::Sptr를 전달하거나 [SWS_CRYPT_21413] KeySlot::Sptr를 지정하여 [SWS_CRYPT_50083] SetKey를 통해 컨텍스트를 구성합니다. 그 결과는 ara::core::Result<void>이며, 다음 단계 전에 그 상태를 확인해야 합니다.
  2. 역캡슐화 수행: 애플리케이션은 Decapsulate를 호출하고 캡슐화된 키의 버퍼 데이터(ReadOnlyMemRegion encapsulatedKey), 대상 키의 알고리즘 식별자(AlgId algId) 및 해당 키의 허용된 사용 유형(AllowedUsageFlags allowedUsage)을 전달합니다 [SWS_CRYPT_21412].
  3. 결과 처리: 성공적으로 변환되면 함수는 ara::core::Result<SymmetricKey::Sptr>를 반환하며, 이를 통해 새로운 대칭 키를 후속 암호화 작업에 즉시 사용할 수 있습니다 [SWS_CRYPT_21412].
키 디캡슐화(KEM) 시퀀스애플리케이션KeyDecapsulatorPrivateCtxSymmetricKeyUse Case: 키 구성SetKey(key) 또는 SetKey(keySlot)ara::core::Result<void>Use Case: 키 디캡슐화Decapsulate(encapsulatedKey, algId, allowedUsage)타깃 키 생성Instanz erzeugtara::core::Result<SymmetricKey::Sptr>

시퀀스 다이어그램: 대상 키의 키 구성 및 역캡슐화의 일반적인 절차. 출처: [SWS_CRYPT_21412], [SWS_CRYPT_21413], [SWS_CRYPT_50083]

오류 시나리오

모든 작업은 ara::core::Result를 통해 오류 상태를 반환하고 엄격한 롤백 시맨틱(rollback_semantics)을 보장하므로, 실패 시에도 컨텍스트가 유효한 상태로 유지됩니다 [SWS_CRYPT_21412], [SWS_CRYPT_21413], [SWS_CRYPT_50083].

SetKey를 통한 키 구성 중 다음과 같은 오류가 발생할 수 있습니다:

  • CryptoErrc::kIncompatibleObject: 전달된 PrivateKey 객체 또는 KeySlot가 컨텍스트와 호환되지 않습니다 [SWS_CRYPT_21413], [SWS_CRYPT_50083].
  • CryptoErrc::kUsageViolation: 개인 키의 권한 플래그에 언팩(kAllowKeyUnwrapping) 권한이 포함되어 있지 않습니다 [SWS_CRYPT_21413].
  • CryptoErrc::kUnsupported: 컨텍스트 구현이 다른 구성 방식만 지원합니다(예: KeySlot를 통한 바인딩만 지원하거나 PrivateKey를 통한 바인딩만 지원) [SWS_CRYPT_21413], [SWS_CRYPT_50083].

Decapsulate 호출 시 다음과 같은 오류 원인이 명세되어 있습니다:

  • UninitializedContext: 컨텍스트에 이전에 키가 할당되지 않았습니다 [SWS_CRYPT_21412].
  • CryptoErrc::kInvalidArgument: 전달된 버퍼 encapsulatedKey의 데이터 형식이 유효하지 않습니다 [SWS_CRYPT_21412].
  • CryptoErrc::kUnknownIdentifier: 전달된 algId 식별자가 지원되지 않습니다 [SWS_CRYPT_21412].
  • CryptoErrc::kIncompatibleArguments: 대상 권한 allowedUsage이 algId 또는 키 타입과 일치하지 않거나, algId가 encapsulatedKey의 KEM 데이터와 호환되지 않습니다 [SWS_CRYPT_21412].
  • CryptoErrc::kUsageViolation: 구성된 키의 사용 규칙이 언팩을 허용하지 않습니다(kAllowKeyUnwrapping 누락) [SWS_CRYPT_21412].
  • CryptoErrc::kEmptyKeySlot: 이전에 SetKey를 통해 바인딩된 KeySlot에 실행 시점에 키가 포함되어 있지 않습니다 [SWS_CRYPT_21412].
  • CryptoErrc::kBusyResource: 암호화 계산에 필요한 시스템 리소스가 일시적으로 사용 중입니다 [SWS_CRYPT_21412].

이 클래스 가이드는 crypto 모듈의 명세 요구사항을 바탕으로 AUTOSAR Adaptive R25-11을 위해 생성되었습니다.

멤버 맵

타입 별칭

1

클래스 다이어그램

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

G nara__crypto__cryp__KeyDecapsulatorPrivateCtx748 KeyDecapsulatorPrivateCtx + Decapsulate() + SetKey() nara__crypto__cryp__CryptoContext85 CryptoContext nara__crypto__cryp__KeyDecapsulatorPrivateCtx748->nara__crypto__cryp__CryptoContext85

상세 보기

개요에서 항목을 선택하세요.

메서드

Decapsulate the keying data into a new SymmetricKey.

virtual ara::core::Result< SymmetricKey::Sptr > Decapsulate (ReadOnly MemRegion encapsulatedKey, AlgId algId, AllowedUsageFlags allowed Usage) const noexcept=0;
SetKey 함수 2

Configure the context to use the provided key as decapsulation key.

오버로드 SetKey 2
virtual ara::core::Result< void > SetKey (PrivateKey::Sptr key) noexcept=0; SWS_CRYPT_21413
virtual ara::core::Result< void > SetKey (KeySlot::Sptr keySlot) noexcept=0; SWS_CRYPT_50083

타입 별칭

Sptr 타입 별칭

Smart pointer of the interface.

메서드 문서

함수 Decapsulate [SWS_CRYPT_21412] Upstream: RS_CRYPTO_02102, RS_CRYPTO_02108, RS_CRYPTO_02115

virtual ara::core::Result< SymmetricKey::Sptr > Decapsulate (ReadOnly MemRegion encapsulatedKey, AlgId algId, AllowedUsageFlags allowed Usage) const noexcept=0;

Decapsulate the keying data into a new SymmetricKey.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 74316f4045a4 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

클래스 ara::crypto::cryp::KeyDecapsulatorPrivateCtx의 메서드 Decapsulate은(는) 키 데이터를 새 대칭 키 객체로 동기적으로 디캡슐화하는 데 사용됩니다 [SWS_CRYPT_21412]. 이 메서드는 캡슐화된 키가 있는 메모리 영역(encapsulatedKey), 대상 알고리즘의 식별자(algId), 대상 키의 허용된 변환 유형을 정의하는 사용 플래그(allowedUsage)를 수신합니다 [SWS_CRYPT_21412]. 이 호출은 noexcept 및 exception safe(으)로 명시되어 있으며 결과를 ara::core::Result<SymmetricKey::Sptr>에 동기적으로 반환합니다 [SWS_CRYPT_21412].

오류 처리

오류 발생 시 이 함수는 롤백 시맨틱을 보장합니다 [SWS_CRYPT_21412]. 가능한 오류 원인은 다음과 같습니다:

  • UninitializedContext: 컨텍스트가 개인 키로 아직 초기화되지 않았습니다 [SWS_CRYPT_21412].
  • CryptoErrc::kInvalidArgument: 입력 버퍼 encapsulatedKey의 형식이 유효하지 않습니다 [SWS_CRYPT_21412].
  • ara::crypto::CryptoErrc::kUnknownIdentifier: 전달된 식별자 algId이(가) 지원되지 않습니다 [SWS_CRYPT_21412].
  • ara::crypto::CryptoErrc::kIncompatibleArguments: allowedUsage의 플래그가 algId 또는 키 유형과 호환되지 않거나, algId이(가) encapsulatedKey과(와) 일치하지 않습니다 [SWS_CRYPT_21412].
  • ara::crypto::CryptoErrc::kUsageViolation: 개인 키의 권한이 kAllowKeyUnwrapping을(를) 허용하지 않습니다 [SWS_CRYPT_21412].
  • ara::crypto::CryptoErrc::kBusyResource 또는 ara::crypto::CryptoErrc::kEmptyKeySlot: 필요한 리소스가 사용 중이거나 구성된 KeySlot이 현재 비어 있습니다 [SWS_CRYPT_21412].

동시성 및 제약사항

이 연산은 thread-safe이며 const(으)로 선언되어 있습니다 [SWS_CRYPT_21412]. 해석: ara::crypto::CryptoErrc::kEmptyKeySlot의 발생은 디캡슐화를 위해 구성된 KeySlot이 호출 전에 유효한 키 자료로 채워져 있어야 함을 전제로 할 것으로 추정됩니다. 질문 Q-941ed6a81c1e714c (열림)

이 사용 지침은 자동으로 생성되었으며 AUTOSAR Adaptive R25-11의 명세 데이터만을 기반으로 합니다.

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

Parameter (in)

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

Rückgabewert

TypBeschreibung
ara::core::Result<SymmetricKey::Sptr >a result containing a the decapsulated symmetric key object or an error

Fehler

FehlercodeBeschreibung
UninitializedContextif the context was not initialized by a private key value
CryptoErrc::kInvalidArgumentrollback_semantics if the format of encapsulatedKey is invalid
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::kIncompatibleArgumentsrollback_semantics if the algId is incompatible to the encapsulatedKey
ara::crypto::CryptoErrc::kBusyResourcerollback_semantics a required resource is busy
ara::crypto::CryptoErrc::kEmptyKeySlotrollback_semantics if a KeySlot was configured that is currently is empty
ara::crypto::CryptoErrc::kUsageViolationrollback_semantics if the allowed usage of the key does not include kAllowKey Unwrapping

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

Record
AUTOSAR/AP/record/SWS_CRYPT_21412
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_21412@rel:R25-11#2693dd4f
Content hash
2693dd4f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_21412
Status: valid/unmigrated Version: rel:R25-11#eae42d09 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_21412@rel:R25-11#eae42d09
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#adc903502026-09-30
  • R19-11rel:R19-11#2a160e442026-10-14
  • R20-11rel:R20-11#b88e4d222026-10-14
  • R21-11rel:R21-11#5336aaad2026-10-14
  • R22-11rel:R22-11#e33519842026-10-14
  • R23-11rel:R23-11#fae6d8942026-10-14
  • R24-11rel:R24-11#807767cc2026-10-14
  • R25-11rel:R25-11#eae42d092026-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

함수 SetKey [SWS_CRYPT_21413] Upstream: RS_CRYPTO_02001, RS_CRYPTO_02003

virtual ara::core::Result< void > SetKey (PrivateKey::Sptr key) noexcept=0;

Configure the context to use the provided key as decapsulation key.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 43bd56adb05b 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

메서드 SetKey은 전달된 개인 키(PrivateKey::Sptr key)를 디캡슐레이션 키로 사용하도록 컨텍스트 KeyDecapsulatorPrivateCtx을 구성합니다 [SWS_CRYPT_21413]. 실행은 동기식으로 이루어지며 예외 안전(exception safe) 및 스레드 안전(thread-safe)으로 선언되어 있습니다 [SWS_CRYPT_21413]. 결과는 ara::core::Result<void>로 반환됩니다 [SWS_CRYPT_21413].

구성 중 오류가 발생하면 해당 오류 코드가 반환됩니다. 이때 롤백 시맨틱이 적용되므로 컨텍스트의 이전 상태는 변경되지 않고 유지됩니다 [SWS_CRYPT_21413]. 다음 오류 사례가 지정되어 있습니다:

  • ara::crypto::CryptoErrc::kIncompatibleObject: 전달된 키 객체가 컨텍스트와 호환되지 않습니다 [SWS_CRYPT_21413].
  • ara::crypto::CryptoErrc::kUsageViolation: 키의 허용된 사용 목적에 kAllowKey Unwrapping이 포함되어 있지 않습니다 [SWS_CRYPT_21413].
  • ara::crypto::CryptoErrc::kUnsupported: 특정 컨텍스트는 KeySlot을 통한 할당만을 지원합니다 [SWS_CRYPT_21413].

전체 암호화 흐름에서 이 컨텍스트는 KeyEncapsulatorPublicCtx의 캡슐화에 대한 대응부 역할을 하며, 여기서 공개 키는 SetKey을 통해 설정됩니다 [SWS_CRYPT_21815]. KeyEncapsulatorPublicCtx 또한 KeySlot를 통한 할당을 제공하지만 [SWS_CRYPT_50012], 이 호출에는 일치하는 사용 권한을 가진 호환 가능한 PrivateKey 객체의 제공이 필요합니다 [SWS_CRYPT_21413].

이 텍스트는 AUTOSAR Adaptive R25-11 명세를 기반으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I2)

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

Parameter (in)

ParameterBeschreibung
keythe key encapsulation key

Rückgabewert

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

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if the provided key object is incompatible with this context
ara::crypto::CryptoErrc::kUsageViolationrollback_semantics if the allowed usage of the key does not include kAllowKey Unwrapping
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context only supports setting a KeySlot

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

Record
AUTOSAR/AP/record/SWS_CRYPT_21413
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_21413@rel:R25-11#05dcab0a
Content hash
05dcab0a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_21413
Status: valid/unmigrated Version: rel:R25-11#3d2109f4 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_21413@rel:R25-11#3d2109f4
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#09c6c8002026-09-30
  • R20-11rel:R20-11#15c6e3ca2026-10-14
  • R21-11rel:R21-11#c2e0f0602026-10-14
  • R22-11rel:R22-11#190096332026-10-14
  • R23-11rel:R23-11#b764d7602026-10-14
  • R24-11rel:R24-11#5a49401b2026-10-14
  • R25-11rel:R25-11#3d2109f42026-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

함수 SetKey [SWS_CRYPT_50083] Upstream: RS_CRYPTO_02001, RS_CRYPTO_02003

virtual ara::core::Result< void > SetKey (KeySlot::Sptr keySlot) noexcept=0;

Configure the context to use the key stored in the provided KeySlot at the time the key decapsulation is performed as encapsulation key.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 80a237bd0066 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

SetKey 메서드는 키 캡슐화 해제에 전달된 KeySlot에 저장된 개인 키가 사용되도록 ara::crypto::cryp::KeyDecapsulatorPrivateCtx 인스턴스를 구성합니다[SWS_CRYPT_50083]. 매개변수로는 해당 저장 위치를 가리키는 스마트 포인터 KeySlot::Sptr가 전달됩니다. 동기식 호출은 성공 시 비어 있거나 오류 코드를 포함하는 ara::core::Result<void>를 반환합니다[SWS_CRYPT_50083].

구성 중 오류가 발생하면 롤백 시맨틱이 적용됩니다[SWS_CRYPT_50083]:

  • ara::crypto::CryptoErrc::kIncompatibleObject은(는) 전달된 KeySlot이(가) 컨텍스트와 호환되지 않음을 나타냅니다[SWS_CRYPT_50083].
  • 구체적인 컨텍스트 구현이 PrivateKey 객체를 통한 할당만을 지원하는 경우 ara::crypto::CryptoErrc::kUnsupported이(가) 반환됩니다[SWS_CRYPT_50083].

이 연산은 thread-safe 및 exception safe(noexcept)로 명세되어 있습니다[SWS_CRYPT_50083]. 모듈과의 상호작용에서 이 호출은 PrivateKey의 직접 할당에 대한 대안을 나타냅니다[SWS_CRYPT_21413]. 해석: 명세가 이 후속 실행 시점을 명시적으로 강조하므로, 키 내용은 캡슐화 해제 연산의 실제 수행 시 비로소 슬롯에서 평가될 것으로 보입니다[SWS_CRYPT_50083]. 질문 Q-aa4a9bc9630ecf1c (열림)

이 텍스트는 AUTOSAR 사양을 바탕으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I2)

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

Parameter (in)

ParameterBeschreibung
keySlota keyslot containing a private key

Rückgabewert

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

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if the provided keySlot is incompatible with this context
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context only supports setting a PrivateKey

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50083
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50083@rel:R25-11#1073c879
Content hash
1073c879
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50083
Status: valid/unmigrated Version: rel:R25-11#fce97029 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_50083@rel:R25-11#fce97029
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

타입 별칭 문서

타입 별칭 Sptr [SWS_CRYPT_21401] Upstream: RS_CRYPTO_02104

using Sptr = std::shared_ptr<KeyDecapsulatorPrivateCtx>;

Smart pointer of the interface.

Header-Datei#include "ara/crypto/cryp/key_decapsulator_private_ctx.h"
Scopeclass ara::crypto::cryp::KeyDecapsulatorPrivateCtx
SymbolSptr

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

Record
AUTOSAR/AP/record/SWS_CRYPT_21401
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_21401@rel:R25-11#ac1f03c3
Content hash
ac1f03c3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_21401
Status: valid/unmigrated Version: rel:R25-11#c79deea3 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_21401@rel:R25-11#c79deea3
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#3f5f125b2026-09-30
  • R19-11rel:R19-11#c695802b2026-10-14
  • R20-11rel:R20-11#5f347cf32026-10-14
  • R21-11rel:R21-11#8f070cff2026-10-14
  • R22-11rel:R22-11#ce91ad1b2026-10-14
  • R23-11rel:R23-11#c486e1b82026-10-14
  • R24-11rel:R24-11#c486e1b82026-10-14
  • R25-11rel:R25-11#c79deea32026-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