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