public class MechanismAttribute extends LongAttribute
ckAttribute, present, sensitive| Constructor and Description |
|---|
MechanismAttribute(long type)
Constructor taking the PKCS#11 type of the attribute.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getValueString()
Get a string representation of the value of this attribute.
|
MechanismAttribute |
mechanism(Long mechanism)
Set the mechanism value of this attribute.
|
getIntValue, getValue, longValue, toStringckAttribute, getCkAttribute, getInstance, getInstance, getType, isNullValue, isPresent, isSensitive, present, sensitive, toString, toString, typepublic MechanismAttribute(long type)
type - The PKCS#11 type of this attribute; e.g. CKA_VALUE_LEN.public MechanismAttribute mechanism(Long mechanism)
null, is also valid.
A call to this method sets the present flag to true.mechanism - The mechanism value to set. May be null.protected String getValueString()
getValueString in class AttributeCopyright © 2023. All rights reserved.