2017-01-14 17:36:33 +00:00
|
|
|
/// <reference types="q" />
|
|
|
|
import * as q from 'q';
|
|
|
|
import { SmartAcme } from './smartacme.classes.smartacme';
|
|
|
|
/**
|
|
|
|
* class AcmeAccount represents an AcmeAccount
|
|
|
|
*/
|
2017-01-14 13:14:50 +00:00
|
|
|
export declare class AcmeAccount {
|
2017-01-14 17:36:33 +00:00
|
|
|
parentSmartAcme: SmartAcme;
|
|
|
|
location: string;
|
|
|
|
link: string;
|
|
|
|
JWK: any;
|
|
|
|
constructor(smartAcmeParentArg: SmartAcme);
|
|
|
|
/**
|
|
|
|
* register the account with letsencrypt
|
|
|
|
*/
|
|
|
|
register(): q.Promise<{}>;
|
|
|
|
/**
|
|
|
|
* agree to letsencrypr terms of service
|
|
|
|
*/
|
|
|
|
agreeTos(): q.Promise<{}>;
|
|
|
|
createAcmeCert(domainNameArg: string): void;
|
2017-01-14 13:14:50 +00:00
|
|
|
}
|