|
Oracle Security Developer Tools PKI SDK OCSP Java API Reference 10g Release 2 (10.1.2.0.2) B15562-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.ocsp.CertID
Represents the certID of a certificate in OCSP.
Constructor Summary | |
CertID(java.io.InputStream is) |
|
CertID(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert) Creates a new CertID for the specified certificate having the specified issuing CA certificate, using the default hash algorithm (SHA1). |
|
CertID(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert, AlgorithmIdentifier hashAlgID) Creates a new CertID for the specified certificate having the specified issuing CA certificate, using the given hash algorithm. |
Method Summary | |
boolean |
compareTo(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert) Compare this object with the CertID object created from the two given certificates. |
boolean |
compareTo(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert, AlgorithmIdentifier hashAlgID) Compare this object with the CertID object created from the two given certificates, using the given algorithm to compute the digest. |
boolean |
equals(java.lang.Object o) Compares this CertID object to the given object. |
AlgorithmIdentifier |
getHashAlgID() Gets the AlgorithmIdentifier used to hash the name and the public key of the CA. |
byte[] |
getIssuerKeyHash() Returns the hash of the issuer's public key. |
byte[] |
getIssuerNameHash() Returns the hash of the issuer's name. |
java.math.BigInteger |
getSerialNo() Returns the serial number of the of the certificate represented by this certID object. |
int |
hashCode() |
void |
input(java.io.InputStream is) |
int |
length() |
void |
output(java.io.OutputStream os) Output to the specified output stream. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CertID(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert) throws AlgorithmIdentifierException, java.io.IOException
CertID
for the specified certificate having the specified issuing CA certificate, using the default hash algorithm (SHA1).public CertID(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert, AlgorithmIdentifier hashAlgID) throws AlgorithmIdentifierException, java.io.IOException
CertID
for the specified certificate having the specified issuing CA certificate, using the given hash algorithm.public CertID(java.io.InputStream is) throws java.io.IOException
Method Detail |
public AlgorithmIdentifier getHashAlgID()
public byte[] getIssuerNameHash()
public byte[] getIssuerKeyHash()
public java.math.BigInteger getSerialNo()
public boolean compareTo(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert) throws AlgorithmIdentifierException, java.io.IOException
cert
- A X509 certificate.caCert
- The issuer's certificate.AlgorithmIdentifierException
java.io.IOException
public boolean compareTo(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert, AlgorithmIdentifier hashAlgID) throws AlgorithmIdentifierException, java.io.IOException
cert
- A X509 certificate.caCert
- The issuer's certificate.hashAlgID
- The AlgorithmIdentifier to use to compute the digests.AlgorithmIdentifierException
java.io.IOException
public boolean equals(java.lang.Object o)
public int hashCode()
public void input(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public void output(java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public int length()
public java.lang.String toString()
|
Oracle Security Developer Tools PKI SDK OCSP Java API Reference 10g Release 2 (10.1.2.0.2) B15562-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |