Redigera

Dela via


X509CertificateLoader Class

Definition

public ref class X509CertificateLoader abstract sealed
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static class X509CertificateLoader
public static class X509CertificateLoader
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
type X509CertificateLoader = class
type X509CertificateLoader = class
Public Class X509CertificateLoader
Inheritance
X509CertificateLoader
Attributes

Methods

LoadCertificate(Byte[])

Loads a single X.509 certificate from data, in either the PEM or DER encoding.

LoadCertificate(ReadOnlySpan<Byte>)

Loads a single X.509 certificate from data, in either the PEM or DER encoding.

LoadCertificateFromFile(String)

Loads a single X.509 certificate (in either the PEM or DER encoding) from the specified file.

LoadPkcs12(Byte[], String, X509KeyStorageFlags, Pkcs12LoaderLimits)

Loads the provided data as a PKCS#12 PFX and extracts a certificate.

LoadPkcs12(ReadOnlySpan<Byte>, ReadOnlySpan<Char>, X509KeyStorageFlags, Pkcs12LoaderLimits)

Loads the provided data as a PKCS#12 PFX and extracts a certificate.

LoadPkcs12Collection(Byte[], String, X509KeyStorageFlags, Pkcs12LoaderLimits)

Loads the provided data as a PKCS#12 PFX and returns a collection of all of the certificates therein.

LoadPkcs12Collection(ReadOnlySpan<Byte>, ReadOnlySpan<Char>, X509KeyStorageFlags, Pkcs12LoaderLimits)

Loads the provided data as a PKCS#12 PFX and returns a collection of all of the certificates therein.

LoadPkcs12CollectionFromFile(String, ReadOnlySpan<Char>, X509KeyStorageFlags, Pkcs12LoaderLimits)

Opens the specified file, reads the contents as a PKCS#12 PFX and extracts a certificate. Loads the provided data as a PKCS#12 PFX and returns a collection of all of the certificates therein.

LoadPkcs12CollectionFromFile(String, String, X509KeyStorageFlags, Pkcs12LoaderLimits)

Opens the specified file, reads the contents as a PKCS#12 PFX and extracts a certificate. Loads the provided data as a PKCS#12 PFX and returns a collection of all of the certificates therein.

LoadPkcs12FromFile(String, ReadOnlySpan<Char>, X509KeyStorageFlags, Pkcs12LoaderLimits)

Opens the specified file, reads the contents as a PKCS#12 PFX and extracts a certificate.

LoadPkcs12FromFile(String, String, X509KeyStorageFlags, Pkcs12LoaderLimits)

Opens the specified file, reads the contents as a PKCS#12 PFX and extracts a certificate.

Applies to