|
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.MechanismArrayAttribute
Objects of this class represent a mechanism array attribute of a PKCS#11 object as specified by PKCS#11. This attribute is available since cryptoki version 2.20.
| Constructor Summary | |
MechanismArrayAttribute(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. |
Mechanism[] |
getMechanismAttributeArrayValue()
Get the mechanism attribute array value of this attribute as Mechanism[]. |
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 |
setMechanismAttributeArrayValue(Mechanism[] value)
Set the attributes of this mechanism attribute array by specifying a Mechanism[]. |
| 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 |
| Constructor Detail |
public MechanismArrayAttribute(java.lang.Long type)
type - The PKCS#11 type of this attribute; e.g.
PKCS11Constants.CKA_VALUE.| Method Detail |
public void setMechanismAttributeArrayValue(Mechanism[] value)
value - The MechanismArrayAttribute value to set. May be null.public Mechanism[] getMechanismAttributeArrayValue()
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 Attributepublic 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 | |||||||||