|
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.AttributeArray
Objects of this class represent a attribute array of a PKCS#11 object as specified by PKCS#11. This attribute is available since cryptoki version 2.20.
Field Summary | |
protected GenericTemplate |
template_
The attributes of this attribute array in their object class representation. |
Constructor Summary | |
AttributeArray(java.lang.Long type)
Constructor taking the PKCS#11 type of the attribute. |
Method Summary | |
java.lang.Object |
clone()
Create a (deep) clone of this object. |
boolean |
equals(java.lang.Object otherObject)
Compares all member variables of this object with the other object. |
GenericTemplate |
getAttributeArrayValue()
Get the attribute 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 |
setAttributeArrayValue(GenericTemplate value)
Set the attributes of this attribute array by specifying a GenericTemplate. |
Methods inherited from class iaik.pkcs.pkcs11.objects.Attribute |
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 |
Field Detail |
protected GenericTemplate template_
Constructor Detail |
public AttributeArray(java.lang.Long type)
type
- The PKCS#11 type of this attribute; e.g.
PKCS11Constants.CKA_VALUE.Method Detail |
public void setAttributeArrayValue(GenericTemplate value)
value
- The AttributeArray value to set. May be null.public GenericTemplate getAttributeArrayValue()
protected java.lang.String getValueString()
getValueString
in class Attribute
public boolean equals(java.lang.Object otherObject)
equals
in class Attribute
otherObject
- The other object to compare to.public int hashCode()
hashCode
in class Attribute
public java.lang.Object clone()
clone
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 |