|
Oracle Security Developer Tools CMS Java API Reference 10g Release 2 (10.1.2.0.2) B15564-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.security.crypto.cms.ESSCertID
Represents the ESSCertID of a certificate which is used in the Signing Certificate Attribute.
| Constructor Summary | |
ESSCertID(java.io.InputStream is)Creates a new ESSCertID by reading from the input stream. |
|
ESSCertID(oracle.security.crypto.cert.X509 cert)Creates a new ESSCertID for the specified certificate. |
|
ESSCertID(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert, boolean issuerSerial)Creates a new ESSCertID for the specified certificate. |
|
| Method Summary | |
boolean |
compareTo(oracle.security.crypto.cert.X509 cert)Compare this object with the ESSCertID object created from the given certificate. |
boolean |
compareTo(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert)Compare this object with the ESSCertID object created from the two given certificates. |
boolean |
containsIssuerSerial()Indicates if the IssuerSerial is present. |
boolean |
equals(java.lang.Object o)Compares this ESSCertID object to the given object. |
byte[] |
getCertHash()Returns the hash of the certificate represented by this ESSCertID object. |
oracle.security.crypto.cert.GeneralNames |
getGeneralNames()Returns the list of the General Names of the issuer of the certificate represented by this ESSCertID object. |
java.math.BigInteger |
getSerialNo()Returns the serial number of the of the certificate represented by this ESSCertID object. |
int |
hashCode()Returns the hash code of this object. |
void |
input(java.io.InputStream is)Initialize this object by reading the ESSCertID encoding from the specified input stream. |
int |
length()Returns the length of this object's encoding. |
void |
output(java.io.OutputStream os)Output this object's encoding to the specified output stream. |
java.lang.String |
toString()Returns information about this object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ESSCertID(oracle.security.crypto.cert.X509 cert)
throws AlgorithmIdentifierException
ESSCertID for the specified certificate.cert - The X509 certificate.
public ESSCertID(oracle.security.crypto.cert.X509 cert,
oracle.security.crypto.cert.X509 caCert,
boolean issuerSerial)
throws AlgorithmIdentifierException
ESSCertID for the specified certificate.cert - The X509 certificate.caCert - The issuer's X509 certificate.issuerSerial - If true, the issuerSerial of the certificate is added.
public ESSCertID(java.io.InputStream is)
throws java.io.IOException
ESSCertID by reading from the input stream.is - The input stream.| Method Detail |
public byte[] getCertHash()
public oracle.security.crypto.cert.GeneralNames getGeneralNames()
GeneralName objects if present or null otherwise.public java.math.BigInteger getSerialNo()
null otherwise.
public boolean compareTo(oracle.security.crypto.cert.X509 cert)
throws AlgorithmIdentifierException
cert - A X509 certificate.true if this object was made from the specified certificate; false otherwise.AlgorithmIdentifierException - An error occurred during certificate hash generation.
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.true if this object was made from these two certificates; false otherwise.AlgorithmIdentifierExceptionjava.io.IOExceptionpublic boolean containsIssuerSerial()
true if the IssuerSerial is present;false otherwise.public boolean equals(java.lang.Object o)
true if the objects are the same, false otherwise.public int hashCode()
public void input(java.io.InputStream is)
throws java.io.IOException
is - The input stream.java.io.IOException
public void output(java.io.OutputStream os)
throws java.io.IOException
os - The output stream.java.io.IOExceptionpublic int length()
public java.lang.String toString()
|
Oracle Security Developer Tools CMS Java API Reference 10g Release 2 (10.1.2.0.2) B15564-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||