CertificateAuthorityBundle¶
-
class
oci.certificates.models.
CertificateAuthorityBundle
(**kwargs)¶ Bases:
object
The contents of the certificate, properties of the certificate (and certificate version), and user-provided contextual metadata for the certificate.
Attributes
STAGES_CURRENT
A constant which can be used with the stages property of a CertificateAuthorityBundle. STAGES_DEPRECATED
A constant which can be used with the stages property of a CertificateAuthorityBundle. STAGES_FAILED
A constant which can be used with the stages property of a CertificateAuthorityBundle. STAGES_LATEST
A constant which can be used with the stages property of a CertificateAuthorityBundle. STAGES_PENDING
A constant which can be used with the stages property of a CertificateAuthorityBundle. STAGES_PREVIOUS
A constant which can be used with the stages property of a CertificateAuthorityBundle. cert_chain_pem
Gets the cert_chain_pem of this CertificateAuthorityBundle. certificate_authority_id
[Required] Gets the certificate_authority_id of this CertificateAuthorityBundle. certificate_authority_name
[Required] Gets the certificate_authority_name of this CertificateAuthorityBundle. certificate_pem
[Required] Gets the certificate_pem of this CertificateAuthorityBundle. revocation_status
Gets the revocation_status of this CertificateAuthorityBundle. serial_number
[Required] Gets the serial_number of this CertificateAuthorityBundle. stages
[Required] Gets the stages of this CertificateAuthorityBundle. time_created
[Required] Gets the time_created of this CertificateAuthorityBundle. validity
[Required] Gets the validity of this CertificateAuthorityBundle. version_name
Gets the version_name of this CertificateAuthorityBundle. version_number
[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_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”, “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.
-
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
[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
[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
-
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
-
revocation_status
¶ Gets the revocation_status of this CertificateAuthorityBundle.
Returns: The revocation_status of this CertificateAuthorityBundle. Return type: oci.certificates.models.RevocationStatus
-
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
-
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”, “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]
-
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
-
validity
¶ [Required] Gets the validity of this CertificateAuthorityBundle.
Returns: The validity of this CertificateAuthorityBundle. Return type: oci.certificates.models.Validity
-
version_name
¶ Gets the version_name of this CertificateAuthorityBundle. The name of the CA.
Returns: The version_name of this CertificateAuthorityBundle. Return type: str
-
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
-