Show / Hide Table of Contents

Class DecryptedData

The response to a request to decrypt the encrypted data.

Inheritance
object
DecryptedData
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.KeymanagementService.Models
Assembly: OCI.DotNetSDK.Keymanagement.dll
Syntax
public class DecryptedData

Properties

EncryptionAlgorithm

Declaration
[JsonProperty(PropertyName = "encryptionAlgorithm")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DecryptedData.EncryptionAlgorithmEnum? EncryptionAlgorithm { get; set; }
Property Value
Type Description
DecryptedData.EncryptionAlgorithmEnum?

The encryption algorithm to use to encrypt and 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.

KeyId

Declaration
[JsonProperty(PropertyName = "keyId")]
public string KeyId { get; set; }
Property Value
Type Description
string

The OCID of the key used to encrypt the ciphertext.

KeyVersionId

Declaration
[JsonProperty(PropertyName = "keyVersionId")]
public string KeyVersionId { get; set; }
Property Value
Type Description
string

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

Plaintext

Declaration
[Required(ErrorMessage = "Plaintext is required.")]
[JsonProperty(PropertyName = "plaintext")]
public string Plaintext { get; set; }
Property Value
Type Description
string

The decrypted data, expressed as a base64-encoded value.

Remarks

Required

PlaintextChecksum

Declaration
[Required(ErrorMessage = "PlaintextChecksum is required.")]
[JsonProperty(PropertyName = "plaintextChecksum")]
public string PlaintextChecksum { get; set; }
Property Value
Type Description
string

The checksum of the decrypted data.

Remarks

Required

In this article
Back to top