now getting certificates
This commit is contained in:
0
dist/smartacme.classes.acmeaccount.d.ts
vendored
Normal file
0
dist/smartacme.classes.acmeaccount.d.ts
vendored
Normal file
1
dist/smartacme.classes.acmeaccount.js
vendored
Normal file
1
dist/smartacme.classes.acmeaccount.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRhY21lLmNsYXNzZXMuYWNtZWFjY291bnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9zbWFydGFjbWUuY2xhc3Nlcy5hY21lYWNjb3VudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
0
dist/smartacme.classes.acmecert.d.ts
vendored
Normal file
0
dist/smartacme.classes.acmecert.d.ts
vendored
Normal file
1
dist/smartacme.classes.acmecert.js
vendored
Normal file
1
dist/smartacme.classes.acmecert.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRhY21lLmNsYXNzZXMuYWNtZWNlcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9zbWFydGFjbWUuY2xhc3Nlcy5hY21lY2VydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
15
dist/smartacme.classes.smartacme.d.ts
vendored
15
dist/smartacme.classes.smartacme.d.ts
vendored
@ -2,6 +2,7 @@
|
||||
import 'typings-global';
|
||||
import * as q from 'q';
|
||||
import { SmartacmeHelper, IRsaKeypair } from './smartacme.classes.helper';
|
||||
export declare type TChallenge = 'dns-01' | 'http-01';
|
||||
/**
|
||||
* class SmartAcme exports methods for maintaining SSL Certificates
|
||||
*/
|
||||
@ -25,7 +26,17 @@ export declare class SmartAcme {
|
||||
createAccount(): q.Promise<{}>;
|
||||
agreeTos(): q.Promise<{}>;
|
||||
/**
|
||||
* requests a certificate
|
||||
* requests a challenge for a domain
|
||||
* @param domainNameArg - the domain name to request a challenge for
|
||||
* @param challengeType - the challenge type to request
|
||||
*/
|
||||
requestCertificate(domainNameArg: any): q.Promise<{}>;
|
||||
requestChallenge(domainNameArg: string, challengeTypeArg?: TChallenge): q.Promise<{}>;
|
||||
/**
|
||||
* getCertificate - takes care of cooldown, validation polling and certificate retrieval
|
||||
*/
|
||||
getCertificate(): void;
|
||||
/**
|
||||
* accept a challenge - for private use only
|
||||
*/
|
||||
private acceptChallenge(challenge);
|
||||
}
|
||||
|
43
dist/smartacme.classes.smartacme.js
vendored
43
dist/smartacme.classes.smartacme.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user