Azure.Identity.X509Certificate2FromPathProvider
X509Certificate2FromPathProvider provides an X509Certificate2 from "pfx"- and "pem"-encoded certificates
on disk and the platform certificate store.
namespace Azure.Identity
{
internal sealed class X509Certificate2FromPathProvider : IX509Certificate2Provider
{
private delegate void ImportPkcs8PrivateKeyDelegate (ReadOnlySpan<byte> blob, out int bytesRead);
public X509Certificate2FromPathProvider(string clientCertificatePath, string certificatePassword);
public ValueTask<X509Certificate2> GetCertificateAsync(bool async, CancellationToken cancellationToken);
}
}