|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.security12.sun.security.pkcs.PKCS10Attributes
This class defines the PKCS10 attributes for the request. The ASN.1 syntax for this is:
Attributes ::= SET OF Attribute
PKCS10
,
PKCS10Attribute
Constructor Summary | |
PKCS10Attributes()
Default constructor for the PKCS10 attribute. |
|
PKCS10Attributes(DerInputStream in)
Create the object, decoding the values from the passed DER stream. |
|
PKCS10Attributes(PKCS10Attribute[] attrs)
Create the object from the array of PKCS10Attribute objects. |
Method Summary | |
void |
deleteAttribute(String name)
Delete the attribute value. |
void |
derEncode(OutputStream out)
Encode the attributes in DER form to the stream. |
void |
encode(OutputStream out)
Encode the attributes in DER form to the stream. |
boolean |
equals(Object other)
Compares this PKCS10Attributes for equality with the specified object. |
Object |
getAttribute(String name)
Get the attribute value. |
Collection |
getAttributes()
Return a Collection of attributes existing within this PKCS10Attributes object. |
Enumeration |
getElements()
Return an enumeration of names of attributes existing within this attribute. |
int |
hashCode()
Returns a hashcode value for this PKCS10Attributes. |
void |
setAttribute(String name,
Object obj)
Set the attribute value. |
String |
toString()
Returns a string representation of this PKCS10Attributes object in the form of a set of entries, enclosed in braces and separated by the ASCII characters ", " (comma and space). |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public PKCS10Attributes()
public PKCS10Attributes(PKCS10Attribute[] attrs)
attrs
- the array of PKCS10Attribute objects.public PKCS10Attributes(DerInputStream in) throws IOException
in
- the DerInputStream to read the attributes from.Method Detail |
public void encode(OutputStream out) throws IOException
out
- the OutputStream to marshal the contents to.public void derEncode(OutputStream out) throws IOException
DerEncoder
interface.out
- the OutputStream to marshal the contents to.public void setAttribute(String name, Object obj)
public Object getAttribute(String name)
public void deleteAttribute(String name)
public Enumeration getElements()
public Collection getAttributes()
public boolean equals(Object other)
other
object is an
instanceof
PKCS10Attributes
, then
all the entries are compared with the entries from this.other
- the object to test for equality with this PKCS10Attributes.public int hashCode()
public String toString()
Overrides the toString method of Object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |