CertAttrSet

This interface defines the methods required of a certificate attribute. Examples of X.509 certificate attributes are Validity, Issuer_Name, and Subject Name. A CertAttrSet may comprise one attribute or many attributes. <p> A CertAttrSet itself can also be comprised of other sub-sets. In the case of X.509 V3 certificates, for example, the "extensions" attribute has subattributes, such as those for KeyUsage and AuthorityKeyIdentifier.

@author Amit Kapoor @author Hemma Prafullchandra @see CertificateException

Members

Functions

encode
void encode(OutputStream outputStream)

Encodes the attribute to the output stream in a format that can be parsed by the <code>decode</code> method.

get
V get(string name)

Gets an attribute value for this CertAttrSet.

getElements
Enumeration!T getElements()

Returns an enumeration of the names of the attributes existing within this attribute.

getName
string getName()

Returns the name (identifier) of this CertAttrSet.

remove
void remove(string name)

Deletes an attribute value from this CertAttrSet.

set
void set(string name, V obj)

Sets an attribute value within this CertAttrSet.

toString
string toString()

Returns a short string describing this certificate attribute.

Meta