Certificate¶
-
class
oci.golden_gate.models.
Certificate
(**kwargs)¶ Bases:
object
Certificate data.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a Certificate. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a Certificate. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a Certificate. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a Certificate. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a Certificate. authority_key_id
[Required] Gets the authority_key_id of this Certificate. certificate_content
[Required] Gets the certificate_content of this Certificate. deployment_id
[Required] Gets the deployment_id of this Certificate. is_ca
[Required] Gets the is_ca of this Certificate. is_self_signed
[Required] Gets the is_self_signed of this Certificate. issuer
[Required] Gets the issuer of this Certificate. key
[Required] Gets the key of this Certificate. lifecycle_state
[Required] Gets the lifecycle_state of this Certificate. md5_hash
[Required] Gets the md5_hash of this Certificate. public_key
[Required] Gets the public_key of this Certificate. public_key_algorithm
[Required] Gets the public_key_algorithm of this Certificate. public_key_size
[Required] Gets the public_key_size of this Certificate. serial
[Required] Gets the serial of this Certificate. sha1_hash
[Required] Gets the sha1_hash of this Certificate. subject
[Required] Gets the subject of this Certificate. subject_key_id
[Required] Gets the subject_key_id of this Certificate. time_created
[Required] Gets the time_created of this Certificate. time_valid_from
[Required] Gets the time_valid_from of this Certificate. time_valid_to
[Required] Gets the time_valid_to 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”
-
__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: - key (str) – The value to assign to the key property of this Certificate.
- deployment_id (str) – The value to assign to the deployment_id property of this Certificate.
- certificate_content (str) – The value to assign to the certificate_content property of this Certificate.
- issuer (str) – The value to assign to the issuer property of this Certificate.
- is_self_signed (bool) – The value to assign to the is_self_signed property of this Certificate.
- md5_hash (str) – The value to assign to the md5_hash property of this Certificate.
- public_key (str) – The value to assign to the public_key property of this Certificate.
- public_key_algorithm (str) – The value to assign to the public_key_algorithm property of this Certificate.
- public_key_size (int) – The value to assign to the public_key_size property of this Certificate.
- serial (str) – The value to assign to the serial property of this Certificate.
- subject (str) – The value to assign to the subject property of this Certificate.
- time_valid_from (datetime) – The value to assign to the time_valid_from property of this Certificate.
- time_valid_to (datetime) – The value to assign to the time_valid_to property of this Certificate.
- version (str) – The value to assign to the version property of this Certificate.
- sha1_hash (str) – The value to assign to the sha1_hash property of this Certificate.
- authority_key_id (str) – The value to assign to the authority_key_id property of this Certificate.
- is_ca (bool) – The value to assign to the is_ca property of this Certificate.
- subject_key_id (str) – The value to assign to the subject_key_id 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”, “DELETING”, “DELETED”, “FAILED”, ‘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.
[Required] Gets the authority_key_id of this Certificate. The Certificate authority key id.
Returns: The authority_key_id of this Certificate. Return type: str
-
certificate_content
¶ [Required] Gets the certificate_content of this Certificate. The base64 encoded content of the PEM file containing the SSL certificate.
Returns: The certificate_content of this Certificate. Return type: str
-
deployment_id
¶ [Required] Gets the deployment_id of this Certificate. The OCID of the deployment being referenced.
Returns: The deployment_id of this Certificate. Return type: str
-
is_ca
¶ [Required] Gets the is_ca of this Certificate. Indicates if the certificate is ca.
Returns: The is_ca of this Certificate. Return type: bool
-
is_self_signed
¶ [Required] Gets the is_self_signed of this Certificate. Indicates if the certificate is self signed.
Returns: The is_self_signed of this Certificate. Return type: bool
-
issuer
¶ [Required] Gets the issuer of this Certificate. The Certificate issuer.
Returns: The issuer of this Certificate. Return type: str
-
key
¶ [Required] Gets the key of this Certificate. The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
Returns: The key of this Certificate. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this Certificate. Possible certificate lifecycle states.
Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘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
-
md5_hash
¶ [Required] Gets the md5_hash of this Certificate. The Certificate md5Hash.
Returns: The md5_hash of this Certificate. Return type: str
-
public_key
¶ [Required] Gets the public_key of this Certificate. The Certificate public key.
Returns: The public_key of this Certificate. Return type: str
-
public_key_algorithm
¶ [Required] Gets the public_key_algorithm of this Certificate. The Certificate public key algorithm.
Returns: The public_key_algorithm of this Certificate. Return type: str
-
public_key_size
¶ [Required] Gets the public_key_size of this Certificate. The Certificate public key size.
Returns: The public_key_size of this Certificate. Return type: int
-
serial
¶ [Required] Gets the serial of this Certificate. The Certificate serial.
Returns: The serial of this Certificate. Return type: str
-
sha1_hash
¶ [Required] Gets the sha1_hash of this Certificate. The Certificate sha1 hash.
Returns: The sha1_hash of this Certificate. Return type: str
-
subject
¶ [Required] Gets the subject of this Certificate. The Certificate subject.
Returns: The subject of this Certificate. Return type: str
-
subject_key_id
¶ [Required] Gets the subject_key_id of this Certificate. The Certificate subject key id.
Returns: The subject_key_id of this Certificate. Return type: str
-
time_created
¶ [Required] Gets the time_created of this Certificate. The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
Returns: The time_created of this Certificate. Return type: datetime
-
time_valid_from
¶ [Required] Gets the time_valid_from of this Certificate. The time the certificate is valid from. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
Returns: The time_valid_from of this Certificate. Return type: datetime
-
time_valid_to
¶ [Required] Gets the time_valid_to of this Certificate. The time the certificate is valid to. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
Returns: The time_valid_to of this Certificate. Return type: datetime
-
version
¶ [Required] Gets the version of this Certificate. The Certificate version.
Returns: The version of this Certificate. Return type: str
-