public final class AttestationObject
extends java.lang.Object
| Constructor and Description |
|---|
AttestationObject(@NonNull ByteArray bytes)
Decode an
AttestationObject object from a raw attestation object byte array. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
@NonNull com.fasterxml.jackson.databind.node.ObjectNode |
getAttestationStatement()
An important component of the attestation object is the attestation statement.
|
@NonNull AuthenticatorData |
getAuthenticatorData()
The authenticator data embedded inside this attestation object.
|
@NonNull ByteArray |
getBytes()
The original raw byte array that this object is decoded from.
|
@NonNull java.lang.String |
getFormat()
The attestation statement format identifier of this attestation object.
|
int |
hashCode() |
java.lang.String |
toString() |
public AttestationObject(@NonNull
@NonNull ByteArray bytes)
throws java.io.IOException
AttestationObject object from a raw attestation object byte array.java.io.IOException - if bytes cannot be parsed as a CBOR map.@NonNull public @NonNull ByteArray getBytes()
@NonNull public @NonNull AuthenticatorData getAuthenticatorData()
@NonNull public @NonNull java.lang.String getFormat()
Users of this library should not need to access this value directly.
@NonNull public @NonNull com.fasterxml.jackson.databind.node.ObjectNode getAttestationStatement()
Users of this library should not need to access this value directly.
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object