UNPKG

cose-kit

Version:

This is an early prototype of a RFC8152 COSE library for node.js.

3 lines (2 loc) 202 B
export declare function checkSigCryptoKey(key: CryptoKey, alg: string, ...usages: KeyUsage[]): void; export declare function checkEncCryptoKey(key: CryptoKey, alg: string, ...usages: KeyUsage[]): void;