2016-11-11 13:17:50 +00:00
|
|
|
/// <reference types="q" />
|
|
|
|
import 'typings-global';
|
|
|
|
import * as q from 'q';
|
2017-01-01 17:05:26 +00:00
|
|
|
import { SmartacmeHelper, IRsaKeypair } from './smartacme.classes.helper';
|
2016-11-11 13:17:50 +00:00
|
|
|
/**
|
|
|
|
* class SmartAcme exports methods for maintaining SSL Certificates
|
|
|
|
*/
|
2016-11-01 17:27:57 +00:00
|
|
|
export declare class SmartAcme {
|
2017-01-01 17:05:26 +00:00
|
|
|
helper: SmartacmeHelper;
|
|
|
|
acmeUrl: string;
|
2016-11-11 13:17:50 +00:00
|
|
|
productionBool: boolean;
|
2017-01-01 17:05:26 +00:00
|
|
|
keyPair: IRsaKeypair;
|
|
|
|
JWK: any;
|
2016-11-07 17:41:52 +00:00
|
|
|
/**
|
2017-01-01 17:05:26 +00:00
|
|
|
* the constructor for class SmartAcme
|
2016-11-07 17:41:52 +00:00
|
|
|
*/
|
2017-01-01 17:05:26 +00:00
|
|
|
constructor(productionArg?: boolean);
|
2016-11-07 17:41:52 +00:00
|
|
|
/**
|
2016-11-11 13:17:50 +00:00
|
|
|
* creates an account if not currently present in module
|
2017-01-01 17:05:26 +00:00
|
|
|
* @executes ASYNC
|
2016-11-07 17:41:52 +00:00
|
|
|
*/
|
2016-11-11 13:17:50 +00:00
|
|
|
createAccount(): q.Promise<{}>;
|
2016-11-01 17:27:57 +00:00
|
|
|
}
|