Package org.wildfly.security.x500.cert
Class X509CertificateExtension
- java.lang.Object
-
- org.wildfly.security.x500.cert.X509CertificateExtension
-
- All Implemented Interfaces:
Extension
,ASN1Encodable
- Direct Known Subclasses:
AuthorityInformationAccessExtension
,AuthorityKeyIdentifierExtension
,BasicConstraintsExtension
,CertificatePoliciesExtension
,CRLDistributionPointsExtension
,ExtendedKeyUsageExtension
,FreshestCRLExtension
,InhibitAnyPolicyExtension
,IssuerAlternativeNamesExtension
,KeyUsageExtension
,NameConstraintsExtension
,PolicyConstraintsExtension
,PolicyMappingsExtension
,SubjectAlternativeNamesExtension
,SubjectDirectoryAttributesExtension
,SubjectInformationAccessExtension
,SubjectKeyIdentifierExtension
public abstract class X509CertificateExtension extends Object implements ASN1Encodable, Extension
An X.509 certificate extension.- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
critical
-
Constructor Summary
Constructors Modifier Constructor Description protected
X509CertificateExtension(boolean critical)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
encode(OutputStream out)
abstract String
getId()
Get the OID of this extension.byte[]
getValue()
boolean
isCritical()
Determine whether this object represents a critical extension (as defined by RFC 5280).-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.security.asn1.ASN1Encodable
encodeTo
-
-
-
-
Method Detail
-
getId
public abstract String getId()
Get the OID of this extension.
-
isCritical
public final boolean isCritical()
Determine whether this object represents a critical extension (as defined by RFC 5280).- Specified by:
isCritical
in interfaceExtension
- Returns:
true
if the extension is critical,false
otherwise
-
encode
public void encode(OutputStream out) throws IOException
- Specified by:
encode
in interfaceExtension
- Throws:
IOException
-
-