|
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.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(Long type)
Constructor taking the PKCS#11 type of the attribute. |
Method Summary | |
Object |
clone()
Create a (deep) clone of this object. |
boolean |
equals(Object otherObject)
Compares all member variables of this object with the other object. |
GenericTemplate |
getAttributeArrayValue()
Get the attribute 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 |
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(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 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
public Object clone()
clone
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 |