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
 
 
- 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedX509CertificateExtension(boolean critical)Construct a new instance. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidencode(OutputStream out)abstract StringgetId()Get the OID of this extension.byte[]getValue()booleanisCritical()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:
 isCriticalin interfaceExtension- Returns:
 trueif the extension is critical,falseotherwise
 
- 
encode
public void encode(OutputStream out) throws IOException
- Specified by:
 encodein interfaceExtension- Throws:
 IOException
 
 - 
 
 -