文档管理中心
我的
API参考线上快速身份验证服务AndroidFIDO2com.huawei.hms.support.api.fido.fido2Class SummaryAuthenticatorAttestationResponse

AuthenticatorAttestationResponse

展开

Class Info

public class AuthenticatorAttestationResponse

通过Fido2RegistrationResponse的getAuthenticatorAttestationResponse()方法获得注册结果。

Public Method Summary

展开

Qualifier and Type

Method Name and Description

public byte[]

getCredentialId()

获取密钥id,服务器、client做密钥标识用。

public byte[]

getClientDataJson()

获取ClientData JSON数据。

public byte[]

getAttestationObject()

获取认证器返回的验证信息。

public String

toJson()

将AuthenticatorAttestationResponse转换为JSON格式。

Public Methods

getCredentialId

展开

Method

public byte[] getCredentialId()

获取密钥id,服务器、client做密钥标识用。

Returns

展开

Type

Description

byte[]

密钥id。

getClientDataJson

展开

Method

public byte[] getClientDataJson()

获取client端返回的信息。

Returns

展开

Type

Description

byte[]

client端返回的信息。

getAttestationObject

展开

Method

public byte[] getAttestationObject()

获取认证器返回的验证信息。

Returns

展开

Type

Description

byte[]

认证器返回的验证信息。

toJson

展开

Method

public String toJson()

将AuthenticatorAttestationResponse转换为JSON格式。

Returns

展开

Type

Description

String

AuthenticatorAttestationResponse格式化为JSON字符串。