Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IWrappingScheme

interface IWrappingScheme
Extends com.amazon.apmf.IStandard

Methods

getName()

string getName()
Get the name of the wrapping scheme.

Returns

string The name of the wrapping scheme.

Constants

RSA_AES_KEY_WRAP

string = "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. and then 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

string = "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

string = "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 modified on October 29, 2026