public final class PolicyConstraintsExtension extends X509CertificateExtension
Constructor and Description |
---|
PolicyConstraintsExtension(int requireExplicitPolicy,
int inhibitPolicyMapping)
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, isCritical
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ofBMPString, ofEncodedBytes, ofIA5String, ofInteger, ofInteger, ofOid, ofPrintableString, ofUniversalString, ofUtf8String
public PolicyConstraintsExtension(int requireExplicitPolicy, int inhibitPolicyMapping)
requireExplicitPolicy
- the number of additional certificates that may appear in the path before an explicit policy is required for the entire path (-1 to indicate that no such policy exists)inhibitPolicyMapping
- the number of additional certificates that may appear in the path before the policy mapping is no longer permitted (-1 to indicate that no such policy exists)public String getId()
X509CertificateExtension
getId
in interface Extension
getId
in class X509CertificateExtension
null
)public void encodeTo(ASN1Encoder encoder)
ASN1Encodable
encoder
- the encoder (must not be null
)Copyright © 2020 JBoss by Red Hat. All rights reserved.