gnu.crypto.pki

Class X509CRLEntryImpl

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
booleanequals(Object o)
SetgetCriticalExtensionOIDs()
byte[]getEncoded()
ExtensiongetExtension(OID oid)
CollectiongetExtensions()
byte[]getExtensionValue(String oid)
SetgetNonCriticalExtensionOIDs()
DategetRevocationDate()
BigIntegergetSerialNumber()
booleanhasExtensions()
inthashCode()
booleanhasUnsupportedCriticalExtension()
StringtoString()

Constructor Detail

X509CRLEntryImpl

X509CRLEntryImpl(int version, DERReader encoded)
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.

Throws: CRLException If the ASN.1 structure is invalid. IOException If the bytes cannot be read.

Method Detail

equals

public boolean equals(Object o)

getCriticalExtensionOIDs

public Set getCriticalExtensionOIDs()

getEncoded

public byte[] getEncoded()

getExtension

public Extension getExtension(OID oid)

getExtensions

public Collection getExtensions()

getExtensionValue

public byte[] getExtensionValue(String oid)

getNonCriticalExtensionOIDs

public Set getNonCriticalExtensionOIDs()

getRevocationDate

public Date getRevocationDate()

getSerialNumber

public BigInteger getSerialNumber()

hasExtensions

public boolean hasExtensions()

hashCode

public int hashCode()

hasUnsupportedCriticalExtension

public boolean hasUnsupportedCriticalExtension()

toString

public String toString()
Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.