Class NameConstraintsExtension
java.lang.Object
org.wildfly.security.x500.cert.X509CertificateExtension
org.wildfly.security.x500.cert.NameConstraintsExtension
- All Implemented Interfaces:
Extension, org.wildfly.security.asn1.ASN1Encodable
A name constraints extension as defined by RFC 5280 ยง 4.2.1.10.
- Author:
- David M. Lloyd
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA general subtree for a name constraint. -
Constructor Summary
ConstructorsConstructorDescriptionNameConstraintsExtension(List<NameConstraintsExtension.GeneralSubtree> permittedSubtrees, List<NameConstraintsExtension.GeneralSubtree> excludedSubtrees) Construct a new instance. -
Method Summary
Methods inherited from class X509CertificateExtension
encode, getValue, isCritical
-
Constructor Details
-
NameConstraintsExtension
public NameConstraintsExtension(List<NameConstraintsExtension.GeneralSubtree> permittedSubtrees, List<NameConstraintsExtension.GeneralSubtree> excludedSubtrees) Construct a new instance.- Parameters:
permittedSubtrees- the permitted subtrees list (must not benull, may be empty)excludedSubtrees- the excluded subtrees list (must not benull, may be empty)
-
-
Method Details
-
getId
Description copied from class:X509CertificateExtensionGet the OID of this extension.- Specified by:
getIdin interfaceExtension- Specified by:
getIdin classX509CertificateExtension- Returns:
- the OID of this extension (must not be
null)
-
encodeTo
public void encodeTo(org.wildfly.security.asn1.ASN1Encoder encoder)
-