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 |
|---|---|
Integer |
getIntValue()
Get the int value of this attribute.
|
Long |
getValue()
Get the long value of this attribute.
|
LongAttribute |
longValue(Long value)
Set the long value of this attribute.
|
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(Long value)
value - The long value to set. May be null.public Long getValue()
public Integer getIntValue()
public String toString(int radix)
radix - The radix for the representation of the value.Copyright © 2023. All rights reserved.