All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iaik.x509.extensions.CRLNumber

java.lang.Object
   |
   +----iaik.x509.V3Extension
           |
           +----iaik.x509.extensions.CRLNumber

public class CRLNumber
extends V3Extension
This class implements the CRLNumber Extension. The CRL number is a non-critical CRL extension which conveys a monotonically increacing sequence number for each CRL issued by a given CA through a specific CA X.500 Directory entry or CRL distribution point. This extension allows users to easily determine when a particular CRL supercedes another CRL.


Constructor Index

 o CRLNumber()
Default constructor.

Method Index

 o getCRLNumber()
Returns the CRL number.
 o getObjectID()
Returns the object ID of this extension
 o hashCode()
Returns a hashcode for this identity.
 o init(ASN1Object)
Inits this implementation of an extension with an ASN1Object.
 o setCRLNumber(int)
Sets the CRL number.
 o toASN1Object()
Returns the value of this extension as ASN1Object.
 o toString()
Returns a string that represents the contents of the extensions.

Constructors

 o CRLNumber
 public CRLNumber()
Default constructor. Creates an empty object.

Methods

 o getObjectID
 public ObjectID getObjectID()
Returns the object ID of this extension

Returns:
the object ID
Overrides:
getObjectID in class V3Extension
 o init
 public void init(ASN1Object obj) throws ExtensionException
Inits this implementation of an extension with an ASN1Object. The ASN1Object is the extensionValue from ASN.1 type "Extension". The ASN1Object is the one created by toASN1Object().

Parameters:
obj - the extensionValue as ASN1Object
Throws: ExtensionException
if the extension could not be parsed
Overrides:
init in class V3Extension
See Also:
toASN1Object
 o toASN1Object
 public ASN1Object toASN1Object() throws ExtensionException
Returns the value of this extension as ASN1Object. The ASN1Object is the extensionValue from ASN.1 type "Extension". The created ASN1Object is same, which is the parameter to method init.

Returns:
the value of the extension as ASN1Object
Throws: ExtensionException
if the extension could not be created
Overrides:
toASN1Object in class V3Extension
See Also:
init
 o setCRLNumber
 public void setCRLNumber(int number)
Sets the CRL number.

Parameters:
number - the CRL number
 o getCRLNumber
 public int getCRLNumber()
Returns the CRL number.

Returns:
the CRL number
 o hashCode
 public int hashCode()
Returns a hashcode for this identity.

Returns:
a hash code for this identity
Overrides:
hashCode in class V3Extension
 o toString
 public String toString()
Returns a string that represents the contents of the extensions.

Returns:
the string representation
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index