24 lines
619 B
TypeScript
24 lines
619 B
TypeScript
/// <reference types="q" />
|
|
import 'typings-global';
|
|
import * as q from 'q';
|
|
import { SmartacmeHelper, IRsaKeypair } from './smartacme.classes.helper';
|
|
/**
|
|
* class SmartAcme exports methods for maintaining SSL Certificates
|
|
*/
|
|
export declare class SmartAcme {
|
|
helper: SmartacmeHelper;
|
|
acmeUrl: string;
|
|
productionBool: boolean;
|
|
keyPair: IRsaKeypair;
|
|
JWK: any;
|
|
/**
|
|
* the constructor for class SmartAcme
|
|
*/
|
|
constructor(productionArg?: boolean);
|
|
/**
|
|
* creates an account if not currently present in module
|
|
* @executes ASYNC
|
|
*/
|
|
createAccount(): q.Promise<{}>;
|
|
}
|