跳过内容

@capgo/capacitor-app-attest

@Capacitor/__CAPGO_KEEP_1__-app-attest

Unified cross-platform attestation plugin for Capacitor.

核心功能

核心功能部分
  • isSupported - 检查本机证明是否可用。
  • prepare - 准备证明状态并返回用于后续调用所需的密钥句柄。
  • createAttestation - 根据后端发出的挑战创建一个注册证明令牌。
  • createAssertion - 根据请求负载创建一个请求断言令牌。

- 公开 API

- 公开API
- 方法- 描述
isSupported- 检查本机证明是否可用。
prepare- 准备证明状态并返回用于后续调用所需的密钥句柄。
createAttestation- 根据后端发出的挑战创建一个注册证明令牌。
createAssertion- 根据请求负载创建一个请求断言令牌。
storeKeyIdStores/prepares a key identifier for reuse.
getStoredKeyIdReturns the currently stored/prepared key identifier.
clearStoredKeyIdClears stored/prepared key identifiers.
generateKeyLegacy alias for prepare().
attestKeyLegacy alias for createAttestation().
generateAssertionLegacy alias for createAssertion().

此参考从 src/definitions.tscapacitor-app-attest.

如果您正在使用 @capgo/capacitor-app-attest 来规划安全性和合规性,连接它到 使用 @capgo/capacitor-app-attest 来支持本地能力的使用 @capgo/capacitor-app-attest 加密 加密 合规 合规 Capgo 安全扫描器 Capgo 安全扫描器 Capgo Security for the product workflow in Capgo Security.