CertificateVersion

class oci.certificates_management.models.CertificateVersion(**kwargs)

Bases: object

The details of the certificate version. This object does not contain the certificate contents.

Methods

__init__(**kwargs) Initializes a new CertificateVersion object with values from keyword arguments.

Attributes

certificate_id [Required] Gets the certificate_id of this CertificateVersion.
issuer_ca_version_number Gets the issuer_ca_version_number of this CertificateVersion.
revocation_status Gets the revocation_status of this CertificateVersion.
serial_number Gets the serial_number of this CertificateVersion.
stages [Required] Gets the stages of this CertificateVersion.
subject_alternative_names Gets the subject_alternative_names of this CertificateVersion.
time_created [Required] Gets the time_created of this CertificateVersion.
time_of_deletion Gets the time_of_deletion of this CertificateVersion.
validity Gets the validity of this CertificateVersion.
version_name Gets the version_name of this CertificateVersion.
version_number [Required] Gets the version_number of this CertificateVersion.
__init__(**kwargs)

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

Parameters:
  • certificate_id (str) – The value to assign to the certificate_id property of this CertificateVersion.
  • serial_number (str) – The value to assign to the serial_number property of this CertificateVersion.
  • time_created (datetime) – The value to assign to the time_created property of this CertificateVersion.
  • version_number (int) – The value to assign to the version_number property of this CertificateVersion.
  • issuer_ca_version_number (int) – The value to assign to the issuer_ca_version_number property of this CertificateVersion.
  • version_name (str) – The value to assign to the version_name property of this CertificateVersion.
  • subject_alternative_names (list[oci.certificates_management.models.CertificateSubjectAlternativeName]) – The value to assign to the subject_alternative_names property of this CertificateVersion.
  • time_of_deletion (datetime) – The value to assign to the time_of_deletion property of this CertificateVersion.
  • validity (oci.certificates_management.models.Validity) – The value to assign to the validity property of this CertificateVersion.
  • stages (list[oci.certificates_management.models.VersionStage]) – The value to assign to the stages property of this CertificateVersion.
  • revocation_status (oci.certificates_management.models.RevocationStatus) – The value to assign to the revocation_status property of this CertificateVersion.
certificate_id

[Required] Gets the certificate_id of this CertificateVersion. The OCID of the certificate.

Returns:The certificate_id of this CertificateVersion.
Return type:str
issuer_ca_version_number

Gets the issuer_ca_version_number of this CertificateVersion. The version number of the issuing certificate authority (CA).

Returns:The issuer_ca_version_number of this CertificateVersion.
Return type:int
revocation_status

Gets the revocation_status of this CertificateVersion.

Returns:The revocation_status of this CertificateVersion.
Return type:oci.certificates_management.models.RevocationStatus
serial_number

Gets the serial_number of this CertificateVersion. A unique certificate identifier used in certificate revocation tracking, formatted as octets. Example: 03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF

Returns:The serial_number of this CertificateVersion.
Return type:str
stages

[Required] Gets the stages of this CertificateVersion. A list of stages of this entity.

Returns:The stages of this CertificateVersion.
Return type:list[oci.certificates_management.models.VersionStage]
subject_alternative_names

Gets the subject_alternative_names of this CertificateVersion. A list of subject alternative names.

Returns:The subject_alternative_names of this CertificateVersion.
Return type:list[oci.certificates_management.models.CertificateSubjectAlternativeName]
time_created

[Required] Gets the time_created of this CertificateVersion. A optional property indicating when the certificate version was created, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z

Returns:The time_created of this CertificateVersion.
Return type:datetime
time_of_deletion

Gets the time_of_deletion of this CertificateVersion. An optional property indicating when to delete the certificate version, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z

Returns:The time_of_deletion of this CertificateVersion.
Return type:datetime
validity

Gets the validity of this CertificateVersion.

Returns:The validity of this CertificateVersion.
Return type:oci.certificates_management.models.Validity
version_name

Gets the version_name of this CertificateVersion. The name of the certificate version. When the value is not null, a name is unique across versions of a given certificate.

Returns:The version_name of this CertificateVersion.
Return type:str
version_number

[Required] Gets the version_number of this CertificateVersion. The version number of the certificate.

Returns:The version_number of this CertificateVersion.
Return type:int