|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.security12.sun.security.x509.SerialNumber
This class defines the SerialNumber class used by certificates.
| Constructor Summary | |
SerialNumber(java.math.BigInteger num)
The default constructor for this class using BigInteger. |
|
SerialNumber(DerInputStream in)
Create the object, decoding the values from the passed DER stream. |
|
SerialNumber(DerValue val)
Create the object, decoding the values from the passed DerValue. |
|
SerialNumber(InputStream in)
Create the object, decoding the values from the passed stream. |
|
SerialNumber(int num)
The default constructor for this class using int. |
|
| Method Summary | |
void |
encode(DerOutputStream out)
Encode the SerialNumber in DER form to the stream. |
BigInt |
getNumber()
Return the serial number. |
String |
toString()
Return the SerialNumber as user readable string. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public SerialNumber(java.math.BigInteger num)
num - the BigInteger number used to create the serial number.public SerialNumber(int num)
num - the BigInteger number used to create the serial number.
public SerialNumber(DerInputStream in)
throws IOException
in - the DerInputStream to read the SerialNumber from.
public SerialNumber(DerValue val)
throws IOException
val - the DerValue to read the SerialNumber from.
public SerialNumber(InputStream in)
throws IOException
in - the InputStream to read the SerialNumber from.| Method Detail |
public String toString()
public void encode(DerOutputStream out)
throws IOException
out - the DerOutputStream to marshal the contents to.public BigInt getNumber()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||