Class EncryptedData
The response to a request to encrypt the plaintext data.
Inherited Members
Namespace: Oci.KeymanagementService.Models
Assembly: OCI.DotNetSDK.Keymanagement.dll
Syntax
public class EncryptedDataProperties
Ciphertext
Declaration
[Required(ErrorMessage = "Ciphertext is required.")]
[JsonProperty(PropertyName = "ciphertext")]
public string Ciphertext { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The encrypted data. | 
Remarks
Required
EncryptionAlgorithm
Declaration
[JsonProperty(PropertyName = "encryptionAlgorithm")]
[JsonConverter(typeof(ResponseEnumConverter))]
public EncryptedData.EncryptionAlgorithmEnum? EncryptionAlgorithm { get; set; }Property Value
| Type | Description | 
|---|---|
| EncryptedData.EncryptionAlgorithmEnum? | The encryption algorithm to use to encrypt and decrypt data with a customer-managed key.
 | 
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. |