Class InhibitAnyPolicyExtension
java.lang.Object
org.wildfly.security.x500.cert.X509CertificateExtension
org.wildfly.security.x500.cert.InhibitAnyPolicyExtension
- All Implemented Interfaces:
Extension, org.wildfly.security.asn1.ASN1Encodable
The "inhibit anyPolicy" certificate extension as defined by RFC 5280 ยง 4.2.1.14.
- Author:
- David M. Lloyd
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class X509CertificateExtension
encode, getValue, isCritical
-
Constructor Details
-
InhibitAnyPolicyExtension
public InhibitAnyPolicyExtension(int skipCerts) Construct a new instance.- Parameters:
skipCerts- the number of additional non-self-issued certificates that may appear in the path beforeanyPolicyis no longer permitted (must be >= 0)
-
-
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)
-