DEENESPTFRRUARHIKOZHNL

클래스 ara::crypto::cryp::DecryptorPrivateCtx

[SWS_CRYPT_50155] Upstream: RS_CRYPTO_02201

class DecryptorPrivateCtx :             public CryptoContext {...};

Interface for asymmetric decryption.

Header-Datei#include "ara/crypto/cryp/decryptor_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 · 온도: 제어 불가 · 프롬프트: 80609e0a7ac2 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

개인 키를 사용하여 단일 호출 또는 데이터 스트림으로 데이터의 비대칭 복호화를 지원합니다.

인터페이스 ara::crypto::cryp::DecryptorPrivateCtx은 AUTOSAR Adaptive Platform에서 암호문의 비대칭 복호화를 위해 사용됩니다([SWS_CRYPT_50070]). 실행 전에 컨텍스트에는 복호화 사용 권한을 보유한 개인 키가 반드시 전달되어야 합니다([SWS_CRYPT_50157]). 처리는 단일 호출로 수행되거나 Start, Update 및 Finish 단계를 거치는 다중 파트 데이터 스트림으로 선택하여 수행될 수 있습니다. 이 인터페이스의 모든 메서드는 스레드 및 예외 안전하게 구현되어 있습니다.

컨텍스트

인터페이스 ara::crypto::cryp::DecryptorPrivateCtx은 AUTOSAR Adaptive Platform의 암호화 모듈에서 암호문의 비대칭 복호화를 위해 사용됩니다. CryptoContext의 특수화로서, 개인 키를 사용하여 암호문을 다시 일반 텍스트로 변환하는 암호화 변환 기능을 제공합니다. 주요 상호작용 대상에는 호출 애플리케이션 및 PrivateKey로 또는 KeySlot을 통해 제공되는 키 객체가 포함됩니다. 이 인터페이스의 인스턴스는 일반적으로 타입이 지정된 스마트 포인터 Sptr([SWS_CRYPT_50156])를 통해 관리됩니다.

수명 주기

DecryptorPrivateCtx의 관리는 std::shared_ptr<DecryptorPrivateCtx>에 매핑된 별칭 ara::crypto::cryp::DecryptorPrivateCtx::Sptr을 통해 수행됩니다([SWS_CRYPT_50156]). 해석: 해당 클래스는 순수 가상 메서드를 가진 인터페이스이므로, 구체적인 생성은 일반적으로 암호화 드라이버의 팩토리에 의해 수행될 것으로 보입니다. 질문 Q-6130603fcaf29ef9 (열림)

인스턴스화 직후 컨텍스트는 초기화되지 않은 상태에 있습니다. 이 상태에서는 작동 변환 호출 시 오류가 발생합니다. 활성화를 위해서는 개인 키가 할당되어야 합니다. 이는 SetKey()을 통한 PrivateKey::Sptr의 전달([SWS_CRYPT_50157]) 또는 키를 캡슐화하는 KeySlot::Sptr([SWS_CRYPT_50066])을 통해 수행됩니다.

유효한 키로 컨텍스트가 구성되면 Initialized 상태로 전이됩니다. 이 상태에서 컨텍스트는 단일 복호화에 직접 사용되거나 Start()([SWS_CRYPT_50067])을 통해 Streaming 처리 상태로 전환될 수 있습니다. 스트리밍 동안 Update()([SWS_CRYPT_50158])는 암호문 프래그먼트를 수신합니다. 시퀀스는 Finish()([SWS_CRYPT_50068])에 의해 완료되거나 Cancel()([SWS_CRYPT_50069])을 통해 중단되며, 그 후 컨텍스트는 다시 새로운 작업을 위해 준비됩니다. 모든 인터페이스 메서드는 스레드 안전 및 예외 안전으로 명시되어 있습니다([SWS_CRYPT_50066], [SWS_CRYPT_50067], [SWS_CRYPT_50070]).

StateMachine Uninitialized Uninitialized Initialized Initialized Uninitialized->Initialized SetKey() Initialized->Initialized SetKey() / Decrypt() Streaming Streaming Initialized->Streaming Start() Streaming->Initialized Finish() / Cancel() Streaming->Streaming Update()

상태 다이어그램: 키 바인딩부터 스트리밍을 거쳐 종료에 이르기까지 컨텍스트의 수명 주기 상태. 출처: [SWS_CRYPT_50066], [SWS_CRYPT_50157], [SWS_CRYPT_50067], [SWS_CRYPT_50158], [SWS_CRYPT_50068], [SWS_CRYPT_50069], [SWS_CRYPT_50070].

사용 경로

복호화를 위해 두 가지 서로 다른 흐름을 사용할 수 있습니다: 상태 비저장 단일 복호화와 다단계 스트리밍 처리입니다. 데이터를 전달하기 전에 호출 애플리케이션은 GetMinimumChunkSize()([SWS_CRYPT_50160]) 및 GetMaximumChunkSize()([SWS_CRYPT_50071])를 사용하여 암호문에 대해 허용되는 입력 제한을 쿼리할 수 있습니다. GetRequiredOutputBufferSize()([SWS_CRYPT_50159])를 통해 Update(), Finish() 또는 Decrypt()에 필요한 출력 버퍼 크기를 미리 결정할 수 있습니다.

콤팩트한 데이터양의 경우 키 구성 후 복호화가 Decrypt()([SWS_CRYPT_50070])을 통해 직접 수행됩니다. 암호문은 단일 단계로 변환되며 복호화된 실제 바이트 수가 반환됩니다.

더 크거나 프래그먼트화되어 유입되는 암호문은 스트리밍 경로를 통해 처리됩니다:

  1. 키 할당: PrivateKey([SWS_CRYPT_50157]) 또는 KeySlot([SWS_CRYPT_50066])을 사용하여 SetKey()을 통한 컨텍스트 구성.
  2. 초기화: 내부 처리 상태를 준비하기 위한 Start()([SWS_CRYPT_50067]) 호출.
  3. 블록 단위 처리: 연속적인 암호문 블록에 대한 Update()([SWS_CRYPT_50158])의 반복 호출.
  4. 완료: 최종 블록 처리 및 스트림 종료를 위한 Finish()([SWS_CRYPT_50068]) 호출. 대안적으로 Cancel()([SWS_CRYPT_50069])를 사용하여 작업을 조기에 중단할 수 있습니다.
스트리밍 복호화 흐름애플리케이션DecryptorPrivateCtxSetKey(key)Result<void>Start()Result<void>loopSolange Chunks vorhandenUpdate(in, out)Result<std::size_t>Finish(in, out)Result<std::size_t>

시퀀스 다이어그램: 다중 파트 스트리밍 복호화의 일반적인 호출 순서. 출처: [SWS_CRYPT_50157], [SWS_CRYPT_50067], [SWS_CRYPT_50158], [SWS_CRYPT_50068].

오류 시나리오

DecryptorPrivateCtx의 메서드는 ara::crypto::CryptoErrc의 코드가 포함된 ara::core::Result을 통해 오류를 반환하며 롤백 시맨틱을 따릅니다:

이 가이드는 AUTOSAR 사양 R25-11을 기반으로 AI에 의해 생성되었습니다.

멤버 맵

클래스 다이어그램

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

G nara__crypto__cryp__DecryptorPrivateCtx616 DecryptorPrivateCtx + Cancel() + Decrypt() + Finish() + GetMaximumChunkSize() + GetMinimumChunkSize() + GetRequiredOutputBufferSize() + SetKey() + Start() + Update() nara__crypto__cryp__CryptoContext85 CryptoContext nara__crypto__cryp__DecryptorPrivateCtx616->nara__crypto__cryp__CryptoContext85

상세 보기

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

메서드

Cancel 함수

Cancel the ongoing streaming operation that has been initiated by Start() and has not yet been finished.

virtual ara::core::Result< void > Cancel () noexcept=0;
Decrypt 함수

Decrypt data in a single-call.

virtual ara::core::Result< std::size_t > Decrypt (ReadOnlyMemRegion in, ReadWriteMemRegion out) noexcept=0;
Finish 함수

Finalize the decryption.

virtual ara::core::Result< std::size_t > Finish (ReadOnlyMemRegion in, ReadWriteMemRegion out) noexcept=0;

Get the maximum input buffer size supported for processing in single calls to Update(), Finish(), or Decrypt() by this context.

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

Get the minimum input buffer size supported for processing in single calls to Update(), Finish(), or Decrypt() by this context.

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

Calculate the maximum required size of the output buffer depending on the input size in the current state of the context.

virtual ara::core::Result< std::size_t > GetRequiredOutputBufferSize (std::size_t inputSize, bool isFinal) const noexcept;
SetKey 함수 2

Configure the context to use the key stored in the provided KeySlot at the time the decryption is started.

오버로드 SetKey 2
virtual ara::core::Result< void > SetKey (KeySlot::Sptr keySlot) noexcept=0; SWS_CRYPT_50066
virtual ara::core::Result< void > SetKey (PrivateKey::Sptr key) noexcept=0; SWS_CRYPT_50157
Start 함수

Initialize the context for a new decryption.

virtual ara::core::Result< void > Start () noexcept=0;
Update 함수

Decrypt a data buffer.

virtual ara::core::Result< std::size_t > Update (ReadOnlyMemRegion in, ReadWriteMemRegion out) noexcept=0;

타입 별칭

Sptr 타입 별칭

Smart pointer of the interface.

메서드 문서

함수 Cancel [SWS_CRYPT_50069] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< void > Cancel () noexcept=0;

Cancel the ongoing streaming operation that has been initiated by Start() and has not yet been finished.

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

ara/crypto/cryp/decryptor_private_ctx.h에 정의된 ara::crypto::cryp::DecryptorPrivateCtx 클래스의 메서드 Cancel은 이전에 Start()을 통해 시작되었으나 아직 완료되지 않은 진행 중인 스트리밍 연산을 취소합니다 [SWS_CRYPT_50069]. 호출은 전달 매개변수를 받지 않으며 반환값으로 ara::core::Result<void>을 제공합니다 [SWS_CRYPT_50069]. 스트리밍 처리 취소가 성공한 경우 객체는 비어 있는 결과를 포함하며, 그렇지 않은 경우 발생한 오류를 전달합니다 [SWS_CRYPT_50069]. 순수 가상 인터페이스는 noexcept(으)로 선언되어 있고 완전한 예외 안전성을 나타내며 동시 접근에 대해 thread-safe로 지정되어 있습니다 [SWS_CRYPT_50069].

오류 처리 및 실행 조건에서는 정확한 순서를 준수해야 합니다: 메서드 Start()의 호출을 통해 데이터 처리가 사전에 시작되지 않은 경우, 연산은 실패하고 롤백 시맨틱과 함께 특정 오류 코드 ara::crypto::CryptoErrc::kProcessingNotStarted을 반환합니다 [SWS_CRYPT_50069]. 따라서 호출자는 이러한 오류 상태를 방지하기 위해 취소 전에 이미 활성 연산이 존재하는지 확인해야 합니다 [SWS_CRYPT_50069].

crypt의 전체 모듈 아키텍처와의 상호 작용에서 Cancel은 상태를 갖는 스트리밍 프로세스에 대한 표준화된 디자인 패턴을 따릅니다. 동일한 시그니처, 반환 시맨틱 및 오류 처리를 관련 암호화 컨텍스트인 ara::crypto::cryp::VerifierPublicCtx [SWS_CRYPT_50023], ara::crypto::cryp::MessageAuthnCodeCtx [SWS_CRYPT_50027], ara::crypto::cryp::SignerPrivateCtx [SWS_CRYPT_50041], ara::crypto::cryp::SymmetricCipherCtx [SWS_CRYPT_50046], ara::crypto::cryp::HashFunctionCtx [SWS_CRYPT_50058], ara::crypto::cryp::AuthCipherCtx [SWS_CRYPT_50077] 및 ara::crypto::cryp::EncryptorPublicCtx [SWS_CRYPT_50089]이 공유합니다.

이 사용 지침은 AUTOSAR 사양 R25-11을 바탕으로 자동 생성되었습니다.

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

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

Rückgabewert

TypBeschreibung
ara::core::Result< void >an empty result if the ongoing streaming operation was cancelled successfully, or a result containing an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kProcessingNotStartedrollback_semantics if data processing was not started by a call of the Start() method

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

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

함수 Decrypt [SWS_CRYPT_50070] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< std::size_t > Decrypt (ReadOnlyMemRegion in, ReadWriteMemRegion out) noexcept=0;

Decrypt data in a single-call.

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

동기식 메서드 Decrypt는 단일 단계로 암호문 데이터를 복호화합니다([SWS_CRYPT_50070]). 입력 버퍼 in는 암호문을 ReadOnlyMemRegion(으)로 전달하는 반면, ReadWriteMemRegion 유형의 출력 버퍼 out는 평문을 수용합니다([SWS_CRYPT_50070]). 복호화에 성공하면 함수는 ara::core::Result<std::size_t>를 통해 실제로 기록된 바이트 수를 반환하며, 이는 out의 전체 용량보다 작을 수 있습니다([SWS_CRYPT_50070]).

이 인터페이스는 thread-safe 및 exception safe로 명세되어 있습니다([SWS_CRYPT_50070]). 호출 전에 키를 할당하여 컨텍스트를 초기화해야 합니다. 그렇지 않으면 함수가 UninitializedContext 오류로 실패하거나, KeySlot이 비어 있는 경우 ara::crypto::CryptoErrc::kEmptyKeySlot 오류로 실패합니다([SWS_CRYPT_50070]). 키는 변환 알고리즘과 호환되어야 하며(그렇지 않은 경우 kIncompatibleObject), kAllowDataDecryption 권한을 포함해야 합니다(그렇지 않은 경우 kUsageViolation)([SWS_CRYPT_50070]).

버퍼 오버플로를 방지하기 위해 isFinal = true을(를) 지정하여 GetRequiredOutputBufferSize로 출력 버퍼의 최대 필요 용량을 사전에 쿼리할 수 있습니다([SWS_CRYPT_50159]). out의 용량이 충분하지 않으면 메서드는 ara::crypto::CryptoErrc::kInsufficientCapacity 오류와 함께 중단됩니다([SWS_CRYPT_50070]). 또한 입력 버퍼 in의 크기는 GetMinimumChunkSize([SWS_CRYPT_50160])와 GetMaximumChunkSize([SWS_CRYPT_50071]) 사이의 범위에 있어야 하며, 그렇지 않으면 ara::crypto::CryptoErrc::kInvalidInputSize이(가) 반환됩니다([SWS_CRYPT_50070]). 롤백 시맨틱을 갖는 기타 명세된 오류로는 kUnsupported, kInvalidArgument 및 kBusyResource가 있습니다([SWS_CRYPT_50070]).

이 사용 지침은 명세를 기반으로 자동 생성되었습니다.

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

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

Parameter (in)

ParameterBeschreibung
inan input data buffer containing the ciphertext

Parameter (out)

ParameterBeschreibung
outan output data buffer that the decrypted data is written to

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >a result containing the size of the output data or an error. The output data may be smaller than the size of the output buffer out.

Fehler

FehlercodeBeschreibung
UninitializedContextif the context was not initialized by deploying a key
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if single-call decryption is not supported
ara::crypto::CryptoErrc::kInsufficientCapacityrollback_semantics if the output buffer is too small
ara::crypto::CryptoErrc::kInvalidInputSizerollback_semantics if the size of the input buffer cannot be processed
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if the provided input data contains invalid data
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 kAllowData Decryption
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if type of the key is incompatible to the transformation

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50070
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50070@rel:R25-11#49216dee
Content hash
49216dee
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50070
Status: valid/unmigrated Version: rel:R25-11#42aea752 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_50070@rel:R25-11#42aea752
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

함수 Finish [SWS_CRYPT_50068] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< std::size_t > Finish (ReadOnlyMemRegion in, ReadWriteMemRegion out) noexcept=0;

Finalize the decryption.

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

메서드 Finish은(는) ara::crypto::cryp::DecryptorPrivateCtx의 컨텍스트에서 복호화 과정을 동기식으로 완료합니다[SWS_CRYPT_50068]. 이 메서드는 입력 버퍼 in(ReadOnlyMemRegion)을(를) 통해 마지막 암호문 세그먼트를 처리하고 결과 일반 텍스트 데이터를 출력 버퍼 out(ReadWriteMemRegion)에 기록합니다[SWS_CRYPT_50068]. 실제로 기록된 바이트 수는 ara::core::Result<std::size_t>(으)로 반환되며 대상 버퍼 out의 전체 용량보다 작을 수 있습니다[SWS_CRYPT_50068].

호출 전에 데이터 처리는 반드시 Start()(으)로 시작되었어야 하며, 그렇지 않으면 오류 CryptoErrc::kProcessingNotStarted이(가) 보고됩니다[SWS_CRYPT_50068]. in에 허용되는 최대 블록 크기는 GetMaximumChunkSize()을(를) 통해 확인할 수 있으며[SWS_CRYPT_50071], 적절하지 않은 입력 길이의 경우 호출이 CryptoErrc::kInvalidInputSize(으)로 실패합니다[SWS_CRYPT_50068]. out이(가) 너무 작으면 CryptoErrc::kInsufficientCapacity이(가) 발생하며, 필요한 버퍼 크기는 GetRequiredOutputBufferSize()을(를) 통해 조회할 수 있습니다[SWS_CRYPT_50068]. 추가적인 가능한 오류로는 유효하지 않은 암호문 데이터 시의 CryptoErrc::kInvalidArgument 및 컨텍스트에서 스트림 처리가 지원되지 않는 경우의 CryptoErrc::kUnsupported이(가) 있습니다[SWS_CRYPT_50068].

이 연산은 thread-safe 및 exception safe(으)로 명시되어 있습니다[SWS_CRYPT_50068]. 명시된 롤백 시맨틱 덕분에 버퍼 오류 시 처리 상태가 변경되지 않고 유지될 것으로 보이므로, 버퍼를 확대한 후 재시도가 가능할 것입니다. 질문 Q-e2562509449aa32c (열림)

이 사용 지침은 ara::crypto 사양(AUTOSAR R25-11)을 기반으로 자동 생성되었습니다.

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

Parameter (in)

ParameterBeschreibung
inan input data buffer containing a part of the ciphertext

Parameter (out)

ParameterBeschreibung
outan output data buffer that contains decrypted data. The required size of this buffer can be queried using GetRequiredOutputBuffer Size()

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >a result containing the size of the output data or an error. The output data may be smaller than the size of the output buffer out.

Fehler

FehlercodeBeschreibung
ProcessingNotStartedif data processing was not started by a call of the Start() method
ara::crypto::CryptoErrc::kInsufficientCapacityrollback_semantics if the output buffer is too small
ara::crypto::CryptoErrc::kInvalidInputSizerollback_semantics if the size of the input buffer cannot be processed
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if the provided input data contains invalid data
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if stream processing is not supported by the context

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50068
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50068@rel:R25-11#0ffb35da
Content hash
0ffb35da
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50068
Status: valid/unmigrated Version: rel:R25-11#4e88e7ba 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_50068@rel:R25-11#4e88e7ba
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

함수 GetMaximumChunkSize [SWS_CRYPT_50071] Upstream: RS_CRYPTO_02309

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

Get the maximum input buffer size supported for processing in single calls to Update(), Finish(), or Decrypt() by this context.

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

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >the maximum buffer size in bytes

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50071
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50071@rel:R25-11#6d6a0177
Content hash
6d6a0177
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50071
Status: valid/unmigrated Version: rel:R25-11#363f8dce 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_50071@rel:R25-11#363f8dce
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

함수 GetMinimumChunkSize [SWS_CRYPT_50160] Upstream: RS_CRYPTO_02309

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

Get the minimum input buffer size supported for processing in single calls to Update(), Finish(), or Decrypt() by this context.

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

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >the minimum buffer size in bytes

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50160
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50160@rel:R25-11#e90e8477
Content hash
e90e8477
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50160
Status: valid/unmigrated Version: rel:R25-11#840ff3d7 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_50160@rel:R25-11#840ff3d7
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

함수 GetRequiredOutputBufferSize [SWS_CRYPT_50159] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< std::size_t > GetRequiredOutputBufferSize (std::size_t inputSize, bool isFinal) const noexcept;

Calculate the maximum required size of the output buffer depending on the input size in the current state of the context.

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

Parameter (in)

ParameterBeschreibung
inputSizesize of input data
isFinalif true, calculate maximum required output buffer size for Finish() or Decrypt(), otherwise for Update()

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >a result containing the required capacity of the output buffer (in bytes) or an error

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUninitializedContextrollback_semantics if the context was not initialized by deploying a key and setting the transformation direction

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50159
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50159@rel:R25-11#1500cfc6
Content hash
1500cfc6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50159
Status: valid/unmigrated Version: rel:R25-11#34d4f358 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_50159@rel:R25-11#34d4f358
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

함수 SetKey [SWS_CRYPT_50066] 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 decryption is started.

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

사용

SetKey 메서드는 전달된 KeySlot에 저장된 키를 사용하도록 ara::crypto::cryp::DecryptorPrivateCtx 인스턴스를 구성합니다[SWS_CRYPT_50066]. 매개변수로는 PrivateKey를 포함해야 하는 KeySlot::Sptr가 전달됩니다[SWS_CRYPT_50066]. 실제 키는 복호화 연산이 시작되는 시점에 비로소 참조됩니다[SWS_CRYPT_50066]. 이 함수는 동기식으로 작동하며 ara::core::Result<void>를 통해 결과를 보고합니다[SWS_CRYPT_50066].

오류 처리

오류 발생 시 ara::core::Result에 해당하는 오류 코드가 반환되며, 이때 롤백 시맨틱이 적용됩니다[SWS_CRYPT_50066]:

  • ara::crypto::CryptoErrc::kIncompatibleObject: 제공된 KeySlot이(가) 컨텍스트와 호환되지 않습니다[SWS_CRYPT_50066].
  • ara::crypto::CryptoErrc::kUnsupported: 컨텍스트가 KeySlot을 지원하지 않고 PrivateKey의 직접적인 설정만 지원합니다[SWS_CRYPT_50066].

동시성 및 상호 작용

인터페이스는 스레드 안전(thread-safe) 및 예외 안전(exception safe)으로 선언되어 있습니다[SWS_CRYPT_50066]. 키 평가는 복호화가 시작될 때 비로소 이루어지므로, 이 시작 시점 전에 슬롯 내용이 업데이트되면 적용될 것으로 보입니다. 질문 Q-ec258ea8b5a1d1c2 (열림) 다른 암호화 컨텍스트들이 키를 인스턴스로 직접 전달받는 것과 달리(예: SignerPrivateCtx [SWS_CRYPT_23515]), 이 메서드는 VerifierPublicCtx [SWS_CRYPT_50018] 및 KeyDerivationFunctionCtx [SWS_CRYPT_50010] 등에서도 사용되는 키 슬롯을 통한 지연 바인딩 패턴을 따릅니다.

이 텍스트는 AI에 의해 생성되었으며 AUTOSAR 표준의 가이드 역할을 합니다.

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

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

Parameter (in)

ParameterBeschreibung
keySlota keyslot containing a PrivateKey.

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_50066
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50066@rel:R25-11#26426cb5
Content hash
26426cb5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50066
Status: valid/unmigrated Version: rel:R25-11#a48ca2e4 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_50066@rel:R25-11#a48ca2e4
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

함수 SetKey [SWS_CRYPT_50157] 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.

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

사용

SetKey 메서드는 데이터 복호화를 위해 구체적인 개인 키를 사용하도록 ara::crypto::cryp::DecryptorPrivateCtx의 인스턴스를 구성합니다 [SWS_CRYPT_50157]. 매개변수로 PrivateKey::Sptr key을(를) 통해 인스턴스가 전달됩니다. 반환값은 ara::core::Result<void>이며, 이를 통해 성공적인 할당을 확인하거나 오류를 반환합니다. 호출은 동기식으로 실행될 것으로 보입니다(해석: 인터페이스는 키를 인계받을 때까지 차단되며 비동기 Future 객체를 반환하지 않음). 질문 Q-b8e9b5cb4174e2b2 (열림)

오류 처리

오류 발생 시 구현은 롤백 시맨틱을 보장하므로, 오류 발생 시 컨텍스트 상태가 변경되지 않고 유지됩니다 [SWS_CRYPT_50157]. 다음과 같은 오류 코드가 발생할 수 있습니다:

  • ara::crypto::CryptoErrc::kIncompatibleObject: 전달된 키 객체가 이 컨텍스트와 호환되지 않습니다 [SWS_CRYPT_50157].
  • ara::crypto::CryptoErrc::kUsageViolation: 키의 허용된 용도에 데이터 복호화(kAllowData Decryption)가 포함되어 있지 않습니다 [SWS_CRYPT_50157].
  • ara::crypto::CryptoErrc::kUnsupported: 컨텍스트가 KeySlot을(를) 통한 설정 전용으로 설계된 경우 키 객체의 직접 설정을 지원하지 않습니다 [SWS_CRYPT_50157].

동시성 및 제약사항

이 인터페이스는 명시적으로 thread-safe 및 exception safe(으)로 명시되어 있습니다 [SWS_CRYPT_50157]. 동시성 환경에서의 안전한 실행을 보장하며 C++ 예외를 발생시키지 않습니다(noexcept=0).

상호 작용

SetKey을(를) 통한 키 할당 방식은 Adaptive Platform 전반에 걸쳐 다양한 암호화 컨텍스트에 걸쳐 일관되게 적용됩니다. KeyAgreementPrivateCtx [SWS_CRYPT_21313], KeyDecapsulatorPrivateCtx [SWS_CRYPT_21413] 및 SignerPrivateCtx [SWS_CRYPT_23515]와(과) 같은 관련 비대칭 컨텍스트도 PrivateKey::Sptr을(를) 사용하는 반면, KeyDerivationFunctionCtx [SWS_CRYPT_50010] 또는 VerifierPublicCtx [SWS_CRYPT_50018]과(와) 같은 다른 컨텍스트에는 KeySlot::Sptr을(를) 사용하는 대체 변형이 존재합니다.

이 사용 참고 사항은 AUTOSAR Adaptive R25-11 사양을 기반으로 자동으로 생성되었습니다.

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

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

Parameter (in)

ParameterBeschreibung
keythe PrivateKey to be used for decryption

Rückgabewert

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

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context only supports setting a KeySlot
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 kAllowData Decryption

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50157
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50157@rel:R25-11#bbaf9db3
Content hash
bbaf9db3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50157
Status: valid/unmigrated Version: rel:R25-11#05a94de8 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_50157@rel:R25-11#05a94de8
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

함수 Start [SWS_CRYPT_50067] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< void > Start () noexcept=0;

Initialize the context for a new decryption.

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

ara::crypto::cryp::DecryptorPrivateCtx 클래스([SWS_CRYPT_50067])의 멤버 함수 Start는 새로운 복호화를 위해 컨텍스트를 동기식으로 초기화합니다. 이 호출은 매개변수를 받지 않고, 예외를 던지지 않으며(noexcept), 성공 시 비어 있는 ara::core::Result<void>를 반환합니다([SWS_CRYPT_50067]). 동시 접근에 대해 이 메서드는 thread-safe로 명세되어 있습니다([SWS_CRYPT_50067]).

Start가 키의 상태와 권한을 검사하므로([SWS_CRYPT_50067]), 실행 전에 호환되는 키가 저장되어 있어야 합니다. 연산이 실패하면 롤백 시맨틱이 적용됩니다([SWS_CRYPT_50067]). 관련된 오류 코드는 다음과 같습니다:

  • ara::crypto::CryptoErrc::kUninitializedContext: 컨텍스트에 아직 키가 할당되지 않았습니다([SWS_CRYPT_50067]).
  • ara::crypto::CryptoErrc::kEmptyKeySlot: 구성된 KeySlot이 현재 비어 있습니다([SWS_CRYPT_50067]).
  • ara::crypto::CryptoErrc::kUsageViolation: 키의 권한이 데이터 복호화를 허용하지 않습니다([SWS_CRYPT_50067]).
  • ara::crypto::CryptoErrc::kIncompatibleObject: 키 유형이 변환과 호환되지 않습니다([SWS_CRYPT_50067]).
  • ara::crypto::CryptoErrc::kBusyResource: 필요한 리소스가 사용 중입니다 ([SWS_CRYPT_50067]).
  • ara::crypto::CryptoErrc::kUnsupported: 스트림 처리가 컨텍스트에서 지원되지 않습니다([SWS_CRYPT_50067]).

전체 시스템에서 이 메서드는 서명 검증([SWS_CRYPT_50019]), 서명 생성([SWS_CRYPT_50037]) 또는 MAC 계산([SWS_CRYPT_22111])에서 유사하게 사용되는 어댑티브 암호화 컨텍스트의 표준화된 수명 주기에 해당합니다. 해석: 디크립터를 정의된 초기 상태로 설정하기 위해 추가적인 처리 단계 전에 Start 호출이 반드시 필요할 것으로 보입니다. 질문 Q-7d5a95305eb4626a (열림)

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

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

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

Rückgabewert

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

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUninitializedContextrollback_semantics if the context was not initialized by deploying a key
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 kAllowData Decryption
ara::crypto::CryptoErrc::kIncompatibleObjectrollback_semantics if type of the key is incompatible to the transformation
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if stream processing is not supported by the context

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50067
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50067@rel:R25-11#6122729f
Content hash
6122729f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50067
Status: valid/unmigrated Version: rel:R25-11#0df0233a 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_50067@rel:R25-11#0df0233a
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

함수 Update [SWS_CRYPT_50158] Upstream: RS_CRYPTO_02302

virtual ara::core::Result< std::size_t > Update (ReadOnlyMemRegion in, ReadWriteMemRegion out) noexcept=0;

Decrypt a data buffer.

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

사용

Update 메서드는 ara::crypto::cryp::DecryptorPrivateCtx 컨텍스트에서 데이터 버퍼를 복호화하는 역할을 합니다 [SWS_CRYPT_50158]. 동기 호출은 매개변수 in(ReadOnlyMemRegion)에서 암호문 일부분을 전달받아 복호화된 데이터를 버퍼 out(ReadWriteMemRegion)에 기록합니다 [SWS_CRYPT_50158]. 결과로 실제로 기록된 바이트 수를 포함하는 ara::core::Result<std::size_t>이(가) 반환되며, 이 값은 out의 총 용량보다 작을 수 있습니다 [SWS_CRYPT_50158].

상호작용 및 버퍼 크기 산정

Update을(를) 실행하기 전에 데이터 처리가 반드시 Start() 호출을 통해 개시되었어야 합니다 [SWS_CRYPT_50158]. out에 필요한 최소 크기는 GetRequiredOutputBufferSize()을(를) 통해 조회할 수 있습니다 [SWS_CRYPT_50158]. 또한 단일 Update 호출에서 처리 가능한 최대 입력 크기는 GetMaximumChunkSize()을(를) 통해 확인할 수 있습니다 [SWS_CRYPT_50071].

오류 처리 및 동시성

이 인터페이스는 스레드 안전 및 예외 안전으로 명시되어 있습니다 [SWS_CRYPT_50158]. 모든 오류 사례는 롤백 시맨틱을 가지며 ara::core::Result에 특정 오류 코드를 반환합니다 [SWS_CRYPT_50158]:

  • ara::crypto::CryptoErrc::kProcessingNotStarted: 이전에 Start()을(를) 통해 처리가 시작되지 않았습니다 [SWS_CRYPT_50158].
  • ara::crypto::CryptoErrc::kInsufficientCapacity: 출력 버퍼 out의 크기가 너무 작습니다 [SWS_CRYPT_50158].
  • ara::crypto::CryptoErrc::kInvalidInputSize: 전달된 입력 버퍼의 크기가 유효하지 않습니다 [SWS_CRYPT_50158].
  • ara::crypto::CryptoErrc::kUnsupported: 컨텍스트에서 스트림 처리를 지원하지 않습니다 [SWS_CRYPT_50158].

이 사용 지침은 명세를 기반으로 자동 생성되었습니다.

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

Parameter (in)

ParameterBeschreibung
inan input data buffer containing a part of the ciphertext

Parameter (out)

ParameterBeschreibung
outan output data buffer that the decrypted data will be written into. The required size of this buffer can be queried using GetRequired OutputBufferSize()

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >a result containing the size of the output data or an error. The output data may be smaller than the size of the output buffer out.

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kProcessingNotStartedrollback_semantics if data processing was not started by a call of the Start() method
ara::crypto::CryptoErrc::kInsufficientCapacityrollback_semantics if the output buffer is too small
ara::crypto::CryptoErrc::kInvalidInputSizerollback_semantics if the size of the input buffer is invalid
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if stream processing is not supported by the context

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50158
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50158@rel:R25-11#d7d00489
Content hash
d7d00489
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50158
Status: valid/unmigrated Version: rel:R25-11#ad98aa1d 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_50158@rel:R25-11#ad98aa1d
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_50156] Upstream: RS_CRYPTO_02201

using Sptr = std::shared_ptr<DecryptorPrivateCtx>;

Smart pointer of the interface.

Header-Datei#include "ara/crypto/cryp/decryptor_private_ctx.h"
Scopeclass ara::crypto::cryp::DecryptorPrivateCtx
SymbolSptr

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

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