|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--iaik.x509.V3Extension
|
+--iaik.x509.extensions.DeltaCRLIndicator
This class implements the DeltaCRLIndicator extension.
The DeltaCRLIndicator extension is a critical
standard X509v2 CRL extension.
Each extension is associated with a specific certificateExtension
object identifier, derived from:
certificateExtension OBJECT IDENTIFIER ::=
{joint-iso-ccitt(2) ds(5) 29}
id-ce OBJECT IDENTIFIER ::= certificateExtension
The object identifier for the DeltaCRLIndicator extension
is defined as:
id-ce-DeltaCRLIndicator OBJECT IDENTIFIER ::= { id-ce 27 }
which corresponds to the OID string "2.5.29.27".
The X.509 Certificate and CRL profile presented in RFC 2459 specifies the DeltaCRLIndicator extension for identifying delta CRLs. The value of BaseCRLNumber identifies the CRL number of the base CRL that was used as the starting point in the generation of this delta CRL. The delta-CRL contains the changes between the base CRL and the current CRL issued along with the delta-CRL.
ASN.1 definition:
deltaCRLIndicator ::= BaseCRLNumberBaseCRLNumber ::= CRLNumber
For adding a DeltaCRLIndicator extension object to a X509v2 certificate revocation
list, use the addExtension method of the iaik.x509.X509CRL class:
DeltaCRLIndicator dci = new DeltaCRLIndicator(BigInteger.valueOf(4234234)); X505CRL crl = new X509CRL(); ... crl.addExtension(dci);
V3Extension,
X509Extensions,
X509CRL| Field Summary | |
static ObjectID |
oid
The object identifier of this DeltaCRLIndicator extension. |
| Fields inherited from class iaik.x509.V3Extension |
critical |
| Constructor Summary | |
DeltaCRLIndicator()
Default constructor. |
|
DeltaCRLIndicator(BigInteger baseCRLNumber)
Creates a new DeltaCRLIndicator from a BigInteger base crl number.
|
|
| Method Summary | |
BigInteger |
getBaseCRLNumber()
Returns the base crl number as BigInteger. |
ObjectID |
getObjectID()
Returns the object ID of this DeltaCRLIndicator extension. |
int |
hashCode()
Returns a hashcode for this identity. |
void |
init(ASN1Object obj)
Inits this DeltaCRLIndicator implementation with an ASN1object
representing the value of this extension.
|
void |
setBaseCRLNumber(BigInteger baseCRLNumber)
Sets the base crl number. |
ASN1Object |
toASN1Object()
Returns an ASN1Object representing the value of this DeltaCRLIndicator
extension object.
|
String |
toString()
Returns a string that represents the contents of this DeltaCRLIndicator
extension. |
| Methods inherited from class iaik.x509.V3Extension |
getName, isCritical, setCritical |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final ObjectID oid
| Constructor Detail |
public DeltaCRLIndicator()
DeltaCRLIndicator object.
Use the setBaseCRLNumber method for explicitly
setting the base crl number.public DeltaCRLIndicator(BigInteger baseCRLNumber)
DeltaCRLIndicator from a BigInteger base crl number.
For instance:
DeltaCRLIndicator dci = new DeltaCRLIndicator(BigInteger.valueOf(4234234));
baseCRLNumber - the base crl number| Method Detail |
public ObjectID getObjectID()
DeltaCRLIndicator extension.getObjectID in class V3Extensionpublic void init(ASN1Object obj)
DeltaCRLIndicator implementation with an ASN1object
representing the value of this extension.
The given ASN1Object represents the BigInteger base crl number value.
The given ASN1Object is the one created by toASN1Object().
This method is used by the X509Extensions class when parsing the ASN.1 representation
of a CRL for properly initializing an included
DeltaCRLIndicator extension. This method initializes the
extension only with its value, but not with its critical
specification. For that reason, this method shall not be
explicitly called by an application.
init in class V3Extensionobj - the DeltaCRLIndicator as ASN1Objectpublic ASN1Object toASN1Object()
DeltaCRLIndicator
extension object.
The returned ASN1Object is an ASN.1 INTEGER representing the BigInteger base crl number value.
deltaCRLIndicator ::= BaseCRLNumber
BaseCRLNumber ::= CRLNumber
toASN1Object in class V3ExtensionDeltaCRLIndicator as ASN1Objectpublic BigInteger getBaseCRLNumber()
public void setBaseCRLNumber(BigInteger baseCRLNumber)
baseCRLNumber - the base crl numberpublic int hashCode()
hashCode in class V3Extensionpublic String toString()
DeltaCRLIndicator
extension.toString in class Object
|
This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note). | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK