xmldsigjs
Version:
XML Digital Signature implementation in TypeScript/JavaScript using Web Crypto API
18 lines (17 loc) • 447 B
TypeScript
export interface CryptoEx extends Crypto {
name: string;
}
export declare class Application {
/**
* Sets crypto engine for the current Application
* @param {string} name
* @param {Crypto} crypto
* @returns void
*/
static setEngine(name: string, crypto: Crypto): void;
/**
* Gets the crypto module from the Application
*/
static get crypto(): CryptoEx;
static isNodePlugin(): boolean;
}