CheckCertificateRevocation
public bool CheckCertificateRevocationpublic bool CheckCertificateRevocationpublic RemoteCertificateMode ClientCertificateModeRemoteCertificateMode. public TimeSpan HandshakeTimeoutpublic X509Certificate2 LocalCertificateSpecifies the local certificate used to authenticate TLS connections. This is ignored on server if LocalCertificateSelector is set.
To omit client authentication set to null on client and set TlsOptions to RemoteCertificateMode or RemoteCertificateMode on server.
If the certificate has an Extended Key Usage extension, the usages must include Server Authentication (OID 1.3.6.1.5.5.7.3.1) for server and Client Authentication (OID 1.3.6.1.5.5.7.3.2) for client.
public Func<object, string, X509CertificateCollection, X509Certificate, string[], X509Certificate2> LocalClientCertificateSelectorA callback that will be invoked to dynamically select a local client certificate. This is higher priority than LocalCertificate.
If the certificate has an Extended Key Usage extension, the usages must include Client Authentication (OID 1.3.6.1.5.5.7.3.2).
public Func<ConnectionContext, string, X509Certificate2> LocalServerCertificateSelectorA callback that will be invoked to dynamically select a local server certificate. This is higher priority than LocalCertificate. If SNI is not available then the name parameter will be null.
If the certificate has an Extended Key Usage extension, the usages must include Server Authentication (OID 1.3.6.1.5.5.7.3.1).
public Action<ConnectionContext, TlsClientAuthenticationOptions> OnAuthenticateAsClientTlsClientAuthenticationOptions on a per-connection basis. This is called after all of the other settings have already been applied. Use this to set the target host name for SNI (Server Name Indication) via TlsClientAuthenticationOptions. public Action<ConnectionContext, TlsServerAuthenticationOptions> OnAuthenticateAsServerTlsServerAuthenticationOptions on a per-connection basis. This is called after all of the other settings have already been applied. public RemoteCertificateMode RemoteCertificateModeRemoteCertificateMode. public RemoteCertificateValidator RemoteCertificateValidationTlsOptions is called after this callback is set. public SslProtocols SslProtocolsSystem.Security.Authentication.SslProtocols.Tls13 and System.Security.Authentication.SslProtocols.Tls12.