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

22 lines
693 B
TypeScript
Raw Normal View History

2017-01-14 17:36:33 +00:00
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
*/
2017-04-28 16:56:55 +00:00
register(): Promise<{}>;
2017-01-14 17:36:33 +00:00
/**
* agree to letsencrypr terms of service
*/
2017-04-28 16:56:55 +00:00
agreeTos(): Promise<{}>;
createAcmeCert(domainNameArg: string, countryArg?: string, countryShortArg?: string, city?: string, companyArg?: string, companyShortArg?: string): Promise<AcmeCert>;
2017-01-14 13:14:50 +00:00
}