<PackageReference Include="Azure.Core" Version="1.45.0" />

ServerCertificateCustomValidationArgs

Enables configuration of options for the HttpClientTransport
public X509Certificate2 Certificate { get; }

The certificate used to authenticate the remote party.

The chain of certificate authorities associated with the remote certificate.

One or more errors associated with the remote certificate.

public ServerCertificateCustomValidationArgs(X509Certificate2 certificate, X509Chain certificateAuthorityChain, SslPolicyErrors sslPolicyErrors)

Initializes an instance of ServerCertificateCustomValidationArgs.