| java.lang.Object sun.security.x509.CertificateAlgorithmId
CertificateAlgorithmId | public class CertificateAlgorithmId implements CertAttrSet(Code) | | This class defines the AlgorithmId for the Certificate.
author: Amit Kapoor author: Hemma Prafullchandra version: 1.12 |
Field Summary | |
final public static String | ALGORITHM Identifier to be used with get, set, and delete methods. | 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. |
ALGORITHM | final public static String ALGORITHM(Code) | | 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.
See Also: sun.security.x509.AlgorithmId |
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.
|
CertificateAlgorithmId | public CertificateAlgorithmId(AlgorithmId algId)(Code) | | Default constructor for the certificate attribute.
Parameters: algId - the Algorithm identifier |
CertificateAlgorithmId | public CertificateAlgorithmId(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. |
CertificateAlgorithmId | public CertificateAlgorithmId(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. |
decode | public void decode(InputStream in) throws IOException(Code) | | Decode the algorithm identifier from the passed stream.
Parameters: in - the InputStream to unmarshal the contents from. exception: IOException - on errors. |
encode | public void encode(OutputStream out) throws IOException(Code) | | Encode the algorithm identifier 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 algorithm identifier as user readable string.
|
|
|