Table of Contents

Class CertificateAuthorityManager

Namespace
Fluxzy.Certificates
Assembly
Fluxzy.Core.dll

An utility to create and manage certificate authority

public abstract class CertificateAuthorityManager
Inheritance
CertificateAuthorityManager
Derived
Inherited Members

Methods

CheckAndInstallCertificate(X509Certificate2)

Check if the provided certificate is installed a root CA

public virtual void CheckAndInstallCertificate(X509Certificate2 certificate)

Parameters

certificate X509Certificate2

DumpDefaultCertificate(Stream)

Write the default CA Certificate without private key

public virtual void DumpDefaultCertificate(Stream stream)

Parameters

stream Stream

EnumerateRootCertificates()

List all installed root certificates

public abstract IEnumerable<CaCertificateInfo> EnumerateRootCertificates()

Returns

IEnumerable<CaCertificateInfo>

InstallCertificate(X509Certificate2)

Install a certificate as root certificate

public abstract ValueTask<bool> InstallCertificate(X509Certificate2 certificate)

Parameters

certificate X509Certificate2

Returns

ValueTask<bool>

InstallDefaultCertificate()

Install the default root CA

public virtual ValueTask<bool> InstallDefaultCertificate()

Returns

ValueTask<bool>

IsCertificateInstalled(X509Certificate2)

Check whether a certificate is installed as root certificate

public abstract bool IsCertificateInstalled(X509Certificate2 certificate)

Parameters

certificate X509Certificate2

Returns

bool

RemoveCertificate(string)

Remove a certificate from the root store

public abstract ValueTask<bool> RemoveCertificate(string thumbPrint)

Parameters

thumbPrint string

Returns

ValueTask<bool>