目录

CLASS info
public class AuthenticatorAssertionResponse
Represents an authentication result.

Public Method Summary

Return typeMethod name
byte[]

getClientDataJson()

Obtains JSON data in ClientData.

byte[]

getAuthenticatorData()

Obtains authentication information returned by the authenticator and directly passes the information to the server.

byte[]

getSignature()

Obtains the final signature of the authenticator.

byte[]

getCredentialId()

Obtains a credential ID.

String

toJson()

Converts AuthenticatorAssertionResponse to a JSON character string.

Public Methods

Method
byte[] getClientDataJson()
Obtains JSON data in ClientData and directly passes it to the server.

Return

typedesc
byte[]JSON data in ClientData.
Method
byte[] getAuthenticatorData()
Obtains authentication information returned by the authenticator and directly passes the information to the server.

Return

typedesc
byte[]Authentication information returned by the authenticator.
Method
byte[] getSignature()
Obtains the final signature of the authenticator.

Return

typedesc
byte[]Final signature of the authenticator.
Method
byte[] getCredentialId()
Obtains a credential ID.

Parameters
Return

typedesc
byte[]Credential ID.
Method
String toJson
Converts AuthenticatorAssertionResponse to a JSON character string.

Return

typedesc
StringJSON character string converted from AuthenticatorAssertionResponse.