DEENESPTFRRUARHIKOZHNL

클래스 ara::crypto::cryp::KeyAgreementPrivateCtx

[SWS_CRYPT_21300] Upstream: RS_CRYPTO_02104

class KeyAgreementPrivateCtx :              public CryptoContext {...};

Key Agreement Private key Context interface.

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

개인 키와 외부 공개 키로부터 대칭 대상 키를 계산하는 데 사용됩니다.

인터페이스 ara::crypto::cryp::KeyAgreementPrivateCtx은(는) 로컬 개인 키와 피어의 공개 키를 기반으로 암호화 키 합의 절차를 실행하는 데 사용됩니다 [SWS_CRYPT_21312]. 자체 키 및 선택적 매개변수를 할당한 후 메서드 AgreeKey은(는) 공유 비밀을 계산하고 이를 대칭 키 객체로 반환합니다. 핵심적인 제약 조건은 실행 전 완전한 초기화이며, 누락된 매개변수 또는 kAllowKeyAgreement에 대한 누락된 권한은 해당 오류 코드와 함께 중단을 초래합니다 [SWS_CRYPT_21312]. 이때 모든 연산은 스레드 안전하도록 설계되었습니다.

컨텍스트

Adaptive Platform의 crypto 모듈에서 인터페이스 ara::crypto::cryp::KeyAgreementPrivateCtx은(는) 비대칭 키 합의(Key Agreement) 절차를 실행하는 데 사용됩니다. 주요 책임은 로컬 개인 키와 통신 파트너의 공개 키로부터 공유 대칭 키를 계산하는 것입니다 [SWS_CRYPT_21312]. 특화된 암호화 컨텍스트로서 이 클래스는 여러 키 및 스토리지 추상화와 상호작용합니다. 자체 개인 키는 PrivateKey 객체 [SWS_CRYPT_21313](으)로 직접 바인딩되거나 KeySlot [SWS_CRYPT_50053]을(를) 통해 참조되어 바인딩될 수 있습니다. 상대방은 자신의 공개 키를 PublicKey 형태로 제공하며, 결과는 독립적인 SymmetricKey 객체로 제공됩니다 [SWS_CRYPT_21312]. 또한 알고리즘별 구성 매개변수를 메모리 영역 또는 정수로 전달할 수 있습니다 [SWS_CRYPT_50051], [SWS_CRYPT_50052].

KeyAgreementContext Application Application KeyAgreementPrivateCtx KeyAgreementPrivateCtx Application->KeyAgreementPrivateCtx 구성 및 실행함 SymmetricKey SymmetricKey KeyAgreementPrivateCtx->SymmetricKey erzeugt PrivateKey PrivateKey PrivateKey->KeyAgreementPrivateCtx eigener privater Schluessel KeySlot KeySlot KeySlot->KeyAgreementPrivateCtx Schluesselplatz PublicKey PublicKey PublicKey->KeyAgreementPrivateCtx Gegenstellen-Schluessel

컨텍스트 다이어그램: KeyAgreementPrivateCtx와 키, 키 슬롯 및 결과 객체 간의 상호작용. 출처: [SWS_CRYPT_21312], [SWS_CRYPT_21313], [SWS_CRYPT_50053].

수명 주기

KeyAgreementPrivateCtx의 수명 주기 및 소유권 관계는 공유 포인터를 기반으로 하며, 사양에서는 이를 위해 타입 별칭 KeyAgreementPrivateCtx::Sptr을(를) 제공합니다 [SWS_CRYPT_21301]. 해석: 이 클래스는 생성자 사양이 없는 순수 가상 인터페이스이므로 인스턴스화는 CryptoProvider의 상위 팩토리를 통해 수행될 것으로 추정됩니다. 질문 Q-22dca518675fba51 (열림) 생성 후 인스턴스는 작동 준비가 되지 않은 기본 상태에 있습니다. SetKey [SWS_CRYPT_21313], [SWS_CRYPT_50053]을(를) 사용한 개인 키 구성 및 선택된 체계에 필요한 모든 매개변수 [SWS_CRYPT_50051], [SWS_CRYPT_50052]의 할당을 거쳐야만 컨텍스트가 초기화됩니다.

이러한 구성 단계가 완료되기 전에 키 계산이 트리거되면 호출이 실패합니다 [SWS_CRYPT_21312]. 동시성과 관련하여 모든 멤버 함수는 스레드 안전(thread-safe) 및 예외 안전(exception safe)(으)로 지정되어 있습니다 [SWS_CRYPT_21312], [SWS_CRYPT_21313], [SWS_CRYPT_50051], [SWS_CRYPT_50052], [SWS_CRYPT_50053]. 실행 함수 AgreeKey이(가) const(으)로 선언되어 있으므로 [SWS_CRYPT_21312], 동일한 초기화된 컨텍스트를 서로 다른 상대방과의 합의에 병렬로 사용할 수 있습니다.

사용 경로

실제 사용은 구성 및 계산의 순차적인 순서로 나뉩니다:

  • 키 할당: 먼저 애플리케이션은 자체 개인 키를 컨텍스트에 바인딩합니다. 이는 로드된 키 객체의 경우 SetKey(PrivateKey::Sptr) [SWS_CRYPT_21313]을(를) 통해 수행되거나, 합의 시점에 내용이 평가되는 키 슬롯의 경우 SetKey(KeySlot::Sptr) [SWS_CRYPT_50053]을(를) 통해 수행됩니다.
  • 매개변수 정의: 대상 알고리즘이 추가 초기화 데이터를 요구하는 경우, 이는 SetParameter을(를) 통해 버퍼 ReadOnlyMemRegion [SWS_CRYPT_50051] 또는 64비트 정수 std::uint64_t [SWS_CRYPT_50052](으)로 전달됩니다.
  • 키 합의: AgreeKey을(를) 사용하여 암호화 알고리즘이 실행됩니다 [SWS_CRYPT_21312]. 호출 컴포넌트는 상대방의 공개 키(otherSideKey), 원하는 대상 알고리즘의 식별자(targetAlgId) 및 허용된 사용 플래그(allowedUsage)를 전달합니다.
  • 결과 수신: 성공적으로 완료되면 AgreeKey은(는) 계산된 공유 비밀을 포함하는 SymmetricKey 객체를 반환합니다 [SWS_CRYPT_21312].
키 합의 시퀀스애플리케이션KeyAgreementPrivateCtxSymmetricKeyUse Case: KonfigurationSetKey(key)Result<void>opt추가 파라미터 필요SetParameter(name, value)Result<void>Use Case: 키 합의AgreeKey(otherSideKey, targetAlgId, allowedUsage)Berechnung Shared SecretErzeugungResult<SymmetricKey::Sptr>

시퀀스 다이어그램: 키 할당부터 대칭 키 생성까지 키 합의의 일반적인 흐름. 출처: [SWS_CRYPT_21312], [SWS_CRYPT_21313], [SWS_CRYPT_50051].

오류 시나리오

KeyAgreementPrivateCtx의 메서드는 ara::core::Result을(를) 통해 오류를 반환하며 롤백 시맨틱을 보장합니다 [SWS_CRYPT_21312], [SWS_CRYPT_21313], [SWS_CRYPT_50051], [SWS_CRYPT_50052], [SWS_CRYPT_50053]. 일반적인 오류 시나리오는 다음과 같습니다:

  • CryptoErrc::kUninitializedContext: 사전에 키가 설정되지 않았거나 필요한 매개변수가 누락된 경우 AgreeKey에서 발생합니다 [SWS_CRYPT_21312].
  • CryptoErrc::kIncompatibleObject: 전달된 PrivateKey 또는 KeySlot이(가) 컨텍스트 유형과 일치하지 않거나 [SWS_CRYPT_21313], [SWS_CRYPT_50053], 상대방 키 otherSideKey이(가) 호환되지 않는 경우 보고됩니다 [SWS_CRYPT_21312].
  • CryptoErrc::kUsageViolation: 개인 키 또는 상대방 키에 대해 kAllowKeyAgreement 권한이 부여되지 않았음을 알립니다 [SWS_CRYPT_21312], [SWS_CRYPT_21313].
  • CryptoErrc::kUnsupported: 컨텍스트 구현이 다른 SetKey 변형만을 독점적으로 지원하거나 [SWS_CRYPT_21313], [SWS_CRYPT_50053], 요청된 매개변수 이름을 지원하지 않음을 나타냅니다 [SWS_CRYPT_50051], [SWS_CRYPT_50052].
  • CryptoErrc::kInvalidArgument: SetParameter의 유효하지 않은 값 [SWS_CRYPT_50051], [SWS_CRYPT_50052] 또는 대상 키에 대한 허용되지 않는 allowedUsage 플래그로 인해 발생합니다 [SWS_CRYPT_21312].
  • CryptoErrc::kUnknownIdentifier: 대상 알고리즘의 식별자 targetAlgId을(를) 알 수 없는 경우 트리거됩니다 [SWS_CRYPT_21312].
  • CryptoErrc::kEmptyKeySlot 및 CryptoErrc::kBusyResource: 실행 시점에 구성된 KeySlot에 키가 포함되어 있지 않거나 필요한 리소스가 사용 중인 경우 AgreeKey에 의해 반환됩니다 [SWS_CRYPT_21312].

이 클래스 가이드는 AUTOSAR 사양 R25-11을 기반으로 autodocs 시스템에 의해 생성되었습니다.

멤버 맵

타입 별칭

1

클래스 다이어그램

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

G nara__crypto__cryp__KeyAgreementPrivateCtx203 KeyAgreementPrivateCtx + AgreeKey() + SetKey() + SetParameter() nara__crypto__cryp__CryptoContext85 CryptoContext nara__crypto__cryp__KeyAgreementPrivateCtx203->nara__crypto__cryp__CryptoContext85

상세 보기

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

메서드

AgreeKey 함수

Produce a common symmetric key via execution of the key-agreement algorithm using a private key and a public key of another side.

virtual ara::core::Result< SymmetricKey::Sptr > AgreeKey (Public Key::Sptr otherSideKey, AlgId targetAlgId, AllowedUsageFlags allowed Usage) const noexcept=0;
SetKey 함수 2

Configure the context to use the provided key.

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

Set a parameter of the key agreement identified by parameterName.

오버로드 SetParameter 2
virtual ara::core::Result< void > SetParameter (ara::core::StringView parameterName, ReadOnlyMemRegion value) noexcept=0; SWS_CRYPT_50051
virtual ara::core::Result< void > SetParameter (ara::core::StringView parameterName, std::uint64_t value) noexcept=0; SWS_CRYPT_50052

타입 별칭

Sptr 타입 별칭

Smart pointer of this interface.

메서드 문서

함수 AgreeKey [SWS_CRYPT_21312] Upstream: RS_CRYPTO_02115

virtual ara::core::Result< SymmetricKey::Sptr > AgreeKey (Public Key::Sptr otherSideKey, AlgId targetAlgId, AllowedUsageFlags allowed Usage) const noexcept=0;

Produce a common symmetric key via execution of the key-agreement algorithm using a private key and a public key of another side.

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

클래스 ara::crypto::cryp::KeyAgreementPrivateCtx의 메서드 AgreeKey은(는) 개인 키와 상대방의 공개 키를 사용하여 키 합의 알고리즘을 실행함으로써 공통 대칭 키를 생성합니다 [SWS_CRYPT_21312]. 매개변수로 상대방의 공개 키(otherSideKey), 대상 대칭 알고리즘의 식별자(targetAlgId) 및 허용된 사용 플래그(allowedUsage)가 전달됩니다 [SWS_CRYPT_21312]. 성공적으로 실행되면 계산된 공통 비밀을 포함하는 SymmetricKey::Sptr이(가) 포함된 ara::core::Result이(가) 반환됩니다 [SWS_CRYPT_21312]. 해석: 비동기 Future 유형을 통해서가 아니라 결과가 Result로 직접 반환되므로 키 계산은 동기적으로 수행될 것으로 추정됩니다. 질문 Q-ab31a8a62bb1c583 (열림)

이 메서드는 thread-safe 및 exception safe (noexcept)(으)로 정의되어 있습니다 [SWS_CRYPT_21312]. 오류 발생 시 롤백 시맨틱이 적용되며 해당 오류 코드가 반환됩니다 [SWS_CRYPT_21312]:

  • UninitializedContext: 키를 제공하여 컨텍스트가 아직 초기화되지 않았거나 필수 매개변수가 사전에 SetParameter()을(를) 통해 설정되지 않았습니다 [SWS_CRYPT_21312].
  • CryptoErrc::kIncompatibleObject: 공개 키가 현재 컨텍스트와 호환되지 않습니다 [SWS_CRYPT_21312].
  • CryptoErrc::kUsageViolation: 개인 키 또는 공개 키의 사용 제한에 kAllowKeyAgreement이(가) 포함되어 있지 않습니다 [SWS_CRYPT_21312].
  • CryptoErrc::kInvalidArgument: 전달된 allowedUsage 플래그가 대칭 키에 대해 유효하지 않습니다 [SWS_CRYPT_21312].
  • ara::crypto::CryptoErrc::kUnknownIdentifier: 식별자 targetAlgId에 지원되지 않는 값이 포함되어 있습니다 [SWS_CRYPT_21312].
  • CryptoErrc::kBusyResource 또는 CryptoErrc::kEmptyKeySlot: 필요한 리소스가 사용 중이거나 구성된 KeySlot이 비어 있습니다 [SWS_CRYPT_21312].

본 텍스트는 AI에 의해 생성되었으며 기술적 오리엔테이션을 위한 것입니다.

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

Parameter (in)

ParameterBeschreibung
otherSideKeythe public key of the other side of the Key-Agreement
targetAlgIdidentifier of the symmetric target algorithm
allowedUsagethe allowed usage of the target key

Rückgabewert

TypBeschreibung
ara::core::Result<SymmetricKey::Sptr >a result containing either a unique pointer to the SymmetricKey object, which contains the computed shared secret produced by the Key-Agreement algorithm or an error

Fehler

FehlercodeBeschreibung
UninitializedContextif the context was not initialized by deploying a key or not all required parameters have been set via SetParameter()
CryptoErrc::kIncompatibleObjectrollback_semantics if the public key is not compatible to this context
CryptoErrc::kInvalidArgumentrollback_semantics if the allowed usage flags are invalid for a symmetric key
CryptoErrc::kBusyResourcerollback_semantics a required resource is busy
CryptoErrc::kEmptyKeySlotrollback_semantics if a KeySlot was configured that is currently is empty
CryptoErrc::kUsageViolationrollback_semantics if the allowed usage of the private or public key do not include k AllowKeyAgreement
ara::crypto::CryptoErrc::kUnknownIdentifierrollback_semantics if targetAlgId has an unsupported value

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

Record
AUTOSAR/AP/record/SWS_CRYPT_21312
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_21312@rel:R25-11#e365f8c4
Content hash
e365f8c4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_21312
Status: valid/unmigrated Version: rel:R25-11#26c80425 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_21312@rel:R25-11#26c80425
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4f58d41f2026-09-30
  • R19-11rel:R19-11#3975d40e2026-10-14
  • R20-11rel:R20-11#340c62732026-10-14
  • R21-11rel:R21-11#633195382026-10-14
  • R22-11rel:R22-11#418b5aab2026-10-14
  • R23-11rel:R23-11#28812de12026-10-14
  • R24-11rel:R24-11#c610b1882026-10-14
  • R25-11rel:R25-11#26c804252026-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_21313] 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 · 온도: 제어 불가 · 프롬프트: 9ab09291ac6b 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

메서드 SetKey은 전달된 개인 키 [SWS_CRYPT_21313]를 사용하도록 개인 키 합의 컨텍스트 ara::crypto::cryp::KeyAgreementPrivateCtx을 구성합니다. 호출은 동기식으로 수행되며 매개변수 key을 통해 소스 키 객체에 대한 스마트 포인터(PrivateKey::Sptr)를 전달합니다 [SWS_CRYPT_21313].

오류 발생 시 함수는 롤백 시맨틱을 갖는 ara::core::Result<void>을 반환하며, 다음 오류 코드가 지정되어 있습니다 [SWS_CRYPT_21313]:

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

동시성과 관련하여 이 연산은 스레드 안전(thread-safe) 및 예외 안전(exception safe)으로 지정되어 있습니다 [SWS_CRYPT_21313]. 암호화 아키텍처의 관련 컨텍스트(예: 키 디캡슐레이션 [SWS_CRYPT_21413], 서명 생성 [SWS_CRYPT_23515] 또는 키 유도 [SWS_CRYPT_21525])와 마찬가지로, SetKey는 로드된 키 자료를 사용하여 암호화 계산을 수행하기 전의 기본적인 구성 단계 역할을 합니다.

이 사용 지침은 사양 요소를 바탕으로 자동 생성되었습니다.

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

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

Parameter (in)

ParameterBeschreibung
keythe source key object

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 private key context
ara::crypto::CryptoErrc::kUsageViolationrollback_semantics if the allowed usage of the key does not include kAllowKey Agreement
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_21313
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_21313@rel:R25-11#86e712b7
Content hash
86e712b7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_21313
Status: valid/unmigrated Version: rel:R25-11#616d7c1f 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_21313@rel:R25-11#616d7c1f
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#3d54d9db2026-09-30
  • R20-11rel:R20-11#52811d232026-10-14
  • R21-11rel:R21-11#8def41192026-10-14
  • R22-11rel:R22-11#8a2370692026-10-14
  • R23-11rel:R23-11#817460022026-10-14
  • R24-11rel:R24-11#45330bed2026-10-14
  • R25-11rel:R25-11#616d7c1f2026-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_50053] 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 agreement is performed.

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

SetKey 메서드는 후속 키 합의에 전달된 keySlot에 저장된 개인 키가 사용되도록 ara::crypto::cryp::KeyAgreementPrivateCtx 인스턴스를 구성합니다[SWS_CRYPT_50053]. 호출은 동기식으로 수행되며 noexcept로 선언되어 있습니다.

사용법 및 매개변수

인터페이스는 입력 매개변수로 개인 키를 포함해야 하는 KeySlot::Sptr를 필요로 합니다[SWS_CRYPT_50053]. 키 재료는 실제 키 합의가 실행되는 시점에 비로소 참조되고 평가됩니다[SWS_CRYPT_50053]. KeySlot에 대한 대안으로, 컨텍스트는 [SWS_CRYPT_21313]를 통한 PrivateKey::Sptr의 직접 전달을 허용합니다.

오류 처리 및 동시성

이 메서드는 ara::core::Result<void>를 반환합니다. 오류 발생 시 다음 오류 코드에 대해 롤백 시맨틱이 적용됩니다[SWS_CRYPT_50053]:

  • ara::crypto::CryptoErrc::kIncompatibleObject: 전달된 keySlot이(가) 컨텍스트와 호환되지 않습니다[SWS_CRYPT_50053].
  • ara::crypto::CryptoErrc::kUnsupported: 컨텍스트 구현이 PrivateKey를 통한 키 설정만을 지원합니다[SWS_CRYPT_50053].

실행은 thread-safe 및 exception safe로 명세되어 있습니다[SWS_CRYPT_50053].

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

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

Header-Datei#include "ara/crypto/cryp/key_agreement_private_ctx.h"
Scopeclass ara::crypto::cryp::KeyAgreementPrivateCtx
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_50053
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50053@rel:R25-11#188c9551
Content hash
188c9551
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50053
Status: valid/unmigrated Version: rel:R25-11#a8c300d9 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_50053@rel:R25-11#a8c300d9
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

함수 SetParameter [SWS_CRYPT_50051] Upstream: RS_CRYPTO_02102, RS_CRYPTO_02107, RS_CRYPTO_02108, RS_CRYPTO_02111

virtual ara::core::Result< void > SetParameter (ara::core::StringView parameterName, ReadOnlyMemRegion value) noexcept=0;

Set a parameter of the key agreement identified by parameterName.

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

Parameter (in)

ParameterBeschreibung
parameterNamean identifier of the parameter
valuean input buffer containing the value of the parameter

Rückgabewert

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

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context does not support the parameter
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if the provided parameter value is invalid

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50051
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50051@rel:R25-11#c97d0e50
Content hash
c97d0e50
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50051
Status: valid/unmigrated Version: rel:R25-11#48be7eb5 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_50051@rel:R25-11#48be7eb5
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

함수 SetParameter [SWS_CRYPT_50052] Upstream: RS_CRYPTO_02102, RS_CRYPTO_02107, RS_CRYPTO_02108, RS_CRYPTO_02111

virtual ara::core::Result< void > SetParameter (ara::core::StringView parameterName, std::uint64_t value) noexcept=0;

Set a parameter of the key agreement identified by parameterName.

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

Parameter (in)

ParameterBeschreibung
parameterNamean identifier of the parameter
valuean unsigned integer containing the value of the parameter

Rückgabewert

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

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kUnsupportedrollback_semantics if the context does not support the parameter
ara::crypto::CryptoErrc::kInvalidArgumentrollback_semantics if the provided parameter value is invalid

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50052
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50052@rel:R25-11#6dbc5f72
Content hash
6dbc5f72
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50052
Status: valid/unmigrated Version: rel:R25-11#6e0df952 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_50052@rel:R25-11#6e0df952
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_21301] Upstream: RS_CRYPTO_02104

using Sptr = std::shared_ptr<KeyAgreementPrivateCtx>;

Smart pointer of this interface.

Header-Datei#include "ara/crypto/cryp/key_agreement_private_ctx.h"
Scopeclass ara::crypto::cryp::KeyAgreementPrivateCtx
SymbolSptr

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

Record
AUTOSAR/AP/record/SWS_CRYPT_21301
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_21301@rel:R25-11#51322ca8
Content hash
51322ca8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_21301
Status: valid/unmigrated Version: rel:R25-11#c13d652e 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_21301@rel:R25-11#c13d652e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e2ebb07f2026-09-30
  • R19-11rel:R19-11#c18950c82026-10-14
  • R20-11rel:R20-11#65fb94fe2026-10-14
  • R21-11rel:R21-11#65fb94fe2026-10-14
  • R22-11rel:R22-11#23c185892026-10-14
  • R23-11rel:R23-11#abfd06b32026-10-14
  • R24-11rel:R24-11#abfd06b32026-10-14
  • R25-11rel:R25-11#c13d652e2026-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