Class ExportedKeyData
The response to a request to export key material.
Inherited Members
Namespace: Oci.KeymanagementService.Models
Assembly: OCI.DotNetSDK.Keymanagement.dll
Syntax
public class ExportedKeyData
Properties
Algorithm
Declaration
[Required(ErrorMessage = "Algorithm is required.")]
[JsonProperty(PropertyName = "algorithm")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ExportedKeyData.AlgorithmEnum? Algorithm { get; set; }
Property Value
Type | Description |
---|---|
ExportedKeyData.AlgorithmEnum? | The encryption algorithm to use to encrypt exportable key material from a key that persists on the server (as opposed to a key that persists on a hardware security module and, therefore, cannot be exported). Specifying RSA_OAEP_AES_SHA256 invokes the RSA AES key wrap mechanism, which generates a temporary AES key. The temporary AES key is wrapped by the RSA public wrapping key provided along with the request, creating a wrapped temporary AES key. The temporary AES key is also used to wrap the exportable key material. The wrapped temporary AES key and the wrapped exportable key material are concatenated, producing concatenated blob output that jointly represents them. Specifying RSA_OAEP_SHA256 means that the exportable key material is wrapped by the RSA public wrapping key provided along with the request. |
Remarks
Required
EncryptedKey
Declaration
[Required(ErrorMessage = "EncryptedKey is required.")]
[JsonProperty(PropertyName = "encryptedKey")]
public string EncryptedKey { get; set; }
Property Value
Type | Description |
---|---|
string | The base64-encoded exported key material, which is encrypted by using the public RSA wrapping key specified in the export request. |
Remarks
Required
KeyId
Declaration
[Required(ErrorMessage = "KeyId is required.")]
[JsonProperty(PropertyName = "keyId")]
public string KeyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the master encryption key associated with this key version. |
Remarks
Required
KeyVersionId
Declaration
[Required(ErrorMessage = "KeyVersionId is required.")]
[JsonProperty(PropertyName = "keyVersionId")]
public string KeyVersionId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the key version. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time this key version was created, expressed in RFC 3339 timestamp format. |
Remarks
Required
VaultId
Declaration
[Required(ErrorMessage = "VaultId is required.")]
[JsonProperty(PropertyName = "vaultId")]
public string VaultId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the vault that contains this key version. |
Remarks
Required