| java.lang.Object sun.security.x509.CertificateSerialNumber
CertificateSerialNumber | public class CertificateSerialNumber implements CertAttrSet(Code) | | This class defines the SerialNumber attribute for the Certificate.
author: Amit Kapoor author: Hemma Prafullchandra version: 1.10 See Also: CertAttrSet |
Field Summary | |
final public static String | IDENT Identifier for this attribute, to be used with the
get, set, delete methods of Certificate, x509 type. | final public static String | NAME Sub attributes name for this CertAttrSet. | final public static String | NUMBER |
IDENT | final public static String IDENT(Code) | | Identifier for this attribute, to be used with the
get, set, delete methods of Certificate, x509 type.
|
NAME | final public static String NAME(Code) | | Sub attributes name for this CertAttrSet.
|
CertificateSerialNumber | public CertificateSerialNumber(BigInteger num)(Code) | | Default constructor for the certificate attribute.
Parameters: serial - the serial number for the certificate. |
CertificateSerialNumber | public CertificateSerialNumber(int num)(Code) | | Default constructor for the certificate attribute.
Parameters: serial - the serial number for the certificate. |
CertificateSerialNumber | public CertificateSerialNumber(DerInputStream in) throws IOException(Code) | | Create the object, decoding the values from the passed DER stream.
Parameters: in - the DerInputStream to read the serial number from. exception: IOException - on decoding errors. |
CertificateSerialNumber | public CertificateSerialNumber(InputStream in) throws IOException(Code) | | Create the object, decoding the values from the passed stream.
Parameters: in - the InputStream to read the serial number from. exception: IOException - on decoding errors. |
CertificateSerialNumber | public CertificateSerialNumber(DerValue val) throws IOException(Code) | | Create the object, decoding the values from the passed DerValue.
Parameters: val - the DER encoded value. exception: IOException - on decoding errors. |
decode | public void decode(InputStream in) throws IOException(Code) | | Decode the serial number in DER form from the stream.
Parameters: in - the InputStream to marshal the contents from. exception: IOException - on errors. |
encode | public void encode(OutputStream out) throws IOException(Code) | | Encode the serial number in DER form to the stream.
Parameters: out - the DerOutputStream to marshal the contents to. exception: IOException - on errors. |
getElements | public Enumeration getElements()(Code) | | Return an enumeration of names of attributes existing within this
attribute.
|
getName | public String getName()(Code) | | Return the name of this attribute.
|
toString | public String toString()(Code) | | Return the serial number as user readable string.
|
|
|