2025-11-22 02:16:10 +01:00
|
|
|
|
using System.Runtime.Versioning;
|
|
|
|
|
|
|
|
|
|
|
|
namespace ElectronNET.API.Entities
|
2017-10-14 00:06:58 +02:00
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Options for app.importCertificate(options) on Linux.
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// </summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
|
|
|
|
|
[SupportedOSPlatform("linux")]
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public class ImportCertificateOptions
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Path for the pkcs12 file.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Certificate { get; set; }
|
2025-11-09 03:50:24 +01:00
|
|
|
|
|
2017-10-14 00:06:58 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Passphrase for the certificate.
|
|
|
|
|
|
/// </summary>
|
2025-11-09 03:50:24 +01:00
|
|
|
|
public string Password { get; set; }
|
2017-10-14 00:06:58 +02:00
|
|
|
|
}
|
2025-11-09 03:50:24 +01:00
|
|
|
|
}
|