@simplewebauthn/server
Version:
SimpleWebAuthn for Servers
12 lines • 405 B
TypeScript
import { type COSEALG, type COSEPublicKeyEC2 } from '../../cose.js';
import type { Uint8Array_ } from '../../../types/index.js';
/**
* Verify a signature using an EC2 public key
*/
export declare function verifyEC2(opts: {
cosePublicKey: COSEPublicKeyEC2;
signature: Uint8Array_;
data: Uint8Array_;
shaHashOverride?: COSEALG;
}): Promise<boolean>;
//# sourceMappingURL=verifyEC2.d.ts.map