CertificateAuthorityBundle¶
- class oci.certificates.models.CertificateAuthorityBundle(**kwargs)¶
Bases:
objectThe contents of the certificate, properties of the certificate (and certificate version), and user-provided contextual metadata for the certificate.
Attributes:
A constant which can be used with the stages property of a CertificateAuthorityBundle.
A constant which can be used with the stages property of a CertificateAuthorityBundle.
A constant which can be used with the stages property of a CertificateAuthorityBundle.
A constant which can be used with the stages property of a CertificateAuthorityBundle.
A constant which can be used with the stages property of a CertificateAuthorityBundle.
A constant which can be used with the stages property of a CertificateAuthorityBundle.
A constant which can be used with the stages property of a CertificateAuthorityBundle.
Gets the cert_chain_pem of this CertificateAuthorityBundle.
[Required] Gets the certificate_authority_id of this CertificateAuthorityBundle.
[Required] Gets the certificate_authority_name of this CertificateAuthorityBundle.
[Required] Gets the certificate_pem of this CertificateAuthorityBundle.
Gets the revocation_status of this CertificateAuthorityBundle.
[Required] Gets the serial_number of this CertificateAuthorityBundle.
[Required] Gets the stages of this CertificateAuthorityBundle.
[Required] Gets the time_created of this CertificateAuthorityBundle.
[Required] Gets the validity of this CertificateAuthorityBundle.
Gets the version_name of this CertificateAuthorityBundle.
[Required] Gets the version_number of this CertificateAuthorityBundle.
Methods:
__init__(**kwargs)Initializes a new CertificateAuthorityBundle object with values from keyword arguments.
- STAGES_CURRENT = 'CURRENT'¶
A constant which can be used with the stages property of a CertificateAuthorityBundle. This constant has a value of “CURRENT”
- STAGES_DEPRECATED = 'DEPRECATED'¶
A constant which can be used with the stages property of a CertificateAuthorityBundle. This constant has a value of “DEPRECATED”
- STAGES_FAILED = 'FAILED'¶
A constant which can be used with the stages property of a CertificateAuthorityBundle. This constant has a value of “FAILED”
- STAGES_LATEST = 'LATEST'¶
A constant which can be used with the stages property of a CertificateAuthorityBundle. This constant has a value of “LATEST”
- STAGES_PENDING = 'PENDING'¶
A constant which can be used with the stages property of a CertificateAuthorityBundle. This constant has a value of “PENDING”
- STAGES_PENDING_ACTIVATION = 'PENDING_ACTIVATION'¶
A constant which can be used with the stages property of a CertificateAuthorityBundle. This constant has a value of “PENDING_ACTIVATION”
- STAGES_PREVIOUS = 'PREVIOUS'¶
A constant which can be used with the stages property of a CertificateAuthorityBundle. This constant has a value of “PREVIOUS”
- __init__(**kwargs)¶
Initializes a new CertificateAuthorityBundle 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 CertificateAuthorityBundle.
certificate_authority_name (str) – The value to assign to the certificate_authority_name property of this CertificateAuthorityBundle.
serial_number (str) – The value to assign to the serial_number property of this CertificateAuthorityBundle.
certificate_pem (str) – The value to assign to the certificate_pem property of this CertificateAuthorityBundle.
cert_chain_pem (str) – The value to assign to the cert_chain_pem property of this CertificateAuthorityBundle.
version_name (str) – The value to assign to the version_name property of this CertificateAuthorityBundle.
time_created (datetime) – The value to assign to the time_created property of this CertificateAuthorityBundle.
version_number (int) – The value to assign to the version_number property of this CertificateAuthorityBundle.
validity (oci.certificates.models.Validity) – The value to assign to the validity property of this CertificateAuthorityBundle.
stages (list[str]) – The value to assign to the stages property of this CertificateAuthorityBundle. Allowed values for items in this list are: “CURRENT”, “PENDING”, “PENDING_ACTIVATION”, “LATEST”, “PREVIOUS”, “DEPRECATED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
revocation_status (oci.certificates.models.RevocationStatus) – The value to assign to the revocation_status property of this CertificateAuthorityBundle.
- property cert_chain_pem¶
Gets the cert_chain_pem of this CertificateAuthorityBundle. The certificate chain (in PEM format) for this CA version.
- Returns
The cert_chain_pem of this CertificateAuthorityBundle.
- Return type
str
- property certificate_authority_id¶
[Required] Gets the certificate_authority_id of this CertificateAuthorityBundle. The OCID of the certificate authority (CA).
- Returns
The certificate_authority_id of this CertificateAuthorityBundle.
- Return type
str
- property certificate_authority_name¶
[Required] Gets the certificate_authority_name of this CertificateAuthorityBundle. The name of the CA.
- Returns
The certificate_authority_name of this CertificateAuthorityBundle.
- Return type
str
- property certificate_pem¶
[Required] Gets the certificate_pem of this CertificateAuthorityBundle. The certificate (in PEM format) for this CA version.
- Returns
The certificate_pem of this CertificateAuthorityBundle.
- Return type
str
- property revocation_status¶
Gets the revocation_status of this CertificateAuthorityBundle.
- Returns
The revocation_status of this CertificateAuthorityBundle.
- Return type
- property serial_number¶
[Required] Gets the serial_number of this CertificateAuthorityBundle. 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 CertificateAuthorityBundle.
- Return type
str
- property stages¶
[Required] Gets the stages of this CertificateAuthorityBundle. A list of rotation states for this CA.
Allowed values for items in this list are: “CURRENT”, “PENDING”, “PENDING_ACTIVATION”, “LATEST”, “PREVIOUS”, “DEPRECATED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The stages of this CertificateAuthorityBundle.
- Return type
list[str]
- property time_created¶
[Required] Gets the time_created of this CertificateAuthorityBundle. A property indicating when the CA was created, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z
- Returns
The time_created of this CertificateAuthorityBundle.
- Return type
datetime
- property validity¶
[Required] Gets the validity of this CertificateAuthorityBundle.
- Returns
The validity of this CertificateAuthorityBundle.
- Return type
- property version_name¶
Gets the version_name of this CertificateAuthorityBundle. The name of the CA.
- Returns
The version_name of this CertificateAuthorityBundle.
- Return type
str
- property version_number¶
[Required] Gets the version_number of this CertificateAuthorityBundle. The version number of the CA.
- Returns
The version_number of this CertificateAuthorityBundle.
- Return type
int