org.bouncycastle.ocsp
Class CertificateID
java.lang.Object
org.bouncycastle.ocsp.CertificateID
public class CertificateID
extends java.lang.Object
CertificateID(String hashAlgorithm, X509Certificate issuerCert, BigInteger number) - create using the BC provider
|
CertificateID(String hashAlgorithm, X509Certificate issuerCert, BigInteger number, String provider) - create from an issuer certificate and the serial number of the
certificate it signed.
|
CertificateID(CertID id)
|
HASH_SHA1
public static final String HASH_SHA1
CertificateID
public CertificateID(String hashAlgorithm,
X509Certificate issuerCert,
BigInteger number)
throws OCSPException
create using the BC provider
CertificateID
public CertificateID(String hashAlgorithm,
X509Certificate issuerCert,
BigInteger number,
String provider)
throws OCSPException
create from an issuer certificate and the serial number of the
certificate it signed.
CertificateID
public CertificateID(CertID id)
equals
public boolean equals(Object o)
getHashAlgOID
public String getHashAlgOID()
getIssuerKeyHash
public byte[] getIssuerKeyHash()
getIssuerNameHash
public byte[] getIssuerNameHash()
getSerialNumber
public BigInteger getSerialNumber()
return the serial number for the certificate associated
with this request.
hashCode
public int hashCode()
toASN1Object
public CertID toASN1Object()