NameConstraint¶
- class oci.certificates_management.models.NameConstraint(**kwargs)¶
Bases:
objectA 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:
Gets the excluded_subtree of this NameConstraint.
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
permitted_subtree (list[oci.certificates_management.models.NameConstraintSubtreeNode]) – The value to assign to the permitted_subtree property of this NameConstraint.
excluded_subtree (list[oci.certificates_management.models.NameConstraintSubtreeNode]) – The value to assign to the excluded_subtree property of this NameConstraint.
- property 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]
- property 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]