All Packages Class Hierarchy This Package Previous Next Index
Class iaik.x509.V3Extension
java.lang.Object
|
+----iaik.x509.V3Extension
- public abstract class V3Extension
- extends Object
This class is the basic implementation for X509 extensions.
Every class, which implements an extension must be derived from this class.
-
critical
-
-
V3Extension()
-
-
getName()
- Returns the name of the extension.
-
getObjectID()
- Returns the object ID of the extension.
-
hashCode()
- Returns the hash code of the extension.
-
init(ASN1Object)
- Inits the implementation with an ASN1Object.
-
isCritical()
- Returns true, if this extension is critical.
-
setCritical(boolean)
- Set the critical value of this extensions .
-
toASN1Object()
- Creates an ASN1Object, which is the value of the ASN.1 type "Extension".
critical
protected boolean critical
V3Extension
public V3Extension()
init
public abstract void init(ASN1Object obj) throws ExtensionException
- Inits the implementation with an ASN1Object.
The ASN1Object is the extensionValue from ASN.1 type "Extension".
- Parameters:
- obj - the extension value
- Throws: ExtensionException
- if the extension coould not parse the ASN1Object
toASN1Object
public abstract ASN1Object toASN1Object() throws ExtensionException
- Creates an ASN1Object, which is the value of the ASN.1 type "Extension".
- Returns:
- the value of the extension as ASN1Object
- Throws: ExtensionException
- if the extension could not be created
getObjectID
public abstract ObjectID getObjectID()
- Returns the object ID of the extension.
- Returns:
- the object ID from the extension this class implements
hashCode
public abstract int hashCode()
- Returns the hash code of the extension.
- Returns:
- a hash code for this extension
- Overrides:
- hashCode in class Object
getName
public String getName()
- Returns the name of the extension.
- Returns:
- the name of the extension
setCritical
public void setCritical(boolean critical)
- Set the critical value of this extensions .
- Parameters:
- critical - wether the extension is critical or not
isCritical
public boolean isCritical()
- Returns true, if this extension is critical.
- Returns:
- shows if the extension is critical or not
All Packages Class Hierarchy This Package Previous Next Index