
public final class NameConstraintsExtension extends X509CertificateExtension
| Modifier and Type | Class and Description |
|---|---|
static class |
NameConstraintsExtension.GeneralSubtree
A general subtree for a name constraint.
|
| Constructor and Description |
|---|
NameConstraintsExtension(List<NameConstraintsExtension.GeneralSubtree> permittedSubtrees,
List<NameConstraintsExtension.GeneralSubtree> excludedSubtrees)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
encodeTo(ASN1Encoder encoder)
Encode this object.
|
String |
getId()
Get the OID of this extension.
|
encode, getValue, isCriticalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofBMPString, ofEncodedBytes, ofIA5String, ofInteger, ofInteger, ofOid, ofPrintableString, ofUniversalString, ofUtf8Stringpublic NameConstraintsExtension(List<NameConstraintsExtension.GeneralSubtree> permittedSubtrees, List<NameConstraintsExtension.GeneralSubtree> excludedSubtrees)
permittedSubtrees - the permitted subtrees list (must not be null, may be empty)excludedSubtrees - the excluded subtrees list (must not be null, may be empty)public String getId()
X509CertificateExtensiongetId in interface ExtensiongetId in class X509CertificateExtensionnull)public void encodeTo(ASN1Encoder encoder)
ASN1Encodableencoder - the encoder (must not be null)Copyright © 2020 JBoss by Red Hat. All rights reserved.