AuthenticatorAssertionResponse: signature 属性
signature 是 AuthenticatorAssertionResponse 接口的一个只读属性,它是一个 ArrayBuffer 对象,包含认证器对 AuthenticatorAssertionResponse.authenticatorData 和客户端数据(AuthenticatorAssertionResponse.clientDataJSON)的 SHA-256 哈希值的签名。
此签名将作为响应的一部分发送到服务器进行验证。它提供了认证器确实拥有用于生成凭证的私钥的证明。
值
一个 ArrayBuffer 对象,包含认证器(使用其私钥)对 AuthenticatorAssertionResponse.authenticatorData 和客户端数据(挑战、来源等,可从 AuthenticatorAssertionResponse.clientDataJSON 获取)的 SHA-256 哈希值的签名。
示例
有关详细示例,请参阅检索公钥凭据。
规范
| 规范 |
|---|
| Web Authentication:访问公钥凭证的 API - 第 3 级 # dom-authenticatorassertionresponse-signature |
浏览器兼容性
加载中…