Constructs a new instance of a KeyManager with the provided region, keyId, and optional encryption algorithm.
The region where the key is stored.
The ID of the key.
Optional
optEncryptionAlgorithm: EncryptionAlgorithmSpecThe encryption algorithm to use (default is RSAES_OAEP_SHA_256).
None
Decrypts the given data using the RSAES_OAEP_SHA_256 encryption algorithm.
The encrypted data to decrypt.
Encrypts the given data using RSAES_OAEP_SHA_256 encryption algorithm.
The data to be encrypted.
Represents a Crypto class that provides encryption and decryption functionality using AWS KMS.