CryptoAssessmentCertificateSummary¶
-
class
oci.data_safe.models.CryptoAssessmentCertificateSummary(**kwargs)¶ Bases:
objectSummary of one certificate discovered across targets in a compartment.
Attributes
CERTIFICATE_TYPE_SERVERA constant which can be used with the certificate_type property of a CryptoAssessmentCertificateSummary. CERTIFICATE_TYPE_TRUSTEDA constant which can be used with the certificate_type property of a CryptoAssessmentCertificateSummary. CERTIFICATE_TYPE_USERA constant which can be used with the certificate_type property of a CryptoAssessmentCertificateSummary. STATUS_EXPIREDA constant which can be used with the status property of a CryptoAssessmentCertificateSummary. STATUS_EXPIRING_SOONA constant which can be used with the status property of a CryptoAssessmentCertificateSummary. STATUS_INVALIDA constant which can be used with the status property of a CryptoAssessmentCertificateSummary. STATUS_IN_USEA constant which can be used with the status property of a CryptoAssessmentCertificateSummary. STATUS_VALIDA constant which can be used with the status property of a CryptoAssessmentCertificateSummary. ageGets the age of this CryptoAssessmentCertificateSummary. assessment_id[Required] Gets the assessment_id of this CryptoAssessmentCertificateSummary. assessment_type[Required] Gets the assessment_type of this CryptoAssessmentCertificateSummary. certificate_type[Required] Gets the certificate_type of this CryptoAssessmentCertificateSummary. compartment_id[Required] Gets the compartment_id of this CryptoAssessmentCertificateSummary. days_to_expiryGets the days_to_expiry of this CryptoAssessmentCertificateSummary. expiry_bucketGets the expiry_bucket of this CryptoAssessmentCertificateSummary. issuer[Required] Gets the issuer of this CryptoAssessmentCertificateSummary. public_key_type[Required] Gets the public_key_type of this CryptoAssessmentCertificateSummary. serial_number[Required] Gets the serial_number of this CryptoAssessmentCertificateSummary. signature_algorithm[Required] Gets the signature_algorithm of this CryptoAssessmentCertificateSummary. status[Required] Gets the status of this CryptoAssessmentCertificateSummary. subject[Required] Gets the subject of this CryptoAssessmentCertificateSummary. target_id[Required] Gets the target_id of this CryptoAssessmentCertificateSummary. time_last_assessedGets the time_last_assessed of this CryptoAssessmentCertificateSummary. time_valid_from[Required] Gets the time_valid_from of this CryptoAssessmentCertificateSummary. time_valid_until[Required] Gets the time_valid_until of this CryptoAssessmentCertificateSummary. wallet_locationGets 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.
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
issuer¶ [Required] Gets the issuer of this CryptoAssessmentCertificateSummary. Issuer of the certificate.
Returns: The issuer of this CryptoAssessmentCertificateSummary. Return type: str
-
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
-
serial_number¶ [Required] Gets the serial_number of this CryptoAssessmentCertificateSummary. Certificate serial number.
Returns: The serial_number of this CryptoAssessmentCertificateSummary. Return type: str
-
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
-
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
-
subject¶ [Required] Gets the subject of this CryptoAssessmentCertificateSummary. Subject of the certificate.
Returns: The subject of this CryptoAssessmentCertificateSummary. Return type: str
-
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
-
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
-
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
-
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
-
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
-