gnu.crypto.pki

Class X509CRLImpl

public class X509CRLImpl extends X509CRL implements GnuPKIExtension

X.509 certificate revocation lists.

Author: Casey Marshall (rsdio@metastatic.org)

Constructor Summary
X509CRLImpl(InputStream encoded)
Create a new X.509 CRL.
Method Summary
booleanequals(Object o)
SetgetCriticalExtensionOIDs()
byte[]getEncoded()
ExtensiongetExtension(OID oid)
CollectiongetExtensions()
byte[]getExtensionValue(String oid)
PrincipalgetIssuerDN()
X500PrincipalgetIssuerX500Principal()
DategetNextUpdate()
SetgetNonCriticalExtensionOIDs()
X509CRLEntrygetRevokedCertificate(BigInteger serialNo)
SetgetRevokedCertificates()
StringgetSigAlgName()
StringgetSigAlgOID()
byte[]getSigAlgParams()
byte[]getSignature()
byte[]getTBSCertList()
DategetThisUpdate()
intgetVersion()
inthashCode()
booleanhasUnsupportedCriticalExtension()
booleanisRevoked(Certificate cert)
StringtoString()
voidverify(PublicKey key)
voidverify(PublicKey key, String provider)

Constructor Detail

X509CRLImpl

public X509CRLImpl(InputStream encoded)
Create a new X.509 CRL.

Parameters: encoded The DER encoded CRL.

Throws: CRLException If the input bytes are incorrect. IOException If the input 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)

getIssuerDN

public Principal getIssuerDN()

getIssuerX500Principal

public X500Principal getIssuerX500Principal()

getNextUpdate

public Date getNextUpdate()

getNonCriticalExtensionOIDs

public Set getNonCriticalExtensionOIDs()

getRevokedCertificate

public X509CRLEntry getRevokedCertificate(BigInteger serialNo)

getRevokedCertificates

public Set getRevokedCertificates()

getSigAlgName

public String getSigAlgName()

getSigAlgOID

public String getSigAlgOID()

getSigAlgParams

public byte[] getSigAlgParams()

getSignature

public byte[] getSignature()

getTBSCertList

public byte[] getTBSCertList()

getThisUpdate

public Date getThisUpdate()

getVersion

public int getVersion()

hashCode

public int hashCode()

hasUnsupportedCriticalExtension

public boolean hasUnsupportedCriticalExtension()

isRevoked

public boolean isRevoked(Certificate cert)

toString

public String toString()

verify

public void verify(PublicKey key)

verify

public void verify(PublicKey key, String provider)
Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.