|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.security12.sun.security.x509.CertificateIssuerName
This class defines the X500Name attribute for the Certificate.
CertAttrSet
Field Summary | |
static String |
DN_NAME
|
static String |
IDENT
Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type. |
static String |
NAME
Sub attributes name for this CertAttrSet. |
Constructor Summary | |
CertificateIssuerName(DerInputStream in)
Create the object, decoding the values from the passed DER stream. |
|
CertificateIssuerName(InputStream in)
Create the object, decoding the values from the passed stream. |
|
CertificateIssuerName(X500Name name)
Default constructor for the certificate attribute. |
Method Summary | |
void |
decode(InputStream in)
Decode the name in DER form from the stream. |
void |
delete(String name)
Delete the attribute value. |
void |
encode(OutputStream out)
Encode the name in DER form to the stream. |
Object |
get(String name)
Get the attribute value. |
Enumeration |
getElements()
Return an enumeration of names of attributes existing within this attribute. |
String |
getName()
Return the name of this attribute. |
void |
set(String name,
Object obj)
Set the attribute value. |
String |
toString()
Return the name as user readable string. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final String IDENT
public static final String NAME
public static final String DN_NAME
Constructor Detail |
public CertificateIssuerName(X500Name name)
name
- the X500Namepublic CertificateIssuerName(DerInputStream in) throws IOException
in
- the DerInputStream to read the X500Name from.public CertificateIssuerName(InputStream in) throws IOException
in
- the InputStream to read the X500Name from.Method Detail |
public String toString()
public void encode(OutputStream out) throws IOException
out
- the DerOutputStream to marshal the contents to.public void decode(InputStream in) throws IOException
in
- the InputStream to marshal the contents from.public void set(String name, Object obj) throws IOException
public Object get(String name) throws IOException
public void delete(String name) throws IOException
public Enumeration getElements()
public String getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |