|
|||||||||
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.CertificateX509Key
This class defines the X509Key attribute for the Certificate.
CertAttrSet
Field Summary | |
static String |
IDENT
Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type. |
static String |
KEY
|
static String |
NAME
Sub attributes name for this CertAttrSet. |
Constructor Summary | |
CertificateX509Key(DerInputStream in)
Create the object, decoding the values from the passed DER stream. |
|
CertificateX509Key(InputStream in)
Create the object, decoding the values from the passed stream. |
|
CertificateX509Key(PublicKey key)
Default constructor for the certificate attribute. |
Method Summary | |
void |
decode(InputStream in)
Decode the key in DER form from the stream. |
void |
delete(String name)
Delete the attribute value. |
void |
encode(OutputStream out)
Encode the key 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 key as printable 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 KEY
Constructor Detail |
public CertificateX509Key(PublicKey key)
key
- the X509Keypublic CertificateX509Key(DerInputStream in) throws IOException
in
- the DerInputStream to read the X509Key from.public CertificateX509Key(InputStream in) throws IOException
in
- the InputStream to read the X509Key from.Method Detail |
public String toString()
public void decode(InputStream in) throws IOException
in
- the InputStream to unmarshal the contents frompublic void encode(OutputStream out) throws IOException
out
- the OutputStream to marshal the contents to.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 |