UNPKG

@netapps/netapps-crypto

Version:

pure JavaScript cryptographic library(jsrsasign) and JSON Web Token (JWT) and JSON Web Signature (JWS) library (jsjws) bundle

23 lines (17 loc) 461 B
// Type definitions for netapps-crypto interface jsrsasignStatic { //parse<T>(buffer: Buffer): T; //serialize(object: any): Buffer; KEYUTIL: any; asn1: any; X509: any; hextob64u: (str: string) => string; jws: any; b64utohex: (str: string) => string; b64tob64u: (str: string) => string; crypto: any; } declare module "@netapps/netapps-crypto" { var rsa: jsrsasignStatic; export = rsa; }