java.lang.Object | |
↳ | sun.security.x509.SerialNumber |
This class defines the SerialNumber class used by certificates.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The default constructor for this class using BigInteger.
| |||||||||||
The default constructor for this class using int.
| |||||||||||
Create the object, decoding the values from the passed DER stream.
| |||||||||||
Create the object, decoding the values from the passed DerValue.
| |||||||||||
Create the object, decoding the values from the passed stream.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Encode the SerialNumber in DER form to the stream.
| |||||||||||
Return the serial number.
| |||||||||||
Return the SerialNumber as user readable string.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
The default constructor for this class using BigInteger.
num | the BigInteger number used to create the serial number. |
---|
The default constructor for this class using int.
num | the BigInteger number used to create the serial number. |
---|
Create the object, decoding the values from the passed DER stream.
in | the DerInputStream to read the SerialNumber from. |
---|
IOException | on decoding errors. |
---|
Create the object, decoding the values from the passed DerValue.
val | the DerValue to read the SerialNumber from. |
---|
IOException | on decoding errors. |
---|
Create the object, decoding the values from the passed stream.
in | the InputStream to read the SerialNumber from. |
---|
IOException | on decoding errors. |
---|
Encode the SerialNumber in DER form to the stream.
out | the DerOutputStream to marshal the contents to. |
---|
IOException | on errors. |
---|
Return the SerialNumber as user readable string.