|
Oracle Security Developer Tools PKI SDK OCSP Java API Reference 10g Release 3 (10.1.3) B25375-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, oracle.security.crypto.core.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, oracle.security.crypto.core.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. |
oracle.security.crypto.core.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 oracle.security.crypto.core.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,
oracle.security.crypto.core.AlgorithmIdentifier hashAlgID)
throws oracle.security.crypto.core.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 oracle.security.crypto.core.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 oracle.security.crypto.core.AlgorithmIdentifierException,
java.io.IOException
cert - A X509 certificate.caCert - The issuer's certificate.oracle.security.crypto.core.AlgorithmIdentifierExceptionjava.io.IOException
public boolean compareTo(oracle.security.crypto.cert.X509 cert,
oracle.security.crypto.cert.X509 caCert,
oracle.security.crypto.core.AlgorithmIdentifier hashAlgID)
throws oracle.security.crypto.core.AlgorithmIdentifierException,
java.io.IOException
cert - A X509 certificate.caCert - The issuer's certificate.hashAlgID - The AlgorithmIdentifier to use to compute the digests.oracle.security.crypto.core.AlgorithmIdentifierExceptionjava.io.IOExceptionpublic boolean equals(java.lang.Object o)
public int hashCode()
public void input(java.io.InputStream is)
throws java.io.IOException
input in interface oracle.security.crypto.util.Streamablejava.io.IOException
public void output(java.io.OutputStream os)
throws java.io.IOException
output in interface oracle.security.crypto.util.Streamablejava.io.IOExceptionpublic int length()
length in interface oracle.security.crypto.util.Streamablepublic java.lang.String toString()
|
Oracle Security Developer Tools PKI SDK OCSP Java API Reference 10g Release 3 (10.1.3) B25375-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||