GeneratedKey

class oci.key_management.models.GeneratedKey(**kwargs)

Bases: object

GeneratedKey model.

Methods

__init__(**kwargs) Initializes a new GeneratedKey object with values from keyword arguments.

Attributes

ciphertext [Required] Gets the ciphertext of this GeneratedKey.
plaintext Gets the plaintext of this GeneratedKey.
plaintext_checksum Gets the plaintext_checksum of this GeneratedKey.
__init__(**kwargs)

Initializes a new GeneratedKey object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • ciphertext (str) – The value to assign to the ciphertext property of this GeneratedKey.
  • plaintext (str) – The value to assign to the plaintext property of this GeneratedKey.
  • plaintext_checksum (str) – The value to assign to the plaintext_checksum property of this GeneratedKey.
ciphertext

[Required] Gets the ciphertext of this GeneratedKey. The encrypted data encryption key generated from a master encryption key.

Returns:The ciphertext of this GeneratedKey.
Return type:str
plaintext

Gets the plaintext of this GeneratedKey. The plaintext data encryption key, a base64-encoded sequence of random bytes, which is included if the GenerateDataEncryptionKey request includes the includePlaintextKey parameter and sets its value to “true”.

Returns:The plaintext of this GeneratedKey.
Return type:str
plaintext_checksum

Gets the plaintext_checksum of this GeneratedKey. The checksum of the plaintext data encryption key, which is included if the GenerateDataEncryptionKey request includes the includePlaintextKey parameter and sets its value to “true”.

Returns:The plaintext_checksum of this GeneratedKey.
Return type:str