For the latest news and information visit
The GNU Crypto project

gnu.crypto.pki.ext
Class Extension

java.lang.Object
  extended bygnu.crypto.pki.ext.Extension

public class Extension
extends Object


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

oid

protected final OID oid
This extension's object identifier.


critical

protected final boolean critical
The criticality flag.


isSupported

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


value

protected final Extension.Value value
The extension value.


encoded

protected byte[] encoded
The DER encoded form.

Constructor Detail

Extension

public Extension(byte[] encoded)
          throws IOException

Extension

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

getOid

public OID getOid()

isCritical

public boolean isCritical()

isSupported

public boolean isSupported()

getValue

public Extension.Value getValue()

getEncoded

public byte[] getEncoded()

toString

public String toString()

getDerValue

public DERValue getDerValue()

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.