CryptoAssessmentKeySummary

class oci.data_safe.models.CryptoAssessmentKeySummary(**kwargs)

Bases: object

Summary of one cryptographic key observed for a crypto assessment.

Attributes

FEATURE_NNE A constant which can be used with the feature property of a CryptoAssessmentKeySummary.
FEATURE_TDE A constant which can be used with the feature property of a CryptoAssessmentKeySummary.
FEATURE_TLS A constant which can be used with the feature property of a CryptoAssessmentKeySummary.
KEYSTORE_TYPE_FILE A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary.
KEYSTORE_TYPE_HSM A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary.
KEYSTORE_TYPE_NOT_APPLICABLE A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary.
KEYSTORE_TYPE_NOT_AVAILABLE A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary.
KEYSTORE_TYPE_NOT_CONFIGURED A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary.
KEYSTORE_TYPE_NOT_SUPPORTED A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary.
KEYSTORE_TYPE_OKV A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary.
KEYSTORE_TYPE_UNKNOWN A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary.
KEY_CACHE_DISABLED A constant which can be used with the key_cache property of a CryptoAssessmentKeySummary.
KEY_CACHE_ENABLED A constant which can be used with the key_cache property of a CryptoAssessmentKeySummary.
KEY_CACHE_NOT_APPLICABLE A constant which can be used with the key_cache property of a CryptoAssessmentKeySummary.
KEY_CACHE_NOT_SUPPORTED A constant which can be used with the key_cache property of a CryptoAssessmentKeySummary.
KEY_TYPE_ENCRYPTION_KEY A constant which can be used with the key_type property of a CryptoAssessmentKeySummary.
KEY_TYPE_MASTER_KEY A constant which can be used with the key_type property of a CryptoAssessmentKeySummary.
SECONDARY_KEYSTORE_TYPE_FILE A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary.
SECONDARY_KEYSTORE_TYPE_HSM A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary.
SECONDARY_KEYSTORE_TYPE_NOT_APPLICABLE A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary.
SECONDARY_KEYSTORE_TYPE_NOT_AVAILABLE A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary.
SECONDARY_KEYSTORE_TYPE_NOT_CONFIGURED A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary.
SECONDARY_KEYSTORE_TYPE_NOT_SUPPORTED A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary.
SECONDARY_KEYSTORE_TYPE_OKV A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary.
SECONDARY_KEYSTORE_TYPE_UNKNOWN A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary.
age Gets the age of this CryptoAssessmentKeySummary.
algorithm [Required] Gets the algorithm of this CryptoAssessmentKeySummary.
assessment_id [Required] Gets the assessment_id of this CryptoAssessmentKeySummary.
feature [Required] Gets the feature of this CryptoAssessmentKeySummary.
key_cache Gets the key_cache of this CryptoAssessmentKeySummary.
key_id [Required] Gets the key_id of this CryptoAssessmentKeySummary.
key_type Gets the key_type of this CryptoAssessmentKeySummary.
keystore_type Gets the keystore_type of this CryptoAssessmentKeySummary.
secondary_keystore_type Gets the secondary_keystore_type of this CryptoAssessmentKeySummary.
status Gets the status of this CryptoAssessmentKeySummary.
target_id [Required] Gets the target_id of this CryptoAssessmentKeySummary.
time_created [Required] Gets the time_created of this CryptoAssessmentKeySummary.
time_last_assessed Gets the time_last_assessed of this CryptoAssessmentKeySummary.
time_last_rotation Gets the time_last_rotation of this CryptoAssessmentKeySummary.
wallet_location Gets the wallet_location of this CryptoAssessmentKeySummary.

Methods

__init__(**kwargs) Initializes a new CryptoAssessmentKeySummary object with values from keyword arguments.
FEATURE_NNE = 'NNE'

A constant which can be used with the feature property of a CryptoAssessmentKeySummary. This constant has a value of “NNE”

FEATURE_TDE = 'TDE'

A constant which can be used with the feature property of a CryptoAssessmentKeySummary. This constant has a value of “TDE”

FEATURE_TLS = 'TLS'

A constant which can be used with the feature property of a CryptoAssessmentKeySummary. This constant has a value of “TLS”

KEYSTORE_TYPE_FILE = 'FILE'

A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “FILE”

KEYSTORE_TYPE_HSM = 'HSM'

A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “HSM”

KEYSTORE_TYPE_NOT_APPLICABLE = 'NOT_APPLICABLE'

A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “NOT_APPLICABLE”

KEYSTORE_TYPE_NOT_AVAILABLE = 'NOT_AVAILABLE'

A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “NOT_AVAILABLE”

KEYSTORE_TYPE_NOT_CONFIGURED = 'NOT_CONFIGURED'

A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “NOT_CONFIGURED”

KEYSTORE_TYPE_NOT_SUPPORTED = 'NOT_SUPPORTED'

A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “NOT_SUPPORTED”

KEYSTORE_TYPE_OKV = 'OKV'

A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “OKV”

KEYSTORE_TYPE_UNKNOWN = 'UNKNOWN'

A constant which can be used with the keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “UNKNOWN”

KEY_CACHE_DISABLED = 'DISABLED'

A constant which can be used with the key_cache property of a CryptoAssessmentKeySummary. This constant has a value of “DISABLED”

KEY_CACHE_ENABLED = 'ENABLED'

A constant which can be used with the key_cache property of a CryptoAssessmentKeySummary. This constant has a value of “ENABLED”

KEY_CACHE_NOT_APPLICABLE = 'NOT_APPLICABLE'

A constant which can be used with the key_cache property of a CryptoAssessmentKeySummary. This constant has a value of “NOT_APPLICABLE”

KEY_CACHE_NOT_SUPPORTED = 'NOT_SUPPORTED'

A constant which can be used with the key_cache property of a CryptoAssessmentKeySummary. This constant has a value of “NOT_SUPPORTED”

KEY_TYPE_ENCRYPTION_KEY = 'ENCRYPTION_KEY'

A constant which can be used with the key_type property of a CryptoAssessmentKeySummary. This constant has a value of “ENCRYPTION_KEY”

KEY_TYPE_MASTER_KEY = 'MASTER_KEY'

A constant which can be used with the key_type property of a CryptoAssessmentKeySummary. This constant has a value of “MASTER_KEY”

SECONDARY_KEYSTORE_TYPE_FILE = 'FILE'

A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “FILE”

SECONDARY_KEYSTORE_TYPE_HSM = 'HSM'

A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “HSM”

SECONDARY_KEYSTORE_TYPE_NOT_APPLICABLE = 'NOT_APPLICABLE'

A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “NOT_APPLICABLE”

SECONDARY_KEYSTORE_TYPE_NOT_AVAILABLE = 'NOT_AVAILABLE'

A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “NOT_AVAILABLE”

SECONDARY_KEYSTORE_TYPE_NOT_CONFIGURED = 'NOT_CONFIGURED'

A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “NOT_CONFIGURED”

SECONDARY_KEYSTORE_TYPE_NOT_SUPPORTED = 'NOT_SUPPORTED'

A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “NOT_SUPPORTED”

SECONDARY_KEYSTORE_TYPE_OKV = 'OKV'

A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “OKV”

SECONDARY_KEYSTORE_TYPE_UNKNOWN = 'UNKNOWN'

A constant which can be used with the secondary_keystore_type property of a CryptoAssessmentKeySummary. This constant has a value of “UNKNOWN”

__init__(**kwargs)

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

Parameters:
  • assessment_id (str) – The value to assign to the assessment_id property of this CryptoAssessmentKeySummary.
  • time_last_assessed (datetime) – The value to assign to the time_last_assessed property of this CryptoAssessmentKeySummary.
  • target_id (str) – The value to assign to the target_id property of this CryptoAssessmentKeySummary.
  • key_id (str) – The value to assign to the key_id property of this CryptoAssessmentKeySummary.
  • feature (str) – The value to assign to the feature property of this CryptoAssessmentKeySummary. Allowed values for this property are: “TDE”, “TLS”, “NNE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • key_type (str) – The value to assign to the key_type property of this CryptoAssessmentKeySummary. Allowed values for this property are: “MASTER_KEY”, “ENCRYPTION_KEY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • status (str) – The value to assign to the status property of this CryptoAssessmentKeySummary.
  • algorithm (str) – The value to assign to the algorithm property of this CryptoAssessmentKeySummary.
  • time_created (datetime) – The value to assign to the time_created property of this CryptoAssessmentKeySummary.
  • keystore_type (str) – The value to assign to the keystore_type property of this CryptoAssessmentKeySummary. Allowed values for this property are: “FILE”, “OKV”, “HSM”, “NOT_CONFIGURED”, “NOT_APPLICABLE”, “NOT_AVAILABLE”, “UNKNOWN”, “NOT_SUPPORTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • secondary_keystore_type (str) – The value to assign to the secondary_keystore_type property of this CryptoAssessmentKeySummary. Allowed values for this property are: “FILE”, “OKV”, “HSM”, “NOT_CONFIGURED”, “NOT_APPLICABLE”, “NOT_AVAILABLE”, “UNKNOWN”, “NOT_SUPPORTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • key_cache (str) – The value to assign to the key_cache property of this CryptoAssessmentKeySummary. Allowed values for this property are: “ENABLED”, “DISABLED”, “NOT_APPLICABLE”, “NOT_SUPPORTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • wallet_location (str) – The value to assign to the wallet_location property of this CryptoAssessmentKeySummary.
  • time_last_rotation (datetime) – The value to assign to the time_last_rotation property of this CryptoAssessmentKeySummary.
  • age (int) – The value to assign to the age property of this CryptoAssessmentKeySummary.
age

Gets the age of this CryptoAssessmentKeySummary. Age of the key in whole days, calculated from timeCreated using the current UTC date.

Returns:The age of this CryptoAssessmentKeySummary.
Return type:int
algorithm

[Required] Gets the algorithm of this CryptoAssessmentKeySummary. Cryptographic algorithm used by the key.

Returns:The algorithm of this CryptoAssessmentKeySummary.
Return type:str
assessment_id

[Required] Gets the assessment_id of this CryptoAssessmentKeySummary. OCID of the crypto assessment that discovered the key.

Returns:The assessment_id of this CryptoAssessmentKeySummary.
Return type:str
feature

[Required] Gets the feature of this CryptoAssessmentKeySummary. Crypto feature for which the key is observed.

Allowed values for this property are: “TDE”, “TLS”, “NNE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The feature of this CryptoAssessmentKeySummary.
Return type:str
key_cache

Gets the key_cache of this CryptoAssessmentKeySummary. Key cache setting observed for the key.

Allowed values for this property are: “ENABLED”, “DISABLED”, “NOT_APPLICABLE”, “NOT_SUPPORTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The key_cache of this CryptoAssessmentKeySummary.
Return type:str
key_id

[Required] Gets the key_id of this CryptoAssessmentKeySummary. Identifier of the cryptographic key.

Returns:The key_id of this CryptoAssessmentKeySummary.
Return type:str
key_type

Gets the key_type of this CryptoAssessmentKeySummary. Type of cryptographic key observed for the assessment.

Allowed values for this property are: “MASTER_KEY”, “ENCRYPTION_KEY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The key_type of this CryptoAssessmentKeySummary.
Return type:str
keystore_type

Gets the keystore_type of this CryptoAssessmentKeySummary. Primary keystore type observed for the key.

Allowed values for this property are: “FILE”, “OKV”, “HSM”, “NOT_CONFIGURED”, “NOT_APPLICABLE”, “NOT_AVAILABLE”, “UNKNOWN”, “NOT_SUPPORTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The keystore_type of this CryptoAssessmentKeySummary.
Return type:str
secondary_keystore_type

Gets the secondary_keystore_type of this CryptoAssessmentKeySummary. Secondary keystore type observed for the key, if configured.

Allowed values for this property are: “FILE”, “OKV”, “HSM”, “NOT_CONFIGURED”, “NOT_APPLICABLE”, “NOT_AVAILABLE”, “UNKNOWN”, “NOT_SUPPORTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The secondary_keystore_type of this CryptoAssessmentKeySummary.
Return type:str
status

Gets the status of this CryptoAssessmentKeySummary. Current status of the cryptographic key as observed on the target.

Returns:The status of this CryptoAssessmentKeySummary.
Return type:str
target_id

[Required] Gets the target_id of this CryptoAssessmentKeySummary. OCID of the target database associated with the key.

Returns:The target_id of this CryptoAssessmentKeySummary.
Return type:str
time_created

[Required] Gets the time_created of this CryptoAssessmentKeySummary. Key creation time in RFC3339 format.

Returns:The time_created of this CryptoAssessmentKeySummary.
Return type:datetime
time_last_assessed

Gets the time_last_assessed of this CryptoAssessmentKeySummary. The date and time the associated crypto assessment was last assessed, in RFC3339 format.

Returns:The time_last_assessed of this CryptoAssessmentKeySummary.
Return type:datetime
time_last_rotation

Gets the time_last_rotation of this CryptoAssessmentKeySummary. Most recent key rotation time in RFC3339 format.

Returns:The time_last_rotation of this CryptoAssessmentKeySummary.
Return type:datetime
wallet_location

Gets the wallet_location of this CryptoAssessmentKeySummary. Wallet location observed for the key.

Returns:The wallet_location of this CryptoAssessmentKeySummary.
Return type:str