目录

AuthenticatorAssertionResponse

Class Info

public class AuthenticatorAssertionResponse

Authentication result, which can be obtained through the getAuthenticatorAssertionResponse() method of Fido2AuthenticationResponse.

Public Method Summary

Qualifier and Type

Method Name and Description

public byte[]

getClientDataJson()

Obtains JSON data returned by the client.

public byte[]

getAuthenticatorData()

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

public byte[]

getSignature()

Obtains the final signature of the authenticator.

public byte[]

getCredentialId()

Obtains a credential ID.

public String

toJson()

Converts AuthenticatorAssertionResponse to a JSON character string.

Public Methods

[h2]getClientDataJson

Method

byte[] getClientDataJson()

Obtains JSON data returned by the client and directly passes it to the server.

Returns

Type

Description

byte[]

JSON data returned by the client.

[h2]getAuthenticatorData

Method

public byte[] getAuthenticatorData()

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

Returns

Type

Description

byte[]

Authentication information returned by the authenticator.

[h2]getSignature

Method

public byte[] getSignature()

Obtains the final signature of the authenticator.

Returns

Type

Description

byte[]

Final signature of the authenticator.

[h2]getCredentialId

Method

public byte[] getCredentialId()

Obtains a credential ID.

Returns

Type

Description

byte[]

Credential ID.

[h2]toJson

Method

public String toJson()

Converts AuthenticatorAssertionResponse to a JSON character string.

Returns

Type

Description

String

JSON character string converted from AuthenticatorAssertionResponse.