Validity¶
-
class
oci.certificates_management.models.Validity(**kwargs)¶ Bases:
objectAn object that describes a period of time during which an entity is valid. If this is not provided when you create a certificate, the validity of the issuing CA is used.
Methods
__init__(**kwargs)Initializes a new Validity object with values from keyword arguments. Attributes
time_of_validity_not_after[Required] Gets the time_of_validity_not_after of this Validity. time_of_validity_not_beforeGets the time_of_validity_not_before of this Validity. -
__init__(**kwargs)¶ Initializes a new Validity object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - time_of_validity_not_before (datetime) – The value to assign to the time_of_validity_not_before property of this Validity.
- time_of_validity_not_after (datetime) – The value to assign to the time_of_validity_not_after property of this Validity.
-
time_of_validity_not_after¶ [Required] Gets the time_of_validity_not_after of this Validity. The date on which the certificate validity period ends, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z
Returns: The time_of_validity_not_after of this Validity. Return type: datetime
-