Table of Contents

Class CertificateExtension

Namespace
Fluxzy.Certificates
Assembly
Fluxzy.Core.dll

Utilities to operate on X509Certificate

public static class CertificateExtension
Inheritance
CertificateExtension
Inherited Members

Methods

ExportToPem(X509Certificate)

Export the certificate to a PEM byte array

public static byte[] ExportToPem(this X509Certificate cert)

Parameters

cert X509Certificate

Returns

byte[]

ExportToPem(X509Certificate, Stream)

Export the certificate to a PEM stream

public static void ExportToPem(this X509Certificate cert, Stream stream)

Parameters

cert X509Certificate
stream Stream

ExportToPem(X509Certificate, string)

Export the certificate to a PEM file

public static void ExportToPem(this X509Certificate cert, string fileName)

Parameters

cert X509Certificate
fileName string