|
IAIK PKCS#11 Wrapper version 1.2.17 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiaik.pkcs.pkcs11.objects.Attribute
iaik.pkcs.pkcs11.objects.CharArrayAttribute
Objects of this class represent a char-array attribute of a PKCS#11 object as specified by PKCS#11.
Field Summary |
Constructor Summary | |
CharArrayAttribute(Long type)
Constructor taking the PKCS#11 type of the attribute. |
Method Summary | |
boolean |
equals(Object otherObject)
Compares all member variables of this object with the other object. |
char[] |
getCharArrayValue()
Get the char-array value of this attribute. |
protected String |
getValueString()
Get a string representation of the value of this attribute. |
int |
hashCode()
The overriding of this method should ensure that the objects of this class work correctly in a hashtable. |
void |
setCharArrayValue(char[] value)
Set the char-array value of this attribute. |
Methods inherited from class iaik.pkcs.pkcs11.objects.Attribute |
clone, getAttributeClass, getAttributeName, getCkAttribute, getType, isPresent, isSensitive, setCkAttribute, setPresent, setSensitive, setType, toString, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CharArrayAttribute(Long type)
type
- The PKCS'11 type of this attribute; e.g.
PKCS11Constants.CKA_LABEL.Method Detail |
public void setCharArrayValue(char[] value)
value
- The char-array value to set. May be null.public char[] getCharArrayValue()
protected String getValueString()
getValueString
in class Attribute
public boolean equals(Object otherObject)
equals
in class Attribute
otherObject
- The other object to compare to.
public int hashCode()
hashCode
in class Attribute
|
IAIK PKCS#11 Wrapper version 1.2.17 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |