NameConstraint

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

Bases: object

A constraint that specifies permitted and excluded namespaces for the hierarchical name forms in certificates that any CA in the certificate chain issues. You can define name constraints on a directory name, DNS address, or IP address. If you have a name constraint, you must define at least one permitted namespace or one excluded namespace.

Methods

__init__(**kwargs) Initializes a new NameConstraint object with values from keyword arguments.

Attributes

excluded_subtree Gets the excluded_subtree of this NameConstraint.
permitted_subtree Gets the permitted_subtree of this NameConstraint.
__init__(**kwargs)

Initializes a new NameConstraint object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
excluded_subtree

Gets the excluded_subtree of this NameConstraint. A list that contains excluded (or prohibited) namespaces. If you have a name constraint with no permitted namespaces, you must specify at least one excluded namespace.

Returns:The excluded_subtree of this NameConstraint.
Return type:list[oci.certificates_management.models.NameConstraintSubtreeNode]
permitted_subtree

Gets the permitted_subtree of this NameConstraint. A list that contains permitted namespaces. If you have a name constraint with no excluded namespaces, you must specify at least one permitted namespace.

Returns:The permitted_subtree of this NameConstraint.
Return type:list[oci.certificates_management.models.NameConstraintSubtreeNode]