gnu.crypto.pki

Class X509CRLEntryImpl

Implemented Interfaces:
GnuPKIExtension, X509Extension

(package private) class X509CRLEntryImpl
extends X509CRLEntry
implements GnuPKIExtension

A single entry in a X.509 certificate revocation list.
Author:
Casey Marshall
See Also:
X509CRL

Constructor Summary

X509CRLEntryImpl(int version, DERReader encoded)
Create a new X.509 certificate revocation list entry from the given input stream and CRL version number.

Method Summary

boolean
equals(Object o)
Set
getCriticalExtensionOIDs()
byte[]
getEncoded()
Extension
getExtension(OID oid)
Returns the extension object for the given object identifier.
byte[]
getExtensionValue(String oid)
Collection
getExtensions()
Set
getNonCriticalExtensionOIDs()
Date
getRevocationDate()
BigInteger
getSerialNumber()
boolean
hasExtensions()
boolean
hasUnsupportedCriticalExtension()
int
hashCode()
String
toString()

Constructor Details

X509CRLEntryImpl

(package private)  X509CRLEntryImpl(int version,
                                    DERReader encoded)
            throws CRLException,
                   IOException
Create a new X.509 certificate revocation list entry from the given input stream and CRL version number.
Parameters:
version - The CRL version.
encoded - The stream of DER bytes.

Method Details

equals

public boolean equals(Object o)

getCriticalExtensionOIDs

public Set getCriticalExtensionOIDs()

getEncoded

public byte[] getEncoded()
            throws CRLException

getExtension

public Extension getExtension(OID oid)
Returns the extension object for the given object identifier.
Specified by:
getExtension in interface GnuPKIExtension
Parameters:
oid - The OID of the extension to get.
Returns:
The extension, or null if there is no such extension.

getExtensionValue

public byte[] getExtensionValue(String oid)

getExtensions

public Collection getExtensions()
Specified by:
getExtensions in interface GnuPKIExtension

getNonCriticalExtensionOIDs

public Set getNonCriticalExtensionOIDs()

getRevocationDate

public Date getRevocationDate()

getSerialNumber

public BigInteger getSerialNumber()

hasExtensions

public boolean hasExtensions()

hasUnsupportedCriticalExtension

public boolean hasUnsupportedCriticalExtension()

hashCode

public int hashCode()

toString

public String toString()

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