java.lang.Object | |
↳ | sun.security.x509.CertificateSerialNumber |
This class defines the SerialNumber attribute for the Certificate.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | IDENT | Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type. | |||||||||
String | NAME | Sub attributes name for this CertAttrSet. | |||||||||
String | NUMBER |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor for the certificate attribute.
| |||||||||||
Default constructor for the certificate attribute.
| |||||||||||
Create the object, decoding the values from the passed DER stream.
| |||||||||||
Create the object, decoding the values from the passed stream.
| |||||||||||
Create the object, decoding the values from the passed DerValue.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Delete the attribute value.
| |||||||||||
Encode the serial number in DER form to the stream.
| |||||||||||
Get the attribute value.
| |||||||||||
Return an enumeration of names of attributes existing within this
attribute.
| |||||||||||
Return the name of this attribute.
| |||||||||||
Set the attribute value.
| |||||||||||
Return the serial number as user readable string.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
sun.security.x509.CertAttrSet
|
Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
Sub attributes name for this CertAttrSet.
Default constructor for the certificate attribute.
Create the object, decoding the values from the passed DER stream.
in | the DerInputStream to read the serial number from. |
---|
IOException | on decoding errors. |
---|
Create the object, decoding the values from the passed stream.
in | the InputStream to read the serial number from. |
---|
IOException | on decoding errors. |
---|
Create the object, decoding the values from the passed DerValue.
val | the DER encoded value. |
---|
IOException | on decoding errors. |
---|
Encode the serial number in DER form to the stream.
out | the DerOutputStream to marshal the contents to. |
---|
IOException | on errors. |
---|
Return an enumeration of names of attributes existing within this attribute.
Set the attribute value.
name | the name of the attribute (e.g. "x509.info.key") |
---|---|
obj | the attribute object. |
IOException |
---|
Return the serial number as user readable string.