public static final class SignApi.Crypto.SignedAttributes extends Object
Modifier and Type | Method and Description |
---|---|
byte[] |
getBioBlocks()
Gets the octets in the bioBlocks attribute.
|
byte[] |
getBioKey()
Gets the octets of the bioKey attribute.
|
Optional<String> |
getBioText()
Gets the text in the bioText attribute.
|
Optional<String> |
getDeviceFirmwareVersion()
Gets the firmware version.
|
Optional<String> |
getDeviceName()
Gets the device name.
|
Optional<String> |
getDeviceSerialNumber()
Gets the serial number.
|
Optional<Instant> |
getDeviceTime()
Gets the time in the deviceTime attribute.
|
byte[] |
getDriverCertificateRaw()
Gets the driver certificate.
|
byte[] |
getMessageDigest()
Gets the message digest.
|
Optional<String> |
getNotaryInfo()
Gets the notary information.
|
byte[] |
getNotaryKey()
Gets the notary key.
|
Optional<Integer> |
getOpenState()
Gets the value of the open state attribute.
|
static Optional<SignApi.Crypto.SignedAttributes> |
of(byte[] contentDigest)
Gets a signed attributes object with the given content digest.
|
boolean |
setBioText(byte[] bioKey,
String textualBioData)
Sets the bioKey attribute and the bioText attribute of a signed attributes object.
|
public static Optional<SignApi.Crypto.SignedAttributes> of(byte[] contentDigest)
contentDigest
- The digest of the document content.public boolean setBioText(byte[] bioKey, String textualBioData)
bioKey
- The bioKey.textualBioData
- The textual biometric data.public Optional<String> getBioText()
public byte[] getMessageDigest()
public byte[] getBioBlocks()
public byte[] getBioKey()
public Optional<String> getDeviceFirmwareVersion()
public Optional<String> getDeviceName()
public Optional<String> getDeviceSerialNumber()
public Optional<Instant> getDeviceTime()
public byte[] getDriverCertificateRaw()
public Optional<String> getNotaryInfo()
public byte[] getNotaryKey()
Copyright © 2024. All rights reserved.