12 lines
425 B
Plaintext
12 lines
425 B
Plaintext
import { type COSEALG, type COSEPublicKey } from '../../cose.js';
|
|
import type { Uint8Array_ } from '../../../types/index.js';
|
|
/**
|
|
* Verify signatures with their public key. Supports EC2 and RSA public keys.
|
|
*/
|
|
export declare function verify(opts: {
|
|
cosePublicKey: COSEPublicKey;
|
|
signature: Uint8Array_;
|
|
data: Uint8Array_;
|
|
shaHashOverride?: COSEALG;
|
|
}): Promise<boolean>;
|
|
//# sourceMappingURL=verify.d.ts.map |