gnu.crypto.pki.ext

Class Extension

public class Extension extends Object

Nested Class Summary
static classExtension.Value
Field Summary
protected booleancritical
The criticality flag.
protected byte[]encoded
The DER encoded form.
protected booleanisSupported
Whether or not this extension is locally supported.
protected OIDoid
This extension's object identifier.
protected Extension.Valuevalue
The extension value.
Constructor Summary
Extension(byte[] encoded)
Extension(OID oid, Extension.Value value, boolean critical)
Method Summary
DERValuegetDerValue()
byte[]getEncoded()
OIDgetOid()
Extension.ValuegetValue()
booleanisCritical()
booleanisSupported()
StringtoString()

Field Detail

critical

protected final boolean critical
The criticality flag.

encoded

protected byte[] encoded
The DER encoded form.

isSupported

protected boolean isSupported
Whether or not this extension is locally supported.

oid

protected final OID oid
This extension's object identifier.

value

protected final Extension.Value value
The extension value.

Constructor Detail

Extension

public Extension(byte[] encoded)

Extension

public Extension(OID oid, Extension.Value value, boolean critical)

Method Detail

getDerValue

public DERValue getDerValue()

getEncoded

public byte[] getEncoded()

getOid

public OID getOid()

getValue

public Extension.Value getValue()

isCritical

public boolean isCritical()

isSupported

public boolean isSupported()

toString

public String toString()
Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.