Files
TK-FB-Project/api.hyungi.net/node_modules/@simplewebauthn/server/script/helpers/verifySignature.d.ts

19 lines
576 B
TypeScript

import { COSEALG } from './cose.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