|
For the latest news and information visit The GNU Crypto project |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.crypto.pki.ext.Extension
public class Extension
Nested Class Summary | |
---|---|
static class |
Extension.Value
|
Field Summary | |
---|---|
protected boolean |
critical
The criticality flag. |
protected byte[] |
encoded
The DER encoded form. |
protected boolean |
isSupported
Whether or not this extension is locally supported. |
protected OID |
oid
This extension's object identifier. |
protected Extension.Value |
value
The extension value. |
Constructor Summary | |
---|---|
Extension(byte[] encoded)
|
|
Extension(OID oid,
Extension.Value value,
boolean critical)
|
Method Summary | |
---|---|
DERValue |
getDerValue()
|
byte[] |
getEncoded()
|
OID |
getOid()
|
Extension.Value |
getValue()
|
boolean |
isCritical()
|
boolean |
isSupported()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final OID oid
protected final boolean critical
protected boolean isSupported
protected final Extension.Value value
protected byte[] encoded
Constructor Detail |
---|
public Extension(byte[] encoded) throws IOException
IOException
public Extension(OID oid, Extension.Value value, boolean critical)
Method Detail |
---|
public OID getOid()
public boolean isCritical()
public boolean isSupported()
public Extension.Value getValue()
public byte[] getEncoded()
public String toString()
toString
in class Object
public DERValue getDerValue()
|
For the latest news and information visit The GNU Crypto project |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |