Certificate¶
-
class
oci.waas.models.Certificate(**kwargs)¶ Bases:
objectThe details of the SSL certificate. Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Attributes
LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a Certificate. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a Certificate. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a Certificate. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a Certificate. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a Certificate. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a Certificate. certificate_dataGets the certificate_data of this Certificate. compartment_id[Required] Gets the compartment_id of this Certificate. defined_tagsGets the defined_tags of this Certificate. display_name[Required] Gets the display_name of this Certificate. extensionsGets the extensions of this Certificate. freeform_tagsGets the freeform_tags of this Certificate. id[Required] Gets the id of this Certificate. is_trust_verification_disabledGets the is_trust_verification_disabled of this Certificate. issued_byGets the issued_by of this Certificate. issuer_nameGets the issuer_name of this Certificate. lifecycle_stateGets the lifecycle_state of this Certificate. public_key_infoGets the public_key_info of this Certificate. serial_number[Required] Gets the serial_number of this Certificate. signature_algorithm[Required] Gets the signature_algorithm of this Certificate. subject_nameGets the subject_name of this Certificate. time_createdGets the time_created of this Certificate. time_not_valid_after[Required] Gets the time_not_valid_after of this Certificate. time_not_valid_before[Required] Gets the time_not_valid_before of this Certificate. version[Required] Gets the version of this Certificate. Methods
__init__(**kwargs)Initializes a new Certificate object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a Certificate. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a Certificate. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a Certificate. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a Certificate. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a Certificate. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a Certificate. This constant has a value of “UPDATING”
-
__init__(**kwargs)¶ Initializes a new Certificate object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this Certificate.
- compartment_id (str) – The value to assign to the compartment_id property of this Certificate.
- display_name (str) – The value to assign to the display_name property of this Certificate.
- issued_by (str) – The value to assign to the issued_by property of this Certificate.
- subject_name (oci.waas.models.CertificateSubjectName) – The value to assign to the subject_name property of this Certificate.
- issuer_name (oci.waas.models.CertificateIssuerName) – The value to assign to the issuer_name property of this Certificate.
- serial_number (str) – The value to assign to the serial_number property of this Certificate.
- version (int) – The value to assign to the version property of this Certificate.
- signature_algorithm (str) – The value to assign to the signature_algorithm property of this Certificate.
- time_not_valid_before (datetime) – The value to assign to the time_not_valid_before property of this Certificate.
- time_not_valid_after (datetime) – The value to assign to the time_not_valid_after property of this Certificate.
- public_key_info (oci.waas.models.CertificatePublicKeyInfo) – The value to assign to the public_key_info property of this Certificate.
- extensions (list[oci.waas.models.CertificateExtensions]) – The value to assign to the extensions property of this Certificate.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Certificate.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Certificate.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this Certificate. Allowed values for this property are: “CREATING”, “ACTIVE”, “FAILED”, “UPDATING”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this Certificate.
- is_trust_verification_disabled (bool) – The value to assign to the is_trust_verification_disabled property of this Certificate.
- certificate_data (str) – The value to assign to the certificate_data property of this Certificate.
-
certificate_data¶ Gets the certificate_data of this Certificate. The data of the SSL certificate.
Returns: The certificate_data of this Certificate. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this Certificate. The OCID of the certificate’s compartment.
Returns: The compartment_id of this Certificate. Return type: str
Gets the defined_tags of this Certificate. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this Certificate. Return type: dict(str, dict(str, object))
-
display_name¶ [Required] Gets the display_name of this Certificate. The user-friendly name of the certificate.
Returns: The display_name of this Certificate. Return type: str
-
extensions¶ Gets the extensions of this Certificate. Additional attributes associated with users or public keys for managing relationships between Certificate Authorities.
Returns: The extensions of this Certificate. Return type: list[oci.waas.models.CertificateExtensions]
Gets the freeform_tags of this Certificate. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this Certificate. Return type: dict(str, str)
-
id¶ [Required] Gets the id of this Certificate. The OCID of the certificate.
Returns: The id of this Certificate. Return type: str
-
is_trust_verification_disabled¶ Gets the is_trust_verification_disabled of this Certificate. This indicates whether trust verification was disabled during the creation of SSL certificate. If true SSL certificate trust verification was disabled and this SSL certificate is most likely self-signed.
Returns: The is_trust_verification_disabled of this Certificate. Return type: bool
-
issued_by¶ Gets the issued_by of this Certificate.
Returns: The issued_by of this Certificate. Return type: str
-
issuer_name¶ Gets the issuer_name of this Certificate.
Returns: The issuer_name of this Certificate. Return type: oci.waas.models.CertificateIssuerName
-
lifecycle_state¶ Gets the lifecycle_state of this Certificate. The current lifecycle state of the SSL certificate.
Allowed values for this property are: “CREATING”, “ACTIVE”, “FAILED”, “UPDATING”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this Certificate. Return type: str
-
public_key_info¶ Gets the public_key_info of this Certificate.
Returns: The public_key_info of this Certificate. Return type: oci.waas.models.CertificatePublicKeyInfo
-
serial_number¶ [Required] Gets the serial_number of this Certificate. A unique, positive integer assigned by the Certificate Authority (CA). The issuer name and serial number identify a unique certificate.
Returns: The serial_number of this Certificate. Return type: str
-
signature_algorithm¶ [Required] Gets the signature_algorithm of this Certificate. The identifier for the cryptographic algorithm used by the Certificate Authority (CA) to sign this certificate.
Returns: The signature_algorithm of this Certificate. Return type: str
-
subject_name¶ Gets the subject_name of this Certificate.
Returns: The subject_name of this Certificate. Return type: oci.waas.models.CertificateSubjectName
-
time_created¶ Gets the time_created of this Certificate. The date and time the certificate was created, expressed in RFC 3339 timestamp format.
Returns: The time_created of this Certificate. Return type: datetime
-
time_not_valid_after¶ [Required] Gets the time_not_valid_after of this Certificate. The date and time the certificate will expire, expressed in RFC 3339 timestamp format.
Returns: The time_not_valid_after of this Certificate. Return type: datetime
-
time_not_valid_before¶ [Required] Gets the time_not_valid_before of this Certificate. The date and time the certificate will become valid, expressed in RFC 3339 timestamp format.
Returns: The time_not_valid_before of this Certificate. Return type: datetime
-
version¶ [Required] Gets the version of this Certificate. The version of the encoded certificate.
Returns: The version of this Certificate. Return type: int
-