java.lang.Object | |
↳ | sun.security.x509.CertificateAlgorithmId |
This class defines the AlgorithmId for the Certificate.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ALGORITHM | Identifier to be used with get, set, and delete methods. | |||||||||
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. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Delete the attribute value.
| |||||||||||
Encode the algorithm identifier 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 algorithm identifier as user readable string.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
sun.security.x509.CertAttrSet
|
Identifier to be used with get, set, and delete methods. When using this identifier the associated object being passed in or returned is an instance of AlgorithmId.
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.
algId | the Algorithm identifier |
---|
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. |
---|
Encode the algorithm identifier 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 algorithm identifier as user readable string.