CreateCertificateIssuedByInternalCaConfigDetails

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

Bases: oci.certificates_management.models.create_certificate_config_details.CreateCertificateConfigDetails

The details of the configuration for creating an internally managed certificate which is issued by a private certificate authority (CA).

Attributes

CERTIFICATE_PROFILE_TYPE_TLS_CLIENT A constant which can be used with the certificate_profile_type property of a CreateCertificateIssuedByInternalCaConfigDetails.
CERTIFICATE_PROFILE_TYPE_TLS_CODE_SIGN A constant which can be used with the certificate_profile_type property of a CreateCertificateIssuedByInternalCaConfigDetails.
CERTIFICATE_PROFILE_TYPE_TLS_SERVER A constant which can be used with the certificate_profile_type property of a CreateCertificateIssuedByInternalCaConfigDetails.
CERTIFICATE_PROFILE_TYPE_TLS_SERVER_OR_CLIENT A constant which can be used with the certificate_profile_type property of a CreateCertificateIssuedByInternalCaConfigDetails.
CONFIG_TYPE_IMPORTED str(object=’’) -> str
CONFIG_TYPE_ISSUED_BY_INTERNAL_CA str(object=’’) -> str
CONFIG_TYPE_MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA str(object=’’) -> str
KEY_ALGORITHM_ECDSA_P256 A constant which can be used with the key_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
KEY_ALGORITHM_ECDSA_P384 A constant which can be used with the key_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
KEY_ALGORITHM_RSA2048 A constant which can be used with the key_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
KEY_ALGORITHM_RSA4096 A constant which can be used with the key_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
SIGNATURE_ALGORITHM_SHA256_WITH_ECDSA A constant which can be used with the signature_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
SIGNATURE_ALGORITHM_SHA256_WITH_RSA A constant which can be used with the signature_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
SIGNATURE_ALGORITHM_SHA384_WITH_ECDSA A constant which can be used with the signature_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
SIGNATURE_ALGORITHM_SHA384_WITH_RSA A constant which can be used with the signature_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
SIGNATURE_ALGORITHM_SHA512_WITH_ECDSA A constant which can be used with the signature_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
SIGNATURE_ALGORITHM_SHA512_WITH_RSA A constant which can be used with the signature_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
certificate_profile_type [Required] Gets the certificate_profile_type of this CreateCertificateIssuedByInternalCaConfigDetails.
config_type [Required] Gets the config_type of this CreateCertificateConfigDetails.
issuer_certificate_authority_id [Required] Gets the issuer_certificate_authority_id of this CreateCertificateIssuedByInternalCaConfigDetails.
key_algorithm Gets the key_algorithm of this CreateCertificateIssuedByInternalCaConfigDetails.
signature_algorithm Gets the signature_algorithm of this CreateCertificateIssuedByInternalCaConfigDetails.
subject [Required] Gets the subject of this CreateCertificateIssuedByInternalCaConfigDetails.
subject_alternative_names Gets the subject_alternative_names of this CreateCertificateIssuedByInternalCaConfigDetails.
validity Gets the validity of this CreateCertificateIssuedByInternalCaConfigDetails.
version_name Gets the version_name of this CreateCertificateConfigDetails.

Methods

__init__(**kwargs) Initializes a new CreateCertificateIssuedByInternalCaConfigDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
CERTIFICATE_PROFILE_TYPE_TLS_CLIENT = 'TLS_CLIENT'

A constant which can be used with the certificate_profile_type property of a CreateCertificateIssuedByInternalCaConfigDetails. 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 CreateCertificateIssuedByInternalCaConfigDetails. 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 CreateCertificateIssuedByInternalCaConfigDetails. 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 CreateCertificateIssuedByInternalCaConfigDetails. This constant has a value of “TLS_SERVER_OR_CLIENT”

CONFIG_TYPE_IMPORTED = 'IMPORTED'
CONFIG_TYPE_ISSUED_BY_INTERNAL_CA = 'ISSUED_BY_INTERNAL_CA'
CONFIG_TYPE_MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA = '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 CreateCertificateIssuedByInternalCaConfigDetails. 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 CreateCertificateIssuedByInternalCaConfigDetails. 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 CreateCertificateIssuedByInternalCaConfigDetails. This constant has a value of “RSA2048”

KEY_ALGORITHM_RSA4096 = 'RSA4096'

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

SIGNATURE_ALGORITHM_SHA256_WITH_ECDSA = 'SHA256_WITH_ECDSA'

A constant which can be used with the signature_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails. 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 CreateCertificateIssuedByInternalCaConfigDetails. 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 CreateCertificateIssuedByInternalCaConfigDetails. 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 CreateCertificateIssuedByInternalCaConfigDetails. 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 CreateCertificateIssuedByInternalCaConfigDetails. 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 CreateCertificateIssuedByInternalCaConfigDetails. This constant has a value of “SHA512_WITH_RSA”

__init__(**kwargs)

Initializes a new CreateCertificateIssuedByInternalCaConfigDetails object with values from keyword arguments. The default value of the config_type attribute of this class is ISSUED_BY_INTERNAL_CA and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • config_type (str) – The value to assign to the config_type property of this CreateCertificateIssuedByInternalCaConfigDetails. Allowed values for this property are: “ISSUED_BY_INTERNAL_CA”, “MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA”, “IMPORTED”
  • version_name (str) – The value to assign to the version_name property of this CreateCertificateIssuedByInternalCaConfigDetails.
  • certificate_profile_type (str) – The value to assign to the certificate_profile_type property of this CreateCertificateIssuedByInternalCaConfigDetails. Allowed values for this property are: “TLS_SERVER_OR_CLIENT”, “TLS_SERVER”, “TLS_CLIENT”, “TLS_CODE_SIGN”
  • issuer_certificate_authority_id (str) – The value to assign to the issuer_certificate_authority_id property of this CreateCertificateIssuedByInternalCaConfigDetails.
  • validity (oci.certificates_management.models.Validity) – The value to assign to the validity property of this CreateCertificateIssuedByInternalCaConfigDetails.
  • subject (oci.certificates_management.models.CertificateSubject) – The value to assign to the subject property of this CreateCertificateIssuedByInternalCaConfigDetails.
  • subject_alternative_names (list[oci.certificates_management.models.CertificateSubjectAlternativeName]) – The value to assign to the subject_alternative_names property of this CreateCertificateIssuedByInternalCaConfigDetails.
  • key_algorithm (str) – The value to assign to the key_algorithm property of this CreateCertificateIssuedByInternalCaConfigDetails. Allowed values for this property are: “RSA2048”, “RSA4096”, “ECDSA_P256”, “ECDSA_P384”
  • signature_algorithm (str) – The value to assign to the signature_algorithm property of this CreateCertificateIssuedByInternalCaConfigDetails. Allowed values for this property are: “SHA256_WITH_RSA”, “SHA384_WITH_RSA”, “SHA512_WITH_RSA”, “SHA256_WITH_ECDSA”, “SHA384_WITH_ECDSA”, “SHA512_WITH_ECDSA”
certificate_profile_type

[Required] Gets the certificate_profile_type of this CreateCertificateIssuedByInternalCaConfigDetails. 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”

Returns:The certificate_profile_type of this CreateCertificateIssuedByInternalCaConfigDetails.
Return type:str
config_type

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

Allowed values for this property are: “ISSUED_BY_INTERNAL_CA”, “MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA”, “IMPORTED”

Returns:The config_type of this CreateCertificateConfigDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

issuer_certificate_authority_id

[Required] Gets the issuer_certificate_authority_id of this CreateCertificateIssuedByInternalCaConfigDetails. The OCID of the private CA.

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

Gets the key_algorithm of this CreateCertificateIssuedByInternalCaConfigDetails. The algorithm to use to create key pairs.

Allowed values for this property are: “RSA2048”, “RSA4096”, “ECDSA_P256”, “ECDSA_P384”

Returns:The key_algorithm of this CreateCertificateIssuedByInternalCaConfigDetails.
Return type:str
signature_algorithm

Gets the signature_algorithm of this CreateCertificateIssuedByInternalCaConfigDetails. The algorithm to use 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”

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

[Required] Gets the subject of this CreateCertificateIssuedByInternalCaConfigDetails.

Returns:The subject of this CreateCertificateIssuedByInternalCaConfigDetails.
Return type:oci.certificates_management.models.CertificateSubject
subject_alternative_names

Gets the subject_alternative_names of this CreateCertificateIssuedByInternalCaConfigDetails. A list of subject alternative names.

Returns:The subject_alternative_names of this CreateCertificateIssuedByInternalCaConfigDetails.
Return type:list[oci.certificates_management.models.CertificateSubjectAlternativeName]
validity

Gets the validity of this CreateCertificateIssuedByInternalCaConfigDetails.

Returns:The validity of this CreateCertificateIssuedByInternalCaConfigDetails.
Return type:oci.certificates_management.models.Validity
version_name

Gets the version_name of this CreateCertificateConfigDetails. A name for the certificate. When the value is not null, a name is unique across versions of a given certificate.

Returns:The version_name of this CreateCertificateConfigDetails.
Return type:str