Class SSECustomerKeyDetails
Specifies the details of the customer-provided encryption key (SSE-C) associated with an object.
Inherited Members
Namespace: Oci.ObjectstorageService.Models
Assembly: OCI.DotNetSDK.Objectstorage.dll
Syntax
public class SSECustomerKeyDetails
Properties
Algorithm
Declaration
[Required(ErrorMessage = "Algorithm is required.")]
[JsonProperty(PropertyName = "algorithm")]
[JsonConverter(typeof(StringEnumConverter))]
public SSECustomerKeyDetails.AlgorithmEnum? Algorithm { get; set; }
Property Value
Type | Description |
---|---|
SSECustomerKeyDetails.AlgorithmEnum? | Specifies the encryption algorithm. The only supported value is "AES256". |
Remarks
Required
Key
Declaration
[Required(ErrorMessage = "Key is required.")]
[JsonProperty(PropertyName = "key")]
public string Key { get; set; }
Property Value
Type | Description |
---|---|
string | Specifies the base64-encoded 256-bit encryption key to use to encrypt or decrypt the object data. |
Remarks
Required
KeySha256
Declaration
[Required(ErrorMessage = "KeySha256 is required.")]
[JsonProperty(PropertyName = "keySha256")]
public string KeySha256 { get; set; }
Property Value
Type | Description |
---|---|
string | Specifies the base64-encoded SHA256 hash of the encryption key. This value is used to check the integrity of the encryption key. |
Remarks
Required