DEENESPTFRRUARHIKOZHNL

클래스 ara::crypto::cryp::KeySlot

[SWS_CRYPT_50145] Upstream: RS_CRYPTO_02405

class KeySlot {...};

KeySlot interface representing a storage location for a key in a CryptoProvider.

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

사용자 가이드AI 생성

암호화 키를 위한 저장 공간을 관리하고 메타데이터 쿼리 및 변경 콜백을 활성화합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 15ebff2d544c 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

암호화 키를 위한 저장 공간을 관리하고 메타데이터 쿼리 및 변경 콜백을 활성화합니다.

이 인터페이스는 암호화 키를 위한 영구 또는 휘발성 저장 공간을 캡슐화하며, 키 메타데이터 및 담당 CryptoProvider의 조회를 가능하게 합니다 [SWS_CRYPT_30403]. 애플리케이션은 등록 가능한 감시자 콜백을 통해 내용 변경을 모니터링할 수 있습니다 [SWS_CRYPT_30404]. 슬롯이 비어 있는 경우 키 타입 또는 해당 알고리즘에 대한 접근은 오류 코드 ara::crypto::CryptoErrc::kEmptyKeySlot(으)로 실패합니다 [SWS_CRYPT_50055]. 복사 및 이동이 금지되어 있으므로 접근은 공유 포인터를 통해 thread-safe하게 수행됩니다.

컨텍스트

인터페이스 ara::crypto::cryp::KeySlot은(는) AUTOSAR Adaptive Platform 내에서 암호화 키를 위한 전용 저장 공간을 나타냅니다. 논리적 키 슬롯의 캡슐화로서, 저장된 키에 대한 메타데이터, 타입 정보 및 지원되는 알고리즘의 매핑을 관리합니다. 인스턴스는 일반적으로 세 당사자와 상호작용합니다: 사용하는 소프트웨어, [SWS_CRYPT_30403]을(를) 통해 공유 참조를 가져올 수 있는 관련 cryp::CryptoProvider, 그리고 [SWS_CRYPT_30404]에 따른 내용 모니터링을 위한 애플리케이션별 콜백입니다.

KeySlotContext App Applikation KeySlot KeySlot App->KeySlot fragt ab / registriert CryptoProvider CryptoProvider KeySlot->CryptoProvider referenziert Observer Update-Observer KeySlot->Observer benachrichtigt

컨텍스트 다이어그램: KeySlot 인터페이스의 상호작용 파트너. 출처: [SWS_CRYPT_30403], [SWS_CRYPT_30404]

수명 주기

KeySlot은(는) 자신이 나타내는 키 저장소에 고정적으로 바인딩됩니다. 따라서 인터페이스는 인스턴스의 복제 및 이동을 방지합니다. 복사 생성자 [SWS_CRYPT_50149]과(와) 이동 생성자 [SWS_CRYPT_50150]은(는) 모두 명시적으로 삭제되었습니다. 복사 대입 연산자 [SWS_CRYPT_50147] 및 이동 대입 연산자 [SWS_CRYPT_50148]도 마찬가지입니다.

소유권 및 참조 관계 관리를 위해 클래스는 스마트 포인터 타입 별칭 Sptr을(를) std::shared_ptr<KeySlot>(으)로 정의합니다 [SWS_CRYPT_50151]. 해제는 가상 기본 소멸자 [SWS_CRYPT_50146]을(를) 통해 수행됩니다. 해석: 인터페이스가 공용 생성자를 정의하지 않으므로 구체적인 인스턴스는 담당 CryptoProvider에 의해 생성되어 Sptr(으)로 제공될 것으로 보입니다. 질문 Q-baef4cb1493c96cd (열림) 제공된 모든 메서드는 thread-safe로 선언되어 있어 여러 실행 컨텍스트에서의 동시 읽기 및 모니터링 접근이 허용됩니다.

사용 경로

KeySlot과의 일반적인 상호작용은 내용 모니터링 구성과 저장된 키 메타데이터 조회로 나뉩니다:

  1. 감시자 등록: 애플리케이션은 RegisterUpdateObserver을(를) 사용하여 콜백 함수 및 애플리케이션별 식별자를 등록합니다 keySlotIdentifier [SWS_CRYPT_30404]. 반복 호출 시 슬롯 내용이 업데이트되거나 삭제될 때 항상 가장 최근에 전달된 콜백만 호출됩니다.
  2. 지원되는 알고리즘 조회: 애플리케이션은 GetPossibleAlgIds을(를) 통해 슬롯에서 지원하는 모든 알고리즘 식별자 목록을 가져옵니다 [SWS_CRYPT_50056].
  3. 현재 키 확인: 슬롯에 키가 있는 경우 GetCryptoObjectType은(는) 키의 객체 타입을 반환하고 [SWS_CRYPT_50054], GetAlgId은(는) 해당 구체적인 알고리즘 식별자를 반환합니다 [SWS_CRYPT_50055].
  4. 담당 공급자 확인: 필요한 경우 GetCryptoProvider을(를) 통해 관리 CryptoProvider을(를) 공유 포인터로 조회할 수 있습니다 [SWS_CRYPT_30403].
  5. 감시자 등록 해제: 모니터링이 완료된 후 UnregisterUpdateObserver을(를) 통해 등록이 해제됩니다 [SWS_CRYPT_30406].
KeySlot의 일반적인 사용 경로ApplikationKeySlotRegisterUpdateObserver(callback, id)Result<void>GetPossibleAlgIds()Result<Vector<AlgIdString>>GetCryptoObjectType()Result<CryptoObjectType>GetAlgId()Result<AlgIdString>UnregisterUpdateObserver()Result<void>

시퀀스 다이어그램: KeySlot에서의 등록, 메타데이터 조회 및 등록 해제를 위한 전형적인 흐름. 출처: [SWS_CRYPT_30404], [SWS_CRYPT_50056], [SWS_CRYPT_50054], [SWS_CRYPT_50055], [SWS_CRYPT_30406]

오류 시나리오

조회 메서드는 결과 타입 ara::core::Result을(를) 통해 오류 상태를 보호합니다. KeySlot에 키가 포함되어 있지 않은 경우 호출 GetCryptoObjectType [SWS_CRYPT_50054] 및 GetAlgId [SWS_CRYPT_50055]은(는) 각각 롤백 시맨틱을 갖는 표준화된 오류 코드 ara::crypto::CryptoErrc::kEmptyKeySlot을(를) 반환합니다. 메서드 GetPossibleAlgIds [SWS_CRYPT_50056] 및 GetCryptoProvider [SWS_CRYPT_30403]은(는) 표준화된 오류 코드를 명시하지 않습니다. RegisterUpdateObserver [SWS_CRYPT_30404] 및 UnregisterUpdateObserver [SWS_CRYPT_30406]을(를) 통한 감시자 관리의 경우 오류 발생 시 결과 객체에 구현별 오류가 제공되도록 되어 있습니다.

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

멤버 맵

클래스 다이어그램

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

G nara__crypto__cryp__KeySlot637 KeySlot + KeySlot() + operator=() + ~KeySlot() + GetAlgId() + GetCryptoObjectType() + GetCryptoProvider() + GetPossibleAlgIds() + RegisterUpdateObserver() + UnregisterUpdateObserver() nara__crypto__cryp__WriteableKeySlot529 WriteableKeySlot nara__crypto__cryp__WriteableKeySlot529->nara__crypto__cryp__KeySlot637

상세 보기

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

생성자 및 소멸자

KeySlot 함수 2

Copy-Constructor.

오버로드 KeySlot 2
KeySlot (const KeySlot &)=delete; SWS_CRYPT_50149
KeySlot (KeySlot &&)=delete; SWS_CRYPT_50150
~KeySlot 함수

Destructor.

virtual ~KeySlot () noexcept=default;

메서드

GetAlgId 함수

The interface shall return the AlgId of the currently stored key.

virtual ara::core::Result< ara::crypto::AlgIdString > GetAlgId () const noexcept=0;

The interface shall return the CryptoObjectType of the currently stored key.

virtual ara::core::Result< CryptoObjectType > GetCryptoObjectType () const noexcept=0;

The interface shall return an instance of the CryptoProvider that is responsible for this KeySlot.

virtual ara::core::Result< std::shared_ptr< cryp::CryptoProvider > > GetCryptoProvider () const noexcept=0;

The interface shall return a vector of AlgIds supported by this KeySlot.

virtual ara::core::Result< ara::core::Vector< ara::crypto::AlgIdString > > GetPossibleAlgIds () const noexcept=0;

The interface shall register an application callback function to be called when the content of the KeySlot is updated (i.e., modified or cleared). If this function is called multiple times, only the most recently registered callback of an application will be called.

virtual ara::core::Result< void > RegisterUpdateObserver (std::function< void(ara::core::StringView)> callback, ara::core::StringView keySlotIdentifier) const noexcept=0;

Unregisters any previously UpdateObserver callback that has been registered previously by the application.

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

연산자

operator= 함수 2

Copy-assign another KeySlot to this instance.

오버로드 = 2
KeySlot & operator= (const KeySlot &other)=delete; SWS_CRYPT_50147
KeySlot & operator= (KeySlot &&other)=delete; SWS_CRYPT_50148

타입 별칭

Sptr 타입 별칭

Smart pointer of the interface.

using Sptr = std::shared_ptr<KeySlot>;

메서드 문서

함수 GetAlgId [SWS_CRYPT_50055] Upstream: RS_CRYPTO_02009

virtual ara::core::Result< ara::crypto::AlgIdString > GetAlgId () const noexcept=0;

The interface shall return the AlgId of the currently stored key.

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

Rückgabewert

TypBeschreibung
ara::core::Result<ara::crypto::AlgIdString >A result containing the AlgId of the current key slot content

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kEmptyKeySlotrollback_semantics if the KeySlot does not contain a key.

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50055
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50055@rel:R25-11#deebb0d0
Content hash
deebb0d0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50055
Status: valid/unmigrated Version: rel:R25-11#24c0bae9 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_50055@rel:R25-11#24c0bae9
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

함수 GetCryptoObjectType [SWS_CRYPT_50054] Upstream: RS_CRYPTO_02009

virtual ara::core::Result< CryptoObjectType > GetCryptoObjectType () const noexcept=0;

The interface shall return the CryptoObjectType of the currently stored key.

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

Rückgabewert

TypBeschreibung
ara::core::Result< CryptoObjectType >A result containing the CryptoObjectType of the currently stored key.

Fehler

FehlercodeBeschreibung
ara::crypto::CryptoErrc::kEmptyKeySlotrollback_semantics if the KeySlot does not contain a key.

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50054
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50054@rel:R25-11#57d7ea77
Content hash
57d7ea77
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50054
Status: valid/unmigrated Version: rel:R25-11#4fb87b0b 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_50054@rel:R25-11#4fb87b0b
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

함수 GetCryptoProvider [SWS_CRYPT_30403] Upstream: RS_CRYPTO_02401

virtual ara::core::Result< std::shared_ptr< cryp::CryptoProvider > > GetCryptoProvider () const noexcept=0;

The interface shall return an instance of the CryptoProvider that is responsible for this KeySlot.

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

Rückgabewert

TypBeschreibung
ara::core::Result<std::shared_ptr<cryp::CryptoProvider > >a result containing a shared pointer to the CryptoProvider to be used with this KeySlot

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_30403
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_30403@rel:R25-11#4a6bcb38
Content hash
4a6bcb38
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_30403
Status: valid/unmigrated Version: rel:R25-11#5cab9276 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_30403@rel:R25-11#5cab9276
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#521de99b2026-09-30
  • R20-11rel:R20-11#26f02eba2026-10-14
  • R21-11rel:R21-11#9fc6a2d12026-10-14
  • R22-11rel:R22-11#c2239d192026-10-14
  • R23-11rel:R23-11#c19ad2fa2026-10-14
  • R24-11rel:R24-11#5558cd092026-10-14
  • R25-11rel:R25-11#5cab92762026-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

함수 GetPossibleAlgIds [SWS_CRYPT_50056] Upstream: RS_CRYPTO_02009

virtual ara::core::Result< ara::core::Vector< ara::crypto::AlgIdString > > GetPossibleAlgIds () const noexcept=0;

The interface shall return a vector of AlgIds supported by this KeySlot.

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

Rückgabewert

TypBeschreibung
ara::core::Result<ara::core::Vector<ara::crypto::AlgIdString > >A result containing the possible AlgIds of the key slot

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

함수 KeySlot [SWS_CRYPT_50149] Upstream: RS_CRYPTO_02004

KeySlot (const KeySlot &)=delete;

Copy-Constructor.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50149
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50149@rel:R25-11#61915c3e
Content hash
61915c3e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50149
Status: valid/unmigrated Version: rel:R25-11#c337b0c3 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_50149@rel:R25-11#c337b0c3
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

함수 KeySlot [SWS_CRYPT_50150] Upstream: RS_CRYPTO_02004

KeySlot (KeySlot &&)=delete;

Move-Constructor.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot

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

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

함수 RegisterUpdateObserver [SWS_CRYPT_30404] Upstream: RS_CRYPTO_02401

virtual ara::core::Result< void > RegisterUpdateObserver (std::function< void(ara::core::StringView)> callback, ara::core::StringView keySlotIdentifier) const noexcept=0;

The interface shall register an application callback function to be called when the content of the KeySlot is updated (i.e., modified or cleared). If this function is called multiple times, only the most recently registered callback of an application will be called.

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

ara::crypto::cryp::KeySlot 클래스의 RegisterUpdateObserver 메서드는 키 슬롯 내용이 업데이트될 때마다 알림을 받는 애플리케이션별 콜백 함수를 등록하는 데 사용됩니다 [SWS_CRYPT_30404]. 여기서 업데이트에는 내용 수정뿐만 아니라 슬롯을 완전히 비우는 것도 포함됩니다 [SWS_CRYPT_30404].

사용법 및 매개변수

이 함수는 헤더 ara/crypto/cryp/keyslot.h을(를) 통해 포함되며 콜백 callback 및 식별자 keySlotIdentifier을(를) 전달받습니다 [SWS_CRYPT_30404]. 함수 객체 callback은(는) 호출 시 애플리케이션 로직에서 해당 슬롯을 고유하게 식별할 수 있도록 keySlotIdentifier 문자열을 인수로 전달받습니다 [SWS_CRYPT_30404]. 동일한 애플리케이션에서 RegisterUpdateObserver을(를) 반복 호출하는 경우 가장 최근에 등록된 콜백 함수만 유지되고 실행됩니다 [SWS_CRYPT_30404].

동시성 및 오류 처리

인터페이스는 스레드 안전(thread-safe)하고 예외를 발생시키지 않는 noexcept(으)로 명시되어 있습니다 [SWS_CRYPT_30404]. 이 함수는 ara::core::Result<void>을(를) 반환합니다 [SWS_CRYPT_30404]. 표준화된 오류는 존재하지 않으며 오류 발생 시 구현별 오류 코드가 반환됩니다 [SWS_CRYPT_30404]. 해석: 콜백 함수의 실제 호출은 키 저장소의 업데이트가 적용되는 즉시 암호화 드라이버의 컨텍스트에서 비동기식으로 이루어질 것으로 보입니다. 질문 Q-cfbcc1ddcbe88062 (열림)

이 사용 지침은 AUTOSAR Adaptive R25-11 사양을 기반으로 합니다.

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

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

Parameter (in)

ParameterBeschreibung
callbackthe registered callback function to be called when the KeySlot content is modified
keySlotIdentifieran application-specific identified of the KeySlot which will be used as a parameter of the callback function

Rückgabewert

TypBeschreibung
ara::core::Result< void >an empty result or an implementation specific error.

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

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

Record
AUTOSAR/AP/record/SWS_CRYPT_30404
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_30404@rel:R25-11#abf06073
Content hash
abf06073
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_30404
Status: valid/unmigrated Version: rel:R25-11#00db85c0 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_30404@rel:R25-11#00db85c0
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#6cb45e062026-09-30
  • R20-11rel:R20-11#68122f052026-10-14
  • R21-11rel:R21-11#68122f052026-10-14
  • R22-11rel:R22-11#4bd4986b2026-10-14
  • R23-11rel:R23-11#b0d1e1432026-10-14
  • R24-11rel:R24-11#d83bf7342026-10-14
  • R25-11rel:R25-11#00db85c02026-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

함수 UnregisterUpdateObserver [SWS_CRYPT_30406] Upstream: RS_CRYPTO_02401

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

Unregisters any previously UpdateObserver callback that has been registered previously by the application.

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

클래스 ara::crypto::cryp::KeySlot의 메서드 UnregisterUpdateObserver은(는) 애플리케이션에서 이전에 등록한 옵서버 콜백(UpdateObserver)의 등록을 취소하는 데 사용됩니다 [SWS_CRYPT_30406]. 이 함수는 헤더 ara/crypto/cryp/keyslot.h에 선언되어 있고 순수 가상 메서드(=0)(으)로 설계되었으며 전달 매개변수를 받지 않습니다 [SWS_CRYPT_30406].

호출 컨텍스트 및 동시성과 관련하여 다음 제약 조건이 적용됩니다:

  • 동기 시맨틱 및 스레드 안전성: 등록 취소는 동기적으로 수행되며 명시적으로 thread-safe로 지정되어 있습니다 [SWS_CRYPT_30406]. 따라서 호출은 동일한 KeySlot 인스턴스에 대한 다른 작업과 동시에 스레드 안전하게 실행될 수 있습니다.
  • Exception 안전성: 이 메서드는 사양 noexcept을(를) 가지며 exception-safe로 간주됩니다 [SWS_CRYPT_30406]. 따라서 오류 상태로 인해 C++ 예외가 발생하는 일은 결코 없으며, 반환 객체를 통해 정연하게 처리됩니다.

반환값으로 이 함수는 ara::core::Result<void>을(를) 제공하며, 이는 성공적인 등록 취소 시 비어 있거나 오류 발생 시 오류 코드를 캡슐화합니다 [SWS_CRYPT_30406]. 사양은 이 호출에 대해 표준화된 AUTOSAR 오류 코드를 의도적으로 정의하지 않으므로 가능한 오류는 제조업체 또는 구현별로 다릅니다 [SWS_CRYPT_30406]. 호출자는 결과의 오류 여부를 확인해야 하지만 표준화된 오류 상수를 검사할 수는 없습니다.

키 관리와의 상호작용에서 등록 취소는 애플리케이션이 키 내용 변경에 대한 추가 알림을 수신하지 않도록 안정적으로 차단합니다. 호출 시점에 등록된 콜백이 없었던 경우, 해석상 이 함수는 아무런 영향 없이 성공적으로 반환되거나 구현별 오류를 출력할 것으로 보입니다. 질문 Q-7a1e7e0db0691ce6 (열림)

이 사용 지침은 AUTOSAR 사양을 기반으로 자동 생성되었습니다.

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

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

Rückgabewert

TypBeschreibung
ara::core::Result< void >an empty result or an implementation specific error.

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

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

Record
AUTOSAR/AP/record/SWS_CRYPT_30406
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_30406@rel:R25-11#550f55b9
Content hash
550f55b9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_30406
Status: valid/unmigrated Version: rel:R25-11#bbacdbfa 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_30406@rel:R25-11#bbacdbfa
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#7a49fb252026-09-30
  • R20-11rel:R20-11#d23bfef12026-10-14
  • R21-11rel:R21-11#146b6c222026-10-14
  • R22-11rel:R22-11#34a2bb242026-10-14
  • R23-11rel:R23-11#c39da02b2026-10-14
  • R24-11rel:R24-11#28d79d9d2026-10-14
  • R25-11rel:R25-11#bbacdbfa2026-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

함수 operator= [SWS_CRYPT_50147] Upstream: RS_CRYPTO_02004

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

Copy-assign another KeySlot to this instance.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50147
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50147@rel:R25-11#db333168
Content hash
db333168
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50147
Status: valid/unmigrated Version: rel:R25-11#4184cb45 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_50147@rel:R25-11#4184cb45
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

함수 operator= [SWS_CRYPT_50148] Upstream: RS_CRYPTO_02004

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

Move-assign another KeySlot to this instance.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50148
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50148@rel:R25-11#602b3e58
Content hash
602b3e58
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50148
Status: valid/unmigrated Version: rel:R25-11#6c6a4006 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_50148@rel:R25-11#6c6a4006
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

함수 ~KeySlot [SWS_CRYPT_50146] Upstream: RS_CRYPTO_02405

virtual ~KeySlot () noexcept=default;

Destructor.

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

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

Record
AUTOSAR/AP/record/SWS_CRYPT_50146
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CRYPT_50146@rel:R25-11#94598a2c
Content hash
94598a2c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50146
Status: valid/unmigrated Version: rel:R25-11#b9fe0bea 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_50146@rel:R25-11#b9fe0bea
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_50151] Upstream: RS_CRYPTO_02405

using Sptr = std::shared_ptr<KeySlot>;

Smart pointer of the interface.

Header-Datei#include "ara/crypto/cryp/keyslot.h"
Scopeclass ara::crypto::cryp::KeySlot
SymbolSptr

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

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