Table of Contents

Class ExtendedMacOsCertificateInstaller

Namespace
Fluxzy.Certificates
Assembly
Fluxzy.Core.dll

Extended certificate installer for MacOs

public static class ExtendedMacOsCertificateInstaller
Inheritance
ExtendedMacOsCertificateInstaller
Inherited Members

Methods

Install(X509Certificate2, bool)

Install certificate with : security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain r.cer

public static bool Install(X509Certificate2 certificate, bool tryElevate)

Parameters

certificate X509Certificate2
tryElevate bool

Returns

bool

IsCertificateInstalled(X509Certificate2, bool)

Check if certificate is installed with : security verify-cert -c

public static bool IsCertificateInstalled(X509Certificate2 certificate, bool tryElevate)

Parameters

certificate X509Certificate2
tryElevate bool

Returns

bool