|
IAIK PKCS#11 Wrapper version 1.2.18 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--iaik.pkcs.pkcs11.objects.Attribute
|
+--iaik.pkcs.pkcs11.objects.ByteArrayAttribute
Objects of this class represent a byte-array attribute of a PKCS#11 object as specified by PKCS#11.
| Constructor Summary | |
ByteArrayAttribute(java.lang.Long type)
Constructor taking the PKCS#11 type of the attribute. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares all member variables of this object with the other object. |
byte[] |
getByteArrayValue()
Get the byte-array value of this attribute. |
protected java.lang.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 |
setByteArrayValue(byte[] value)
Set the byte-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 ByteArrayAttribute(java.lang.Long type)
type - The PKCS'11 type of this attribute; e.g.
PKCS11Constants.CKA_VALUE.| Method Detail |
public void setByteArrayValue(byte[] value)
value - The byte-array value to set. May be null.public byte[] getByteArrayValue()
protected java.lang.String getValueString()
getValueString in class Attributepublic boolean equals(java.lang.Object otherObject)
equals in class AttributeotherObject - The other object to compare to.public int hashCode()
hashCode in class Attribute
|
IAIK PKCS#11 Wrapper version 1.2.18 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||