CertificateAlgorithmId

This class defines the AlgorithmId for the Certificate.

@author Amit Kapoor @author Hemma Prafullchandra

Constructors

this
this(AlgorithmId algId)

Default constructor for the certificate attribute.

this
this(DerInputStream stream)

Create the object, decoding the values from the passed DER stream.

this
this(InputStream stream)

Create the object, decoding the values from the passed stream.

Members

Functions

encode
void encode(OutputStream stream)

Encode the algorithm identifier in DER form to the stream.

get
AlgorithmId get(string name)

Get the attribute value.

getElements
Enumeration!string getElements()

Return an enumeration of names of attributes existing within this attribute.

getName
string getName()

Return the name of this attribute.

remove
void remove(string name)

Delete the attribute value.

set
void set(string name, AlgorithmId obj)

Set the attribute value.

toString
string toString()

Return the algorithm identifier as user readable string.

Variables

ALGORITHM
enum string ALGORITHM;

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 sun.security.x509.AlgorithmId

IDENT
enum string IDENT;

Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.

NAME
enum string NAME;

Sub attributes name for this CertAttrSet.

Meta