Validity

class oci.certificates.models.Validity(**kwargs)

Bases: object

An object that describes a period of time during which an entity is valid.

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_before [Required] Gets 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
time_of_validity_not_before

[Required] Gets the time_of_validity_not_before of this Validity. The date on which the certificate validity period begins, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z

Returns:The time_of_validity_not_before of this Validity.
Return type:datetime