ltijs
Version:
Easily turn your web application into a LTI 1.3 Learning Tool.
6 lines (5 loc) • 345 B
TypeScript
import { type JsonWebKey, type KeyObject } from 'node:crypto';
import type { GeneratedKeyPair } from '#services/platform-manager/platform-manager.types';
export declare function generateKeyPair(): Promise<GeneratedKeyPair>;
export declare function jwkToRsa(jwk: JsonWebKey): KeyObject;
export declare function rsaToJwk(pem: string): JsonWebKey;