CertificateSummary

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

Bases: object

The details of the certificate. This object does not contain the certificate contents.

Attributes

CERTIFICATE_PROFILE_TYPE_TLS_CLIENT A constant which can be used with the certificate_profile_type property of a CertificateSummary.
CERTIFICATE_PROFILE_TYPE_TLS_CODE_SIGN A constant which can be used with the certificate_profile_type property of a CertificateSummary.
CERTIFICATE_PROFILE_TYPE_TLS_SERVER A constant which can be used with the certificate_profile_type property of a CertificateSummary.
CERTIFICATE_PROFILE_TYPE_TLS_SERVER_OR_CLIENT A constant which can be used with the certificate_profile_type property of a CertificateSummary.
CONFIG_TYPE_IMPORTED A constant which can be used with the config_type property of a CertificateSummary.
CONFIG_TYPE_ISSUED_BY_INTERNAL_CA A constant which can be used with the config_type property of a CertificateSummary.
CONFIG_TYPE_MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA A constant which can be used with the config_type property of a CertificateSummary.
KEY_ALGORITHM_ECDSA_P256 A constant which can be used with the key_algorithm property of a CertificateSummary.
KEY_ALGORITHM_ECDSA_P384 A constant which can be used with the key_algorithm property of a CertificateSummary.
KEY_ALGORITHM_RSA2048 A constant which can be used with the key_algorithm property of a CertificateSummary.
KEY_ALGORITHM_RSA4096 A constant which can be used with the key_algorithm property of a CertificateSummary.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a CertificateSummary.
LIFECYCLE_STATE_CANCELLING_DELETION A constant which can be used with the lifecycle_state property of a CertificateSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a CertificateSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a CertificateSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a CertificateSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a CertificateSummary.
LIFECYCLE_STATE_PENDING_DELETION A constant which can be used with the lifecycle_state property of a CertificateSummary.
LIFECYCLE_STATE_SCHEDULING_DELETION A constant which can be used with the lifecycle_state property of a CertificateSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a CertificateSummary.
SIGNATURE_ALGORITHM_SHA256_WITH_ECDSA A constant which can be used with the signature_algorithm property of a CertificateSummary.
SIGNATURE_ALGORITHM_SHA256_WITH_RSA A constant which can be used with the signature_algorithm property of a CertificateSummary.
SIGNATURE_ALGORITHM_SHA384_WITH_ECDSA A constant which can be used with the signature_algorithm property of a CertificateSummary.
SIGNATURE_ALGORITHM_SHA384_WITH_RSA A constant which can be used with the signature_algorithm property of a CertificateSummary.
SIGNATURE_ALGORITHM_SHA512_WITH_ECDSA A constant which can be used with the signature_algorithm property of a CertificateSummary.
SIGNATURE_ALGORITHM_SHA512_WITH_RSA A constant which can be used with the signature_algorithm property of a CertificateSummary.
certificate_profile_type Gets the certificate_profile_type of this CertificateSummary.
certificate_rules Gets the certificate_rules of this CertificateSummary.
compartment_id [Required] Gets the compartment_id of this CertificateSummary.
config_type [Required] Gets the config_type of this CertificateSummary.
current_version_summary Gets the current_version_summary of this CertificateSummary.
defined_tags Gets the defined_tags of this CertificateSummary.
description Gets the description of this CertificateSummary.
freeform_tags Gets the freeform_tags of this CertificateSummary.
id [Required] Gets the id of this CertificateSummary.
issuer_certificate_authority_id Gets the issuer_certificate_authority_id of this CertificateSummary.
key_algorithm Gets the key_algorithm of this CertificateSummary.
lifecycle_state [Required] Gets the lifecycle_state of this CertificateSummary.
name [Required] Gets the name of this CertificateSummary.
signature_algorithm Gets the signature_algorithm of this CertificateSummary.
subject Gets the subject of this CertificateSummary.
time_created [Required] Gets the time_created of this CertificateSummary.
time_of_deletion Gets the time_of_deletion of this CertificateSummary.

Methods

__init__(**kwargs) Initializes a new CertificateSummary object with values from keyword arguments.
CERTIFICATE_PROFILE_TYPE_TLS_CLIENT = 'TLS_CLIENT'

A constant which can be used with the certificate_profile_type property of a CertificateSummary. This constant has a value of “TLS_CLIENT”

CERTIFICATE_PROFILE_TYPE_TLS_CODE_SIGN = 'TLS_CODE_SIGN'

A constant which can be used with the certificate_profile_type property of a CertificateSummary. This constant has a value of “TLS_CODE_SIGN”

CERTIFICATE_PROFILE_TYPE_TLS_SERVER = 'TLS_SERVER'

A constant which can be used with the certificate_profile_type property of a CertificateSummary. This constant has a value of “TLS_SERVER”

CERTIFICATE_PROFILE_TYPE_TLS_SERVER_OR_CLIENT = 'TLS_SERVER_OR_CLIENT'

A constant which can be used with the certificate_profile_type property of a CertificateSummary. This constant has a value of “TLS_SERVER_OR_CLIENT”

CONFIG_TYPE_IMPORTED = 'IMPORTED'

A constant which can be used with the config_type property of a CertificateSummary. This constant has a value of “IMPORTED”

CONFIG_TYPE_ISSUED_BY_INTERNAL_CA = 'ISSUED_BY_INTERNAL_CA'

A constant which can be used with the config_type property of a CertificateSummary. This constant has a value of “ISSUED_BY_INTERNAL_CA”

CONFIG_TYPE_MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA = 'MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA'

A constant which can be used with the config_type property of a CertificateSummary. This constant has a value of “MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA”

KEY_ALGORITHM_ECDSA_P256 = 'ECDSA_P256'

A constant which can be used with the key_algorithm property of a CertificateSummary. This constant has a value of “ECDSA_P256”

KEY_ALGORITHM_ECDSA_P384 = 'ECDSA_P384'

A constant which can be used with the key_algorithm property of a CertificateSummary. This constant has a value of “ECDSA_P384”

KEY_ALGORITHM_RSA2048 = 'RSA2048'

A constant which can be used with the key_algorithm property of a CertificateSummary. This constant has a value of “RSA2048”

KEY_ALGORITHM_RSA4096 = 'RSA4096'

A constant which can be used with the key_algorithm property of a CertificateSummary. This constant has a value of “RSA4096”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a CertificateSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CANCELLING_DELETION = 'CANCELLING_DELETION'

A constant which can be used with the lifecycle_state property of a CertificateSummary. This constant has a value of “CANCELLING_DELETION”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a CertificateSummary. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a CertificateSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a CertificateSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a CertificateSummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_PENDING_DELETION = 'PENDING_DELETION'

A constant which can be used with the lifecycle_state property of a CertificateSummary. This constant has a value of “PENDING_DELETION”

LIFECYCLE_STATE_SCHEDULING_DELETION = 'SCHEDULING_DELETION'

A constant which can be used with the lifecycle_state property of a CertificateSummary. This constant has a value of “SCHEDULING_DELETION”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a CertificateSummary. This constant has a value of “UPDATING”

SIGNATURE_ALGORITHM_SHA256_WITH_ECDSA = 'SHA256_WITH_ECDSA'

A constant which can be used with the signature_algorithm property of a CertificateSummary. This constant has a value of “SHA256_WITH_ECDSA”

SIGNATURE_ALGORITHM_SHA256_WITH_RSA = 'SHA256_WITH_RSA'

A constant which can be used with the signature_algorithm property of a CertificateSummary. This constant has a value of “SHA256_WITH_RSA”

SIGNATURE_ALGORITHM_SHA384_WITH_ECDSA = 'SHA384_WITH_ECDSA'

A constant which can be used with the signature_algorithm property of a CertificateSummary. This constant has a value of “SHA384_WITH_ECDSA”

SIGNATURE_ALGORITHM_SHA384_WITH_RSA = 'SHA384_WITH_RSA'

A constant which can be used with the signature_algorithm property of a CertificateSummary. This constant has a value of “SHA384_WITH_RSA”

SIGNATURE_ALGORITHM_SHA512_WITH_ECDSA = 'SHA512_WITH_ECDSA'

A constant which can be used with the signature_algorithm property of a CertificateSummary. This constant has a value of “SHA512_WITH_ECDSA”

SIGNATURE_ALGORITHM_SHA512_WITH_RSA = 'SHA512_WITH_RSA'

A constant which can be used with the signature_algorithm property of a CertificateSummary. This constant has a value of “SHA512_WITH_RSA”

__init__(**kwargs)

Initializes a new CertificateSummary 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 CertificateSummary.
  • issuer_certificate_authority_id (str) – The value to assign to the issuer_certificate_authority_id property of this CertificateSummary.
  • name (str) – The value to assign to the name property of this CertificateSummary.
  • description (str) – The value to assign to the description property of this CertificateSummary.
  • time_created (datetime) – The value to assign to the time_created property of this CertificateSummary.
  • time_of_deletion (datetime) – The value to assign to the time_of_deletion property of this CertificateSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this CertificateSummary. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “SCHEDULING_DELETION”, “PENDING_DELETION”, “CANCELLING_DELETION”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • compartment_id (str) – The value to assign to the compartment_id property of this CertificateSummary.
  • certificate_rules (list[oci.certificates_management.models.CertificateRule]) – The value to assign to the certificate_rules property of this CertificateSummary.
  • current_version_summary (oci.certificates_management.models.CertificateVersionSummary) – The value to assign to the current_version_summary property of this CertificateSummary.
  • subject (oci.certificates_management.models.CertificateSubject) – The value to assign to the subject property of this CertificateSummary.
  • config_type (str) – The value to assign to the config_type property of this CertificateSummary. Allowed values for this property are: “ISSUED_BY_INTERNAL_CA”, “MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA”, “IMPORTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • key_algorithm (str) – The value to assign to the key_algorithm property of this CertificateSummary. Allowed values for this property are: “RSA2048”, “RSA4096”, “ECDSA_P256”, “ECDSA_P384”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • signature_algorithm (str) – The value to assign to the signature_algorithm property of this CertificateSummary. Allowed values for this property are: “SHA256_WITH_RSA”, “SHA384_WITH_RSA”, “SHA512_WITH_RSA”, “SHA256_WITH_ECDSA”, “SHA384_WITH_ECDSA”, “SHA512_WITH_ECDSA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • certificate_profile_type (str) – The value to assign to the certificate_profile_type property of this CertificateSummary. Allowed values for this property are: “TLS_SERVER_OR_CLIENT”, “TLS_SERVER”, “TLS_CLIENT”, “TLS_CODE_SIGN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CertificateSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CertificateSummary.
certificate_profile_type

Gets the certificate_profile_type of this CertificateSummary. The name of the profile used to create the certificate, which depends on the type of certificate you need.

Allowed values for this property are: “TLS_SERVER_OR_CLIENT”, “TLS_SERVER”, “TLS_CLIENT”, “TLS_CODE_SIGN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The certificate_profile_type of this CertificateSummary.
Return type:str
certificate_rules

Gets the certificate_rules of this CertificateSummary. An optional list of rules that control how the certificate is used and managed.

Returns:The certificate_rules of this CertificateSummary.
Return type:list[oci.certificates_management.models.CertificateRule]
compartment_id

[Required] Gets the compartment_id of this CertificateSummary. The OCID of the compartment that contains the certificate.

Returns:The compartment_id of this CertificateSummary.
Return type:str
config_type

[Required] Gets the config_type of this CertificateSummary. The origin of the certificate.

Allowed values for this property are: “ISSUED_BY_INTERNAL_CA”, “MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA”, “IMPORTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The config_type of this CertificateSummary.
Return type:str
current_version_summary

Gets the current_version_summary of this CertificateSummary.

Returns:The current_version_summary of this CertificateSummary.
Return type:oci.certificates_management.models.CertificateVersionSummary
defined_tags

Gets the defined_tags of this CertificateSummary. 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 CertificateSummary.
Return type:dict(str, dict(str, object))
description

Gets the description of this CertificateSummary. A brief description of the certificate.

Returns:The description of this CertificateSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this CertificateSummary. 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 CertificateSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this CertificateSummary. The OCID of the certificate.

Returns:The id of this CertificateSummary.
Return type:str
issuer_certificate_authority_id

Gets the issuer_certificate_authority_id of this CertificateSummary. The OCID of the certificate authority (CA) that issued the certificate.

Returns:The issuer_certificate_authority_id of this CertificateSummary.
Return type:str
key_algorithm

Gets the key_algorithm of this CertificateSummary. The algorithm used to create key pairs.

Allowed values for this property are: “RSA2048”, “RSA4096”, “ECDSA_P256”, “ECDSA_P384”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The key_algorithm of this CertificateSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this CertificateSummary. The current lifecycle state of the certificate.

Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “SCHEDULING_DELETION”, “PENDING_DELETION”, “CANCELLING_DELETION”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this CertificateSummary.
Return type:str
name

[Required] Gets the name of this CertificateSummary. A user-friendly name for the certificate. Names are unique within a compartment. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.

Returns:The name of this CertificateSummary.
Return type:str
signature_algorithm

Gets the signature_algorithm of this CertificateSummary. The algorithm used to sign the public key certificate.

Allowed values for this property are: “SHA256_WITH_RSA”, “SHA384_WITH_RSA”, “SHA512_WITH_RSA”, “SHA256_WITH_ECDSA”, “SHA384_WITH_ECDSA”, “SHA512_WITH_ECDSA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The signature_algorithm of this CertificateSummary.
Return type:str
subject

Gets the subject of this CertificateSummary.

Returns:The subject of this CertificateSummary.
Return type:oci.certificates_management.models.CertificateSubject
time_created

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

Returns:The time_created of this CertificateSummary.
Return type:datetime
time_of_deletion

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

Returns:The time_of_deletion of this CertificateSummary.
Return type:datetime