CertificateAuthorityVersion

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

Bases: object

The metadata details of the certificate authority (CA) version. This object does not contain the CA contents.

Methods:

__init__(**kwargs)

Initializes a new CertificateAuthorityVersion object with values from keyword arguments.

Attributes:

certificate_authority_id

[Required] Gets the certificate_authority_id of this CertificateAuthorityVersion.

csr_pem

Gets the csr_pem of this CertificateAuthorityVersion.

issuer_ca_version_number

Gets the issuer_ca_version_number of this CertificateAuthorityVersion.

revocation_status

Gets the revocation_status of this CertificateAuthorityVersion.

serial_number

Gets the serial_number of this CertificateAuthorityVersion.

stages

[Required] Gets the stages of this CertificateAuthorityVersion.

subject_alternative_names

Gets the subject_alternative_names of this CertificateAuthorityVersion.

time_created

[Required] Gets the time_created of this CertificateAuthorityVersion.

time_of_deletion

Gets the time_of_deletion of this CertificateAuthorityVersion.

validity

Gets the validity of this CertificateAuthorityVersion.

version_name

Gets the version_name of this CertificateAuthorityVersion.

version_number

[Required] Gets the version_number of this CertificateAuthorityVersion.

__init__(**kwargs)

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

Parameters
  • certificate_authority_id (str) – The value to assign to the certificate_authority_id property of this CertificateAuthorityVersion.

  • serial_number (str) – The value to assign to the serial_number property of this CertificateAuthorityVersion.

  • time_created (datetime) – The value to assign to the time_created property of this CertificateAuthorityVersion.

  • version_number (int) – The value to assign to the version_number property of this CertificateAuthorityVersion.

  • issuer_ca_version_number (int) – The value to assign to the issuer_ca_version_number property of this CertificateAuthorityVersion.

  • version_name (str) – The value to assign to the version_name property of this CertificateAuthorityVersion.

  • subject_alternative_names (list[oci.certificates_management.models.CertificateSubjectAlternativeName]) – The value to assign to the subject_alternative_names property of this CertificateAuthorityVersion.

  • time_of_deletion (datetime) – The value to assign to the time_of_deletion property of this CertificateAuthorityVersion.

  • validity (oci.certificates_management.models.Validity) – The value to assign to the validity property of this CertificateAuthorityVersion.

  • stages (list[oci.certificates_management.models.VersionStage]) – The value to assign to the stages property of this CertificateAuthorityVersion.

  • revocation_status (oci.certificates_management.models.RevocationStatus) – The value to assign to the revocation_status property of this CertificateAuthorityVersion.

  • csr_pem (str) – The value to assign to the csr_pem property of this CertificateAuthorityVersion.

property certificate_authority_id

[Required] Gets the certificate_authority_id of this CertificateAuthorityVersion. The OCID of the CA.

Returns

The certificate_authority_id of this CertificateAuthorityVersion.

Return type

str

property csr_pem

Gets the csr_pem of this CertificateAuthorityVersion. The certificate signing request (in PEM format).

Returns

The csr_pem of this CertificateAuthorityVersion.

Return type

str

property issuer_ca_version_number

Gets the issuer_ca_version_number of this CertificateAuthorityVersion. The version number of the issuing CA.

Returns

The issuer_ca_version_number of this CertificateAuthorityVersion.

Return type

int

property revocation_status

Gets the revocation_status of this CertificateAuthorityVersion.

Returns

The revocation_status of this CertificateAuthorityVersion.

Return type

oci.certificates_management.models.RevocationStatus

property serial_number

Gets the serial_number of this CertificateAuthorityVersion. 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 CertificateAuthorityVersion.

Return type

str

property stages

[Required] Gets the stages of this CertificateAuthorityVersion. A list of rotation states for this CA version.

Returns

The stages of this CertificateAuthorityVersion.

Return type

list[oci.certificates_management.models.VersionStage]

property subject_alternative_names

Gets the subject_alternative_names of this CertificateAuthorityVersion. A list of subject alternative names. A subject alternative name specifies the domain names, including subdomains, and IP addresses covered by the certificates issued by this CA.

Returns

The subject_alternative_names of this CertificateAuthorityVersion.

Return type

list[oci.certificates_management.models.CertificateSubjectAlternativeName]

property time_created

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

Returns

The time_created of this CertificateAuthorityVersion.

Return type

datetime

property time_of_deletion

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

Returns

The time_of_deletion of this CertificateAuthorityVersion.

Return type

datetime

property validity

Gets the validity of this CertificateAuthorityVersion.

Returns

The validity of this CertificateAuthorityVersion.

Return type

oci.certificates_management.models.Validity

property version_name

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

Returns

The version_name of this CertificateAuthorityVersion.

Return type

str

property version_number

[Required] Gets the version_number of this CertificateAuthorityVersion. The version number of this CA.

Returns

The version_number of this CertificateAuthorityVersion.

Return type

int