Added Certificates interface

This commit is contained in:
Alexander Cerutti
2019-05-20 22:11:01 +02:00
parent 96004162c6
commit 5971e47853

View File

@@ -3,16 +3,19 @@ import debug from "debug";
const schemaDebug = debug("Schema"); const schemaDebug = debug("Schema");
export interface FactoryOptions { export interface Certificates {
model: { [key: string]: Buffer } | string; wwdr?: string;
certificates: { signerCert?: string;
wwdr: string; signerKey?: {
signerCert: string;
signerKey: {
keyFile: string; keyFile: string;
passphrase?: string; passphrase?: string;
}; };
}; _raw?: Certificates;
}
export interface FactoryOptions {
model: { [key: string]: Buffer } | string;
certificates: Certificates;
overrides?: Object; overrides?: Object;
shouldOverwrite?: boolean; shouldOverwrite?: boolean;
} }