Oracle Security Developer Tools Security Engine Java API Reference
10g Release 2 (10.1.2.0.2)

B15569-01


oracle.security.crypto.cert
Class IssuerAndSerialNo

java.lang.Object
  extended byoracle.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.


Constructor Summary
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.

Method Summary
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)
java.lang.String toString()

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Constructor Detail

IssuerAndSerialNo

public IssuerAndSerialNo(X500Name issuer,
                         java.math.BigInteger serialNo)

IssuerAndSerialNo

public IssuerAndSerialNo(X509 cert)
Creates a new IssuerAndSerialNo by extracting the appropriate components from the given certificate.

IssuerAndSerialNo

public IssuerAndSerialNo(java.io.InputStream is)
                  throws java.io.IOException

Method Detail

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()

Oracle Security Developer Tools Security Engine Java API Reference
10g Release 2 (10.1.2.0.2)

B15569-01


Copyright © 2005 , Oracle. All rights reserved.