12 lines
405 B
Plaintext
12 lines
405 B
Plaintext
import { type COSEALG, type COSEPublicKeyRSA } from '../../cose.js';
|
|
import type { Uint8Array_ } from '../../../types/index.js';
|
|
/**
|
|
* Verify a signature using an RSA public key
|
|
*/
|
|
export declare function verifyRSA(opts: {
|
|
cosePublicKey: COSEPublicKeyRSA;
|
|
signature: Uint8Array_;
|
|
data: Uint8Array_;
|
|
shaHashOverride?: COSEALG;
|
|
}): Promise<boolean>;
|
|
//# sourceMappingURL=verifyRSA.d.ts.map |