oracle.security.crypto.cert
Class IssuerAndSerialNo
java.lang.Object
   oracle.security.crypto.cert.IssuerAndSerialNo
oracle.security.crypto.cert.IssuerAndSerialNo
- public final class IssuerAndSerialNo
- extends java.lang.Object
Holds a X509 certificate's issuer DN and serial number, which is a way of identifying a particular certificate that is common to several PKIX and PKCS protocols.
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
 
IssuerAndSerialNo
public IssuerAndSerialNo(X500Name issuer,
                         java.math.BigInteger serialNo)
IssuerAndSerialNo
public IssuerAndSerialNo(X509 cert)
- Creates a new IssuerAndSerialNoby extracting the appropriate components from the given certificate.
IssuerAndSerialNo
public IssuerAndSerialNo(java.io.InputStream is)
                  throws java.io.IOException
getIssuer
public X500Name getIssuer()
getSerialNo
public java.math.BigInteger getSerialNo()
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
toString
public java.lang.String toString()
input
public void input(java.io.InputStream is)
           throws java.io.IOException
- 
- Throws:
- java.io.IOException
 
getEncoded
public byte[] getEncoded()
output
public void output(java.io.OutputStream os)
            throws java.io.IOException
- 
- Throws:
- java.io.IOException
 
length
public int length()
 
 
Copyright © 2005 , Oracle. All rights reserved.