public class DateAttribute extends Attribute
ckAttribute, present, sensitive| Constructor and Description |
|---|
DateAttribute(long type)
Constructor taking the PKCS#11 type of the attribute.
|
| Modifier and Type | Method and Description |
|---|---|
DateAttribute |
dateValue(Instant value)
Set the date value of this attribute.
|
Instant |
getValue()
Get the date 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 DateAttribute(long type)
type - The PKCS#11 type of this attribute; e.g. CKA_START_DATE.public DateAttribute dateValue(Instant value)
value - The date value to set. May be null.public Instant getValue()
protected String getValueString()
AttributegetValueString in class AttributeCopyright © 2023. All rights reserved.