|
|||||||||
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.CertificateAlgorithmId
This class defines the AlgorithmId for the Certificate.
Field Summary | |
static String |
ALGORITHM
|
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 | |
CertificateAlgorithmId(AlgorithmId algId)
Default constructor for the certificate attribute. |
|
CertificateAlgorithmId(DerInputStream in)
Create the object, decoding the values from the passed DER stream. |
|
CertificateAlgorithmId(InputStream in)
Create the object, decoding the values from the passed stream. |
Method Summary | |
void |
decode(InputStream in)
Decode the algorithm identifier from the passed stream. |
void |
delete(String name)
Delete the attribute value. |
void |
encode(OutputStream out)
Encode the algorithm identifier 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 algorithm identifier 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 ALGORITHM
Constructor Detail |
public CertificateAlgorithmId(AlgorithmId algId)
algId
- the Algorithm identifierpublic CertificateAlgorithmId(DerInputStream in) throws IOException
in
- the DerInputStream to read the serial number from.public CertificateAlgorithmId(InputStream in) throws IOException
in
- the InputStream to read the serial number 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 unmarshal 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 |