public class BooleanAttribute extends Attribute
ckAttribute, present, sensitive| Constructor and Description |
|---|
BooleanAttribute(long type)
Constructor taking the PKCS#11 type of the attribute.
|
| Modifier and Type | Method and Description |
|---|---|
BooleanAttribute |
booleanValue(Boolean value)
Set the boolean value of this attribute.
|
Boolean |
getValue()
Get the boolean value of this attribute.
|
protected String |
getValueString()
Get a string representation of the value of this attribute.
|
ckAttribute, getCkAttribute, getInstance, getInstance, getType, isNullValue, isPresent, isSensitive, present, sensitive, toString, toString, typepublic BooleanAttribute(long type)
type - The PKCS#11 type of this attribute; e.g. CKA_PRIVATE.public BooleanAttribute booleanValue(Boolean value)
value - The boolean value to set. May be null.public Boolean getValue()
protected String getValueString()
AttributegetValueString in class AttributeCopyright © 2023. All rights reserved.