smartacme/dist/smartacme.classes.acmeaccount.d.ts

24 lines
751 B
TypeScript
Raw Normal View History

2017-01-14 17:36:33 +00:00
/// <reference types="q" />
import * as q from 'q';
import { SmartAcme } from './smartacme.classes.smartacme';
2017-01-15 21:30:33 +00:00
import { AcmeCert } from './smartacme.classes.acmecert';
2017-01-14 17:36:33 +00:00
/**
* 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<{}>;
2017-01-15 21:30:33 +00:00
createAcmeCert(domainNameArg: string, countryArg?: string, countryShortArg?: string, city?: string, companyArg?: string, companyShortArg?: string): q.Promise<AcmeCert>;
2017-01-14 13:14:50 +00:00
}