smartcert/dist/index.d.ts

26 lines
645 B
TypeScript

/// <reference types="q" />
import * as plugins from "./cert.plugins";
export declare class Cert {
private _cfEmail;
private _cfKey;
private _sslDir;
certificatesPresent: Certificate[];
certificatesValid: Certificate[];
gitOriginRepo: any;
constructor(optionsArg: {
cfEmail: string;
cfKey: string;
sslDir: string;
gitOriginRepo?: string;
});
getDomainCert(domainNameArg: string, optionsArg?: {
force: boolean;
}): plugins.q.Promise<{}>;
}
export declare class Certificate {
domainName: string;
creationDate: Date;
expiryDate: Date;
constructor();
}