public class LongAttribute extends Attribute
ckAttribute, present, sensitive| Constructor and Description |
|---|
LongAttribute(long type)
Constructor taking the PKCS#11 type of the attribute.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getIntValue()
Get the int value of this attribute.
|
java.lang.Long |
getValue()
Get the long value of this attribute.
|
LongAttribute |
longValue(java.lang.Long value)
Set the long value of this attribute.
|
java.lang.String |
toString(int radix)
Get a string representation of this attribute.
|
ckAttribute, getCkAttribute, getInstance, getInstance, getType, getValueString, isNullValue, isPresent, isSensitive, present, sensitive, toString, toString, typepublic LongAttribute(long type)
type - The PKCS#11 type of this attribute; e.g. CKA_VALUE_LEN.public LongAttribute longValue(java.lang.Long value)
value - The long value to set. May be null.public java.lang.Long getValue()
public java.lang.Integer getIntValue()
public java.lang.String toString(int radix)
radix - The radix for the representation of the value.Copyright © 2023. All rights reserved.