2016-11-11 13:17:50 +00:00
|
|
|
/// <reference types="q" />
|
|
|
|
import 'typings-global';
|
|
|
|
import * as q from 'q';
|
|
|
|
/**
|
|
|
|
* class SmartAcme exports methods for maintaining SSL Certificates
|
|
|
|
*/
|
2016-11-01 17:27:57 +00:00
|
|
|
export declare class SmartAcme {
|
2016-11-11 13:17:50 +00:00
|
|
|
preparedBool: boolean;
|
|
|
|
acmeUrls: any;
|
|
|
|
productionBool: boolean;
|
|
|
|
keyPair: any;
|
|
|
|
constructor(productionArg?: boolean);
|
2016-11-07 17:41:52 +00:00
|
|
|
/**
|
2016-11-11 13:17:50 +00:00
|
|
|
* prepares the SmartAcme class
|
2016-11-07 17:41:52 +00:00
|
|
|
*/
|
2016-11-11 13:17:50 +00:00
|
|
|
prepareAcme(): q.Promise<{}>;
|
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
|
2016-11-07 17:41:52 +00:00
|
|
|
*/
|
2016-11-11 13:17:50 +00:00
|
|
|
createAccount(): q.Promise<{}>;
|
|
|
|
/**
|
|
|
|
* creates a keyPair
|
|
|
|
*/
|
|
|
|
createKeyPair(): q.Promise<{}>;
|
|
|
|
/**
|
|
|
|
* gets the Acme Urls
|
|
|
|
*/
|
|
|
|
getAcmeUrls(): q.Promise<{}>;
|
2016-11-01 17:27:57 +00:00
|
|
|
}
|