Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace DecryptDataDetails

The details of the encrypted data that you want to decrypt.

Properties

Optional associatedData

associatedData: undefined | object

Information that can be used to provide an encryption context for the encrypted data. The length of the string representation of the associated data must be fewer than 4096 characters.

ciphertext

ciphertext: string

The encrypted data to decrypt.

Optional encryptionAlgorithm

encryptionAlgorithm: EncryptionAlgorithm

The encryption algorithm to use to encrypt or decrypt data with a customer-managed key. {@code AES_256_GCM} indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). {@code RSA_OAEP_SHA_1} indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). {@code RSA_OAEP_SHA_256} indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP.

keyId

keyId: string

The OCID of the key used to encrypt the ciphertext.

Optional keyVersionId

keyVersionId: undefined | string

The OCID of the key version used to encrypt the ciphertext.

Optional loggingContext

loggingContext: undefined | object

Information that provides context for audit logging. You can provide this additional data as key-value pairs to include in audit logs when audit logging is enabled.

Functions

getDeserializedJsonObj

getJsonObj