Files
NapCatQQ/.pnpm-store/v3/files/ac/33ea4b765bf9e6fea118c7cdafd8b4be127503dc749f8bd79a628406af0900dc0cbb44844a75291b3f3c8aee8aa9bfd2c6b1e6de06c781cd44a4c31b368da2
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

20 lines
634 B
Plaintext

import { COSEALG } from './cose.js';
import type { Uint8Array_ } from '../types/index.js';
/**
* Verify an authenticator's signature
*/
export declare function verifySignature(opts: {
signature: Uint8Array_;
data: Uint8Array_;
credentialPublicKey?: Uint8Array_;
x509Certificate?: Uint8Array_;
hashAlgorithm?: COSEALG;
}): Promise<boolean>;
/**
* Make it possible to stub the return value during testing
* @ignore Don't include this in docs output
*/
export declare const _verifySignatureInternals: {
stubThis: (value: Promise<boolean>) => Promise<boolean>;
};
//# sourceMappingURL=verifySignature.d.ts.map