as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

WrappingScheme

Represents different methods for securely wrapping (encrypting) cryptographic keys. Key wrapping is a crucial operation in cryptography, used to securely transmit or store sensitive key material.

Extends

  • BaseCryptoClass

Constructors

new WrappingScheme()

new WrappingScheme(): WrappingScheme

Returns

WrappingScheme

Properties

RSA_AES_KEY_WRAP

static readonly RSA_AES_KEY_WRAP: "RsaAesKeyWrapScheme" = "RsaAesKeyWrapScheme"

Constant representing the RSA AES Key Wrap scheme.

This scheme combines the RSA and AES algorithms to securely wrap and unwrap keys. The wrapping process involves: 1) Generating a temporary AES key; 2) Encrypting it with the RSA public key; 3) Using this AES key to encrypt the key material. The final wrapped key consists of both the RSA-encrypted AES key and the AES-encrypted key material. This ensures that only the holder of the corresponding RSA private key can decrypt and retrieve the AES key, and subsequently, the key material.


ECDH_AES_KEY_WRAP

static readonly ECDH_AES_KEY_WRAP: "EcdhAesKeyWrapScheme" = "EcdhAesKeyWrapScheme"

Constant representing the ECDH AES Key Wrap scheme.

This scheme utilizes Elliptic Curve Diffie-Hellman (ECDH) for key exchange, combined with AES for key wrapping. The wrapping process for this scheme: 1) An ECDH key pair is used to derive a shared secret, which is then used as an AES key; 2) Use the AES key to wrap the key material. This method ensures that both parties involved in the key exchange can securely communicate and unwrap the key material using the derived AES key.


AES_KEY_WRAP

static readonly AES_KEY_WRAP: "AesKeyWrapScheme" = "AesKeyWrapScheme"

Constant representing the AES Key Wrap scheme.

This scheme uses the AES algorithm to wrap and unwrap keys directly. The key material is encrypted using an AES key, providing confidentiality and integrity for the wrapped key.


Last updated: Jul 22, 2026