UNPKG

trusted-cert

Version:

A simple tool to generate self signed x509 certificate

17 lines (16 loc) 654 B
import { TrustedCert } from './lib/trusted-cert'; export { TrustedCert }; export declare function certificateFor(hosts: string[]): Promise<{ trusted: boolean; key: string; cert: string; keyFilePath: string; certFilePath: string; }>; export declare function install(hosts: string[]): Promise<void>; export declare function uninstall(): Promise<false | undefined>; export declare function info(): Promise<void>; export declare function doTrust(): Promise<void>; export declare const addHosts: (hosts?: string[]) => Promise<boolean>; export declare const setConfig: () => void; export declare const mergeLan: () => void;