Skip to content

ElectronApp.importCertificate method

ElectronApp › importCertificate

Unofficial

Imports the certificate in pkcs12 format into the platform certificate store. Linux only.

Signature:

importCertificate(options: ElectronImportCertificateOptions, callback: (result: number) => void): void

Parameters:

Parameter Type Description
options ElectronImportCertificateOptions The certificate import options.
callback (result: number) => void Called with the result of the import operation (0 indicates success).

Returns: void