public final class IssuerAndSerialNo
extends java.lang.Object
implements oracle.security.crypto.asn1.ASN1Object, java.io.Externalizable
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.| Constructor and Description |
|---|
IssuerAndSerialNo()
Creates a new empty instance.
|
IssuerAndSerialNo(java.io.InputStream is) |
IssuerAndSerialNo(X500Name issuer, java.math.BigInteger serialNo) |
IssuerAndSerialNo(X509 cert)
Creates a new
IssuerAndSerialNo by extracting the appropriate components from the given certificate. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
byte[] |
getEncoded() |
X500Name |
getIssuer() |
java.math.BigInteger |
getSerialNo() |
int |
hashCode() |
void |
input(java.io.InputStream is) |
int |
length() |
void |
output(java.io.OutputStream os) |
void |
readExternal(java.io.ObjectInput is) |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput os) |
public IssuerAndSerialNo()
public IssuerAndSerialNo(X500Name issuer, java.math.BigInteger serialNo)
public IssuerAndSerialNo(X509 cert)
IssuerAndSerialNo by extracting the appropriate components from the given certificate.
public IssuerAndSerialNo(java.io.InputStream is)
throws java.io.IOException
java.io.IOExceptionpublic X500Name getIssuer()
public java.math.BigInteger getSerialNo()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
public void input(java.io.InputStream is)
throws java.io.IOException
input in interface oracle.security.crypto.util.Streamablejava.io.IOExceptionpublic byte[] getEncoded()
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.Streamable
public void writeExternal(java.io.ObjectOutput os)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput is)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException