CryptoAssessmentCertificateSummary¶
- class oci.data_safe.models.CryptoAssessmentCertificateSummary(**kwargs)¶
Bases:
objectSummary of one certificate discovered across targets in a compartment.
Attributes:
A constant which can be used with the certificate_type property of a CryptoAssessmentCertificateSummary.
A constant which can be used with the certificate_type property of a CryptoAssessmentCertificateSummary.
A constant which can be used with the certificate_type property of a CryptoAssessmentCertificateSummary.
A constant which can be used with the status property of a CryptoAssessmentCertificateSummary.
A constant which can be used with the status property of a CryptoAssessmentCertificateSummary.
A constant which can be used with the status property of a CryptoAssessmentCertificateSummary.
A constant which can be used with the status property of a CryptoAssessmentCertificateSummary.
A constant which can be used with the status property of a CryptoAssessmentCertificateSummary.
Gets the age of this CryptoAssessmentCertificateSummary.
[Required] Gets the assessment_id of this CryptoAssessmentCertificateSummary.
[Required] Gets the assessment_type of this CryptoAssessmentCertificateSummary.
[Required] Gets the certificate_type of this CryptoAssessmentCertificateSummary.
[Required] Gets the compartment_id of this CryptoAssessmentCertificateSummary.
Gets the days_to_expiry of this CryptoAssessmentCertificateSummary.
Gets the expiry_bucket of this CryptoAssessmentCertificateSummary.
[Required] Gets the issuer of this CryptoAssessmentCertificateSummary.
[Required] Gets the public_key_type of this CryptoAssessmentCertificateSummary.
[Required] Gets the serial_number of this CryptoAssessmentCertificateSummary.
[Required] Gets the signature_algorithm of this CryptoAssessmentCertificateSummary.
[Required] Gets the status of this CryptoAssessmentCertificateSummary.
[Required] Gets the subject of this CryptoAssessmentCertificateSummary.
[Required] Gets the target_id of this CryptoAssessmentCertificateSummary.
Gets the time_last_assessed of this CryptoAssessmentCertificateSummary.
[Required] Gets the time_valid_from of this CryptoAssessmentCertificateSummary.
[Required] Gets the time_valid_until of this CryptoAssessmentCertificateSummary.
Gets the wallet_location of this CryptoAssessmentCertificateSummary.
Methods:
__init__(**kwargs)Initializes a new CryptoAssessmentCertificateSummary object with values from keyword arguments.
- CERTIFICATE_TYPE_SERVER = 'SERVER'¶
A constant which can be used with the certificate_type property of a CryptoAssessmentCertificateSummary. This constant has a value of “SERVER”
- CERTIFICATE_TYPE_TRUSTED = 'TRUSTED'¶
A constant which can be used with the certificate_type property of a CryptoAssessmentCertificateSummary. This constant has a value of “TRUSTED”
- CERTIFICATE_TYPE_USER = 'USER'¶
A constant which can be used with the certificate_type property of a CryptoAssessmentCertificateSummary. This constant has a value of “USER”
- STATUS_EXPIRED = 'EXPIRED'¶
A constant which can be used with the status property of a CryptoAssessmentCertificateSummary. This constant has a value of “EXPIRED”
- STATUS_EXPIRING_SOON = 'EXPIRING_SOON'¶
A constant which can be used with the status property of a CryptoAssessmentCertificateSummary. This constant has a value of “EXPIRING_SOON”
- STATUS_INVALID = 'INVALID'¶
A constant which can be used with the status property of a CryptoAssessmentCertificateSummary. This constant has a value of “INVALID”
- STATUS_IN_USE = 'IN_USE'¶
A constant which can be used with the status property of a CryptoAssessmentCertificateSummary. This constant has a value of “IN_USE”
- STATUS_VALID = 'VALID'¶
A constant which can be used with the status property of a CryptoAssessmentCertificateSummary. This constant has a value of “VALID”
- __init__(**kwargs)¶
Initializes a new CryptoAssessmentCertificateSummary 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 CryptoAssessmentCertificateSummary.
time_last_assessed (datetime) – The value to assign to the time_last_assessed property of this CryptoAssessmentCertificateSummary.
assessment_type (str) – The value to assign to the assessment_type property of this CryptoAssessmentCertificateSummary.
compartment_id (str) – The value to assign to the compartment_id property of this CryptoAssessmentCertificateSummary.
target_id (str) – The value to assign to the target_id property of this CryptoAssessmentCertificateSummary.
wallet_location (str) – The value to assign to the wallet_location property of this CryptoAssessmentCertificateSummary.
certificate_type (str) – The value to assign to the certificate_type property of this CryptoAssessmentCertificateSummary. Allowed values for this property are: “SERVER”, “USER”, “TRUSTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
subject (str) – The value to assign to the subject property of this CryptoAssessmentCertificateSummary.
issuer (str) – The value to assign to the issuer property of this CryptoAssessmentCertificateSummary.
status (str) – The value to assign to the status property of this CryptoAssessmentCertificateSummary. Allowed values for this property are: “VALID”, “EXPIRING_SOON”, “EXPIRED”, “INVALID”, “IN_USE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
serial_number (str) – The value to assign to the serial_number property of this CryptoAssessmentCertificateSummary.
age (int) – The value to assign to the age property of this CryptoAssessmentCertificateSummary.
time_valid_from (datetime) – The value to assign to the time_valid_from property of this CryptoAssessmentCertificateSummary.
time_valid_until (datetime) – The value to assign to the time_valid_until property of this CryptoAssessmentCertificateSummary.
expiry_bucket (str) – The value to assign to the expiry_bucket property of this CryptoAssessmentCertificateSummary.
days_to_expiry (int) – The value to assign to the days_to_expiry property of this CryptoAssessmentCertificateSummary.
public_key_type (str) – The value to assign to the public_key_type property of this CryptoAssessmentCertificateSummary.
signature_algorithm (str) – The value to assign to the signature_algorithm property of this CryptoAssessmentCertificateSummary.
- property age¶
Gets the age of this CryptoAssessmentCertificateSummary. Age of the certificate in whole days, calculated from timeValidFrom using the current UTC date.
- Returns
The age of this CryptoAssessmentCertificateSummary.
- Return type
int
- property assessment_id¶
[Required] Gets the assessment_id of this CryptoAssessmentCertificateSummary. OCID of the crypto assessment that discovered the certificate.
- Returns
The assessment_id of this CryptoAssessmentCertificateSummary.
- Return type
str
- property assessment_type¶
[Required] Gets the assessment_type of this CryptoAssessmentCertificateSummary. Type of the crypto assessment that discovered the certificate.
- Returns
The assessment_type of this CryptoAssessmentCertificateSummary.
- Return type
str
- property certificate_type¶
[Required] Gets the certificate_type of this CryptoAssessmentCertificateSummary. Type of certificate.
Allowed values for this property are: “SERVER”, “USER”, “TRUSTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The certificate_type of this CryptoAssessmentCertificateSummary.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this CryptoAssessmentCertificateSummary. OCID of the compartment that contains the certificate row.
- Returns
The compartment_id of this CryptoAssessmentCertificateSummary.
- Return type
str
- property days_to_expiry¶
Gets the days_to_expiry of this CryptoAssessmentCertificateSummary. Number of whole days until certificate expiration, calculated from timeValidUntil. Negative values indicate already expired certificates.
- Returns
The days_to_expiry of this CryptoAssessmentCertificateSummary.
- Return type
int
- property expiry_bucket¶
Gets the expiry_bucket of this CryptoAssessmentCertificateSummary. Expiry bucket populated for the certificate when the assessment runs. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- Returns
The expiry_bucket of this CryptoAssessmentCertificateSummary.
- Return type
str
- property issuer¶
[Required] Gets the issuer of this CryptoAssessmentCertificateSummary. Issuer of the certificate.
- Returns
The issuer of this CryptoAssessmentCertificateSummary.
- Return type
str
- property public_key_type¶
[Required] Gets the public_key_type of this CryptoAssessmentCertificateSummary. Public key type and size.
- Returns
The public_key_type of this CryptoAssessmentCertificateSummary.
- Return type
str
- property serial_number¶
[Required] Gets the serial_number of this CryptoAssessmentCertificateSummary. Certificate serial number.
- Returns
The serial_number of this CryptoAssessmentCertificateSummary.
- Return type
str
- property signature_algorithm¶
[Required] Gets the signature_algorithm of this CryptoAssessmentCertificateSummary. Signature algorithm used by the certificate.
- Returns
The signature_algorithm of this CryptoAssessmentCertificateSummary.
- Return type
str
- property status¶
[Required] Gets the status of this CryptoAssessmentCertificateSummary. Certificate validity status.
Allowed values for this property are: “VALID”, “EXPIRING_SOON”, “EXPIRED”, “INVALID”, “IN_USE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The status of this CryptoAssessmentCertificateSummary.
- Return type
str
- property subject¶
[Required] Gets the subject of this CryptoAssessmentCertificateSummary. Subject of the certificate.
- Returns
The subject of this CryptoAssessmentCertificateSummary.
- Return type
str
- property target_id¶
[Required] Gets the target_id of this CryptoAssessmentCertificateSummary. OCID of the target database associated with the certificate.
- Returns
The target_id of this CryptoAssessmentCertificateSummary.
- Return type
str
- property time_last_assessed¶
Gets the time_last_assessed of this CryptoAssessmentCertificateSummary. The date and time the associated crypto assessment was last assessed, in RFC3339 format.
- Returns
The time_last_assessed of this CryptoAssessmentCertificateSummary.
- Return type
datetime
- property time_valid_from¶
[Required] Gets the time_valid_from of this CryptoAssessmentCertificateSummary. Certificate validity start time in RFC3339 format.
- Returns
The time_valid_from of this CryptoAssessmentCertificateSummary.
- Return type
datetime
- property time_valid_until¶
[Required] Gets the time_valid_until of this CryptoAssessmentCertificateSummary. Certificate validity end time in RFC3339 format.
- Returns
The time_valid_until of this CryptoAssessmentCertificateSummary.
- Return type
datetime
- property wallet_location¶
Gets the wallet_location of this CryptoAssessmentCertificateSummary. Wallet location where the certificate was discovered, if available.
- Returns
The wallet_location of this CryptoAssessmentCertificateSummary.
- Return type
str