public class AttributeArray extends Attribute
| Modifier and Type | Field and Description |
|---|---|
protected PKCS11Object |
template
The attributes of this attribute array in their object class
representation.
|
AC_ISSUER, ALLOWED_MECHANISMS, ALWAYS_AUTHENTICATE, ALWAYS_SENSITIVE, APPLICATION, ATTR_TYPES, attributeClasses, attributeNames, AUTH_PIN_FLAGS, BASE, BITS_PER_PIXEL, CERTIFICATE_CATEGORY, CERTIFICATE_TYPE, CHAR_COLUMNS, CHAR_ROWS, CHAR_SETS, CHECK_VALUE, ckAttribute, CLASS, COEFFICIENT, COLOR, DECRYPT, DERIVE, EC_PARAMS, EC_POINT, ENCODING_METHODS, ENCRYPT, END_DATE, EXPONENT_1, EXPONENT_2, EXTRACTABLE, HAS_RESET, HASH_OF_ISSUER_PUBLIC_KEY, HASH_OF_SUBJECT_PUBLIC_KEY, HW_FEATURE_TYPE, ID, ISSUER, JAVA_MIDP_SECURITY_DOMAIN, KEY_GEN_MECHANISM, KEY_TYPE, LABEL, LOCAL, MECHANISM_TYPE, MIME_TYPES, MODIFIABLE, MODULUS, MODULUS_BITS, NEVER_EXTRACTABLE, OBJECT_ID, OWNER, PIXEL_X, PIXEL_Y, present, PRIME, PRIME_1, PRIME_2, PRIME_BITS, PRIVATE, PRIVATE_EXPONENT, PUBLIC_EXPONENT, RESET_ON_INIT, RESOLUTION, SECONDARY_AUTH, sensitive, SENSITIVE, SERIAL_NUMBER, SIGN, SIGN_RECOVER, START_DATE, SUB_PRIME_BITS, SUBJECT, SUBPRIME, TOKEN, TRUSTED, UNWRAP, UNWRAP_TEMPLATE, URL, VALUE, VALUE_BITS, VALUE_LEN, VENDOR_DEFINED, VERIFY, VERIFY_RECOVER, WRAP, WRAP_TEMPLATE, WRAP_WITH_TRUSTED| Constructor and Description |
|---|
AttributeArray(Long type)
Constructor taking the PKCS#11 type of the attribute.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object otherObject)
Compares all member variables of this object with the other object.
|
PKCS11Object |
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(PKCS11Object value)
Set the attributes of this attribute array by specifying a
GenericTemplate.
|
void |
setValue(Object value)
Redirects the request for setting the attribute value to the implementing
attribute class.
|
getAttributeClass, getAttributeName, getCkAttribute, getType, isPresent, isSensitive, setCkAttribute, setPresent, setSensitive, setType, toString, toStringprotected PKCS11Object template
public AttributeArray(Long type)
type - The PKCS#11 type of this attribute; e.g.
PKCS11Constants.CKA_VALUE.public void setAttributeArrayValue(PKCS11Object value)
value - The AttributeArray value to set. May be null.public PKCS11Object getAttributeArrayValue()
protected String getValueString()
getValueString in class Attributepublic boolean equals(Object otherObject)
public int hashCode()
public void setValue(Object value) throws UnsupportedOperationException
AttributesetValue in class Attributevalue - the new valueUnsupportedOperationException - the OtherAttribute implementation does not support
setting a value directly.Copyright © 2018. All rights reserved.