public static class DecryptDataDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DecryptDataDetails.Builder |
associatedData(Map<String,String> associatedData)
Information that can be used to provide an encryption context for the encrypted data.
|
DecryptDataDetails |
build() |
DecryptDataDetails.Builder |
ciphertext(String ciphertext)
The encrypted data to decrypt.
|
DecryptDataDetails.Builder |
copy(DecryptDataDetails model) |
DecryptDataDetails.Builder |
encryptionAlgorithm(DecryptDataDetails.EncryptionAlgorithm encryptionAlgorithm)
The encryption algorithm to use to encrypt or decrypt data with a customer-managed key.
|
DecryptDataDetails.Builder |
keyId(String keyId)
The OCID of the key used to encrypt the ciphertext.
|
DecryptDataDetails.Builder |
keyVersionId(String keyVersionId)
The OCID of the key version used to encrypt the ciphertext.
|
DecryptDataDetails.Builder |
loggingContext(Map<String,String> loggingContext)
Information that provides context for audit logging.
|
public DecryptDataDetails.Builder associatedData(Map<String,String> associatedData)
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.
associatedData
- the value to setpublic DecryptDataDetails.Builder ciphertext(String ciphertext)
The encrypted data to decrypt.
ciphertext
- the value to setpublic DecryptDataDetails.Builder keyId(String keyId)
The OCID of the key used to encrypt the ciphertext.
keyId
- the value to setpublic DecryptDataDetails.Builder loggingContext(Map<String,String> loggingContext)
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.
loggingContext
- the value to setpublic DecryptDataDetails.Builder keyVersionId(String keyVersionId)
The OCID of the key version used to encrypt the ciphertext.
keyVersionId
- the value to setpublic DecryptDataDetails.Builder encryptionAlgorithm(DecryptDataDetails.EncryptionAlgorithm encryptionAlgorithm)
The encryption algorithm to use to encrypt or decrypt data with a customer-managed key.
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). 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).
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.
encryptionAlgorithm
- the value to setpublic DecryptDataDetails build()
public DecryptDataDetails.Builder copy(DecryptDataDetails model)
Copyright © 2016–2024. All rights reserved.