WrappedImportKey¶
-
class
oci.key_management.models.
WrappedImportKey
(**kwargs)¶ Bases:
object
The details of the wrapped import Key.
Attributes
WRAPPING_ALGORITHM_RSA_OAEP_AES_SHA256
A constant which can be used with the wrapping_algorithm property of a WrappedImportKey. 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_AES_SHA256
= 'RSA_OAEP_AES_SHA256'¶ A constant which can be used with the wrapping_algorithm property of a WrappedImportKey. This constant has a value of “RSA_OAEP_AES_SHA256”
-
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”, “RSA_OAEP_AES_SHA256”
-
key_material
¶ [Required] Gets the key_material of this WrappedImportKey. The key material to import, wrapped by the vault’s RSA public 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. 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 vault’s RSA public wrapping key, creating a wrapped temporary AES key. The temporary AES key is also used to wrap the private key material. The wrapped temporary AES key and the wrapped exportable key material are concatenated, producing concatenated blob output that jointly represents them. RSA_OAEP_SHA256 means that the exportable key material is wrapped by the vault’s RSA public wrapping key.
Allowed values for this property are: “RSA_OAEP_SHA256”, “RSA_OAEP_AES_SHA256”
Returns: The wrapping_algorithm of this WrappedImportKey. Return type: str
-