CertificateAuthorityRule

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

Bases: object

A rule that you can apply to a certificate authority (CA) to enforce certain conditions on its usage and management.

Attributes

RULE_TYPE_CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE A constant which can be used with the rule_type property of a CertificateAuthorityRule.
rule_type [Required] Gets the rule_type of this CertificateAuthorityRule.

Methods

__init__(**kwargs) Initializes a new CertificateAuthorityRule 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.
RULE_TYPE_CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE = 'CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE'

A constant which can be used with the rule_type property of a CertificateAuthorityRule. This constant has a value of “CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE”

__init__(**kwargs)

Initializes a new CertificateAuthorityRule object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:rule_type (str) – The value to assign to the rule_type property of this CertificateAuthorityRule. Allowed values for this property are: “CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
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.

rule_type

[Required] Gets the rule_type of this CertificateAuthorityRule. The type of rule, whether a renewal rule regarding when to renew the CA or an issuance expiry rule that governs how long the certificates and CAs issued by the CA are valid. (For internal use only) An internal issuance rule defines the number and type of certificates that the CA can issue.

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

Returns:The rule_type of this CertificateAuthorityRule.
Return type:str