| java.lang.Object sun.security.x509.SerialNumber
SerialNumber | public class SerialNumber (Code) | | This class defines the SerialNumber class used by certificates.
author: Amit Kapoor author: Hemma Prafullchandra version: 1.9 |
SerialNumber | public SerialNumber(BigInteger num)(Code) | | The default constructor for this class using BigInteger.
Parameters: num - the BigInteger number used to create the serial number. |
SerialNumber | public SerialNumber(int num)(Code) | | The default constructor for this class using int.
Parameters: num - the BigInteger number used to create the serial number. |
SerialNumber | public SerialNumber(DerInputStream in) throws IOException(Code) | | Create the object, decoding the values from the passed DER stream.
Parameters: in - the DerInputStream to read the SerialNumber from. exception: IOException - on decoding errors. |
SerialNumber | public SerialNumber(DerValue val) throws IOException(Code) | | Create the object, decoding the values from the passed DerValue.
Parameters: val - the DerValue to read the SerialNumber from. exception: IOException - on decoding errors. |
SerialNumber | public SerialNumber(InputStream in) throws IOException(Code) | | Create the object, decoding the values from the passed stream.
Parameters: in - the InputStream to read the SerialNumber from. exception: IOException - on decoding errors. |
encode | public void encode(DerOutputStream out) throws IOException(Code) | | Encode the SerialNumber in DER form to the stream.
Parameters: out - the DerOutputStream to marshal the contents to. exception: IOException - on errors. |
toString | public String toString()(Code) | | Return the SerialNumber as user readable string.
|
|
|