SerialNumber

This class defines the SerialNumber class used by certificates.

@author Amit Kapoor @author Hemma Prafullchandra

Constructors

this
this(BigInteger num)

The default constructor for this class using BigInteger.

this
this(int num)

The default constructor for this class using int.

this
this(DerInputStream stream)

Create the object, decoding the values from the passed DER stream.

this
this(DerValue val)

Create the object, decoding the values from the passed DerValue.

this
this(InputStream stream)

Create the object, decoding the values from the passed stream.

Members

Functions

encode
void encode(DerOutputStream stream)

Encode the SerialNumber in DER form to the stream.

getNumber
BigInteger getNumber()

Return the serial number.

toString
string toString()

Return the SerialNumber as user readable string.

Meta