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:

ParameterTypeDescription
optionsElectronImportCertificateOptionsThe certificate import options.
callback(result: number) => voidCalled with the result of the import operation (0 indicates success).

Returns: void