public class AuthenticatorAttestationResponse
extends java.lang.Object
AuthenticatorAttestationResponse represents the authenticator's response to a client’s request
for the creation of a new public key credential.| Constructor and Description |
|---|
AuthenticatorAttestationResponse(byte[] clientDataJSON,
byte[] attestationObject) |
AuthenticatorAttestationResponse(byte[] clientDataJSON,
byte[] attestationObject,
java.util.Set<AuthenticatorTransport> transports) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
byte[] |
getAttestationObject()
Returns an attestation object, which is opaque to, and cryptographically protected against tampering by, the client.
|
byte[] |
getClientDataJSON() |
java.util.Set<AuthenticatorTransport> |
getTransports()
Returns a sequence of zero or more unique
AuthenticatorTransport values in lexicographical order. |
int |
hashCode() |
public AuthenticatorAttestationResponse(byte[] clientDataJSON,
byte[] attestationObject)
public AuthenticatorAttestationResponse(byte[] clientDataJSON,
byte[] attestationObject,
java.util.Set<AuthenticatorTransport> transports)
public byte[] getAttestationObject()
AttestationObjectpublic java.util.Set<AuthenticatorTransport> getTransports()
AuthenticatorTransport values in lexicographical order.
These values are the transports that the authenticator is believed to support, or an empty sequence
if the information is unavailable.AuthenticatorTransportpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic byte[] getClientDataJSON()