Package eu.emi.security.authn.x509.proxy
Class CertificateExtension
- java.lang.Object
-
- eu.emi.security.authn.x509.proxy.OidAndValue<org.bouncycastle.asn1.ASN1Object>
-
- eu.emi.security.authn.x509.proxy.CertificateExtension
-
- All Implemented Interfaces:
java.lang.Cloneable
,org.bouncycastle.asn1.ASN1Encodable
public class CertificateExtension extends OidAndValue<org.bouncycastle.asn1.ASN1Object> implements org.bouncycastle.asn1.ASN1Encodable
Stores DER form of a certificate extension along with its OID and flag if the extension is critical.- Author:
- K. Benedyczak
-
-
Field Summary
-
Fields inherited from class eu.emi.security.authn.x509.proxy.OidAndValue
oid, value
-
-
Constructor Summary
Constructors Constructor Description CertificateExtension(byte[] encoded)
CertificateExtension(java.lang.String oid, org.bouncycastle.asn1.ASN1Object value, boolean critical)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCritical()
void
setCritical(boolean critical)
org.bouncycastle.asn1.ASN1Primitive
toASN1Primitive()
Extension ::= SEQUENCE { extnId EXTENSION.&id ({ExtensionSet}), critical BOOLEAN DEFAULT FALSE, extnValue OCTET STRING }
-
-
-
Method Detail
-
isCritical
public boolean isCritical()
-
setCritical
public void setCritical(boolean critical)
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
Extension ::= SEQUENCE { extnId EXTENSION.&id ({ExtensionSet}), critical BOOLEAN DEFAULT FALSE, extnValue OCTET STRING }
- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
-
-