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