You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
634 B

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