smartacme/dist/smartacme.classes.helper.d.ts

22 lines
546 B
TypeScript
Raw Normal View History

2017-01-01 20:20:12 +00:00
/// <reference types="q" />
import 'typings-global';
2017-01-01 20:20:12 +00:00
import * as q from 'q';
import { SmartAcme } from './smartacme.classes.smartacme';
export interface IRsaKeypair {
publicKey: string;
privateKey: string;
}
export declare class SmartacmeHelper {
2017-01-01 20:20:12 +00:00
parentSmartAcme: SmartAcme;
constructor(smartAcmeArg: SmartAcme);
/**
* creates a keypair to use with requests and to generate JWK from
*/
createKeypair(bit?: number): IRsaKeypair;
2017-01-01 20:20:12 +00:00
/**
* getReg
* @executes ASYNC
*/
getReg(): q.Promise<{}>;
}