WrappedImportKey

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

Bases: object

WrappedImportKey model.

Attributes

WRAPPING_ALGORITHM_RSA_OAEP_SHA256 A constant which can be used with the wrapping_algorithm property of a WrappedImportKey.
key_material [Required] Gets the key_material of this WrappedImportKey.
wrapping_algorithm [Required] Gets the wrapping_algorithm of this WrappedImportKey.

Methods

__init__(**kwargs) Initializes a new WrappedImportKey object with values from keyword arguments.
WRAPPING_ALGORITHM_RSA_OAEP_SHA256 = 'RSA_OAEP_SHA256'

A constant which can be used with the wrapping_algorithm property of a WrappedImportKey. This constant has a value of “RSA_OAEP_SHA256”

__init__(**kwargs)

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

Parameters:
  • key_material (str) – The value to assign to the key_material property of this WrappedImportKey.
  • wrapping_algorithm (str) – The value to assign to the wrapping_algorithm property of this WrappedImportKey. Allowed values for this property are: “RSA_OAEP_SHA256”
key_material

[Required] Gets the key_material of this WrappedImportKey. The key material to import, wrapped by the vault’s public RSA wrapping key and base64-encoded.

Returns:The key_material of this WrappedImportKey.
Return type:str
wrapping_algorithm

[Required] Gets the wrapping_algorithm of this WrappedImportKey. The wrapping mechanism to use during key import.

Allowed values for this property are: “RSA_OAEP_SHA256”

Returns:The wrapping_algorithm of this WrappedImportKey.
Return type:str