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

11 lines
428 B
TypeScript

/**
* Lightweight verification for FIDO MDS JWTs. Supports use of EC2 and RSA.
*
* If this ever needs to support more JWS algorithms, here's the list of them:
*
* https://www.rfc-editor.org/rfc/rfc7518.html#section-3.1
*
* (Pulled from https://www.rfc-editor.org/rfc/rfc7515#section-4.1.1)
*/
export declare function verifyJWT(jwt: string, leafCert: Uint8Array): Promise<boolean>;
//# sourceMappingURL=verifyJWT.d.ts.map