X509CertInfo

The X509CertInfo class represents X.509 certificate information.

<P>X.509 certificates have several base data elements, including:<UL>

<LI>The <em>Subject Name</em>, an X.500 Distinguished Name for the entity (subject) for which the certificate was issued.

<LI>The <em>Subject Public Key</em>, the key of the subject. This is one of the most important parts of the certificate.

<LI>The <em>Validity Period</em>, a time period (e.g. six months) within which the certificate is valid (unless revoked).

<LI>The <em>Issuer Name</em>, an X.500 Distinguished Name for the Certificate Authority (CA) which issued the certificate.

<LI>A <em>Serial Number</em> assigned by the CA, for use in certificate revocation and other applications.

@author Amit Kapoor @author Hemma Prafullchandra @see CertAttrSet @see X509CertImpl

Members

Functions

encode
void encode(OutputStream stream)

Appends the certificate to an output stream.

get
Object get(string name)

Get the certificate attribute.

getElements
Enumeration!string getElements()

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

getEncodedInfo
byte[] getEncodedInfo()

Returns the encoded certificate info.

getName
string getName()

Return the name of this attribute.

remove
void remove(string name)

Delete the certificate attribute.

set
void set(string name, Object val)

Set the certificate attribute.

toString
string toString()

Returns a printable representation of the certificate.

Variables

ALGORITHM_ID
enum string ALGORITHM_ID;
Undocumented in source.
DN_NAME
enum string DN_NAME;
Undocumented in source.
EXTENSIONS
enum string EXTENSIONS;
Undocumented in source.
IDENT
enum string IDENT;

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

ISSUER
enum string ISSUER;
Undocumented in source.
ISSUER_ID
enum string ISSUER_ID;
Undocumented in source.
KEY
enum string KEY;
Undocumented in source.
NAME
enum string NAME;
Undocumented in source.
SERIAL_NUMBER
enum string SERIAL_NUMBER;
Undocumented in source.
SUBJECT
enum string SUBJECT;
Undocumented in source.
SUBJECT_ID
enum string SUBJECT_ID;
Undocumented in source.
VALIDITY
enum string VALIDITY;
Undocumented in source.
VERSION
enum string VERSION;
Undocumented in source.

Meta