네임스페이스 ara::crypto::cryp
사용자 가이드AI 생성
암호화 연산, 키 객체 및 해당 스토리지 관리를 위한 인터페이스를 정의합니다.
암호화 연산, 키 객체 및 해당 스토리지 관리를 위한 인터페이스를 정의합니다.
네임스페이스 ara::crypto::cryp은(는) AUTOSAR Adaptive 플랫폼에서 암호화 연산, 키 객체 및 키 스토리지를 위한 핵심 인터페이스를 제공합니다. 중앙 팩토리 CryptoProvider을(를) 통해 KeySlot의 인스턴스로부터 키를 획득하고, 암호화, 서명 또는 해싱을 위한 CryptoContext 기반의 특수화된 실행 컨텍스트를 인스턴스화합니다. 암호화 연산은 상태 기반 컨텍스트를 구성한 후 입력 데이터를 사용하여 수행됩니다. 현재 해석에 따르면 중요한 제약 조건은 CryptoObject을(를) 통한 키 자료의 엄격한 캡슐화 및 WriteableKeySlot을(를) 통한 쓰기 권한의 구분에 있습니다.
컨텍스트 및 역할 범위
네임스페이스 ara::crypto::cryp은(는) AUTOSAR Adaptive 암호화 모듈의 기능적 핵심을 형성하며 암호화 프리미티브, 객체 모델 및 키 관리 구조를 위한 인터페이스를 제공합니다. 아키텍처의 중심에는 암호화 알고리즘의 구현 인스턴스이자 팩토리 역할을 하고 키 스토리지에 접근하는 인터페이스 CryptoProvider이(가) 있습니다. 기본 데이터 구조와 키는 공통 인터페이스 CryptoObject을(를) 통해 표현되며, 이로부터 SymmetricKey, PublicKey, PrivateKey와(과) 같은 구체적인 키 타입이 파생됩니다. 키 자료의 저장 위치는 KeySlot 및 해당 쓰기 가능 특수화인 WriteableKeySlot에 의해 매핑됩니다.
컨텍스트 다이어그램: CryptoProvider, 키 스토리지 및 암호화 컨텍스트 간의 상호작용. 출처: 페이로드에 명시되지 않음.
암호화 변환의 실행을 위해 네임스페이스는 가변 기본 컨텍스트 CryptoContext을(를) 기반으로 구축된 특수 인터페이스 패밀리를 제공합니다. 이러한 실행 컨텍스트에는 대칭 암호화기(SymmetricCipherCtx, AuthCipherCtx), 비대칭 암호화 및 복호화(EncryptorPublicCtx, DecryptorPrivateCtx), 서명 생성 및 검증 메커니즘(SignerPrivateCtx, VerifierPublicCtx)이 포함됩니다. 이 스펙트럼은 해시 함수(HashFunctionCtx), 메시지 인증 코드(MessageAuthnCodeCtx), 키 유도(KeyDerivationFunctionCtx), 키 합의(KeyAgreementPrivateCtx), 키 캡슐화(KeyEncapsulatorPublicCtx, KeyDecapsulatorPrivateCtx), 대칭 래핑을 사용한 키 캡슐화(SymmetricKeyWrapperCtx), 난수 생성(RandomGeneratorCtx) 및 보안 키 임포트(ProtectedKeyImportCtx)를 위한 컨텍스트에 의해 보완됩니다.
수명주기 및 상태 유지
암호화 아티팩트의 관리 및 수명은 CryptoProvider, 키 객체 및 컨텍스트 간의 상호작용에 밀접하게 연결되어 있습니다. 암호화 컨텍스트 및 객체의 수명주기는 현재 해석에 따르면 인스턴스화를 위한 중앙 진입점 역할을 하는 CryptoProvider의 팩토리 및 관리 메서드를 통해 주로 제어됩니다. CryptoObject에서 파생된 객체는 불변 또는 관리되는 암호화 엔티티를 나타내는 반면, CryptoContext은(는) 상태 기반의 가변 컨텍스트로 명시적으로 정의됩니다. 따라서 구성, 중간 상태 및 알고리즘 매개변수는 해당 컨텍스트 인스턴스 내에서 유지 관리되어야 합니다.
키 자료의 영구적 또는 일시적 저장을 위해 네임스페이스는 KeySlot과(와) WriteableKeySlot을(를) 구분합니다. 합리적인 해석에 따르면 KeySlot과(와) WriteableKeySlot의 분리는 읽기 접근과 쓰기 키 수정을 분리하여 불변 또는 쓰기 보호된 키 영역이 실수로 덮어쓰여지는 것을 방지할 수 있도록 합니다. 질문 Q-e1b708ca976f7e99 (열림) 따라서 키와 컨텍스트의 상태 변환은 수명주기 전반에 걸쳐 키 객체의 유효성을 보장하는 관련 제공자의 제어 하에 발생합니다.
암호화 연산의 사용 경로
암호화 연산은 일반적으로 제공자 쿼리, 키 슬롯을 통한 키 프로비저닝, 상태 저장 컨텍스트 초기화의 순서를 따릅니다. 첫 번째 단계에서 애플리케이션 컴포넌트는 담당 CryptoProvider에 접근합니다. 이 제공자를 통해 필요한 키 자료를 KeySlot 또는 WriteableKeySlot에서 로드하거나 구체적인 CryptoObject(예: SymmetricKey, PrivateKey 또는 PublicKey)(으)로 가져옵니다. 병렬로 또는 후속 단계로 제공자는 암호화를 위한 SymmetricCipherCtx이나 디지털 서명을 위한 SignerPrivateCtx와(과) 같은 적절한 CryptoContext 인스턴스를 생성합니다.
시퀀스 다이어그램: 암호화 연산 수행 시 일반적인 호출 순서. 출처: 페이로드에 명시되지 않음.
이어지는 실행 단계에서 생성된 컨텍스트는 로드된 키로 구성되고 처리할 페이로드 데이터가 제공됩니다. CryptoContext의 상태 저장 특성 덕분에 최종 암호화 결과(예: 암호문, 서명 또는 해시값)가 애플리케이션으로 반환되기 전에 스트리밍 연산이나 다단계 변환을 단계별로 수행할 수 있습니다. 처리가 완료된 후 임시 상태의 해제는 실행 컨텍스트 및 제공자의 규칙에 따릅니다.
이 텍스트는 릴리스 R25-11의 메타데이터를 기반으로 인공지능에 의해 생성되었습니다.
클래스
AuthCipherCtxCryptoContextCryptoObjectCryptoProviderDecryptorPrivateCtxEncryptorPublicCtxHashFunctionCtxKeyAgreementPrivateCtxKeyDecapsulatorPrivateCtxKeyDerivationFunctionCtxKeyEncapsulatorPublicCtxKeySlotMessageAuthnCodeCtxPrivateKeyProtectedKeyImportCtxPublicKeyRandomGeneratorCtxSignerPrivateCtxSymmetricCipherCtxSymmetricKeySymmetricKeyWrapperCtxVerifierPublicCtxWriteableKeySlotVerschlüsselung
AuthCipherCtxDecryptorPrivateCtxEncryptorPublicCtxSymmetricCipherCtxSignatur und MAC
HashFunctionCtxMessageAuthnCodeCtxSignerPrivateCtxVerifierPublicCtxSchlüsselmaterial
KeyAgreementPrivateCtxKeyDecapsulatorPrivateCtxKeyDerivationFunctionCtxKeyEncapsulatorPublicCtxProtectedKeyImportCtxSymmetricKeyWrapperCtxSchlüsselobjekte
CryptoObjectPrivateKeyPublicKeySymmetricKeySchlüsselspeicher
KeySlotWriteableKeySlotKontextbasis
CryptoContextCryptoProviderRandomGeneratorCtx주제 맵
Schlüsselmaterial
6KI-gestützte Gruppierung auf Basis der Records und Spezifikationsauszüge; keine Gliederung aus der AUTOSAR-Spezifikation.
클래스 다이어그램
Abgerundete Rahmen = Namespace- bzw. Klassen-Scopes; hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); graue Boxen = namespace-fremde bzw. externe Basisklassen. Klicken öffnet die jeweilige Klassen- bzw. cppreference-Seite.
이 릴리스에 대한 요소 데이터가 없습니다
Verschlüsselung
Authenticated Cipher Context interface.
상속 대상 CryptoContext
Interface for asymmetric decryption.
상속 대상 CryptoContext
Interface for asymmetric encryption.
상속 대상 CryptoContext
Interface for Symmetric Cipher Operations.
상속 대상 CryptoContext
Signatur und MAC
Hash function interface.
상속 대상 CryptoContext
Keyed Message Authentication Code Context interface definition.
상속 대상 CryptoContext
Signature Private key Context interface.
상속 대상 CryptoContext
Signature Verification Public key Context interface.
상속 대상 CryptoContext
Schlüsselmaterial
Key Agreement Private key Context interface.
상속 대상 CryptoContext
Asymmetric Key Encapsulation Mechanism (KEM) Private key Context interface.
상속 대상 CryptoContext
Key Derivation Function interface.
상속 대상 CryptoContext
Asymmetric Key Encapsulation Mechanism (KEM) Public key Context interface.
상속 대상 CryptoContext
A contexts for importing secured data such as secret key-material.
상속 대상 CryptoContext
Context of a symmetric key wrap algorithm.
상속 대상 CryptoContext
Schlüsselobjekte
A common interface for all cryptographic objects recognizable by the Crypto Provider.
상속 대상 ara::crypto::Serializable
기반 클래스 대상 PrivateKey, PublicKey, SymmetricKey
Generalized Asymmetric Private Key interface.
상속 대상 CryptoObject
General Asymmetric Public Key interface.
상속 대상 CryptoObject
Symmetric Key interface.
상속 대상 CryptoObject
Schlüsselspeicher
KeySlot interface representing a storage location for a key in a CryptoProvider.
기반 클래스 대상 WriteableKeySlot
WriteableKeySlot interface representing a writeable storage location for a key in a Crypto Provider.
상속 대상 KeySlot
Kontextbasis
A common interface of a mutable cryptographic context, i.e
기반 클래스 대상 AuthCipherCtx, DecryptorPrivateCtx, EncryptorPublicCtx, HashFunctionCtx, KeyAgreementPrivateCtx, KeyDecapsulatorPrivateCtx, KeyDerivationFunctionCtx, KeyEncapsulatorPublicCtx, MessageAuthnCodeCtx, ProtectedKeyImportCtx, RandomGeneratorCtx, SignerPrivateCtx, SymmetricCipherCtx, SymmetricKeyWrapperCtx, VerifierPublicCtx
CryptoProviderInterface representing one implementation of a set of cryptographic primitives with a key storage.
Interface of Random Number Generator Context.
상속 대상 CryptoContext
gemini-3.8-flash-low· 2026-10-13 · 독일어 원문