System.Net.Security.SslState.ValidateCreateContext C# (CSharp) Method

ValidateCreateContext() private method

private ValidateCreateContext ( bool isServer, string targetHost, SslProtocols enabledSslProtocols, X509Certificate serverCertificate, X509CertificateCollection clientCertificates, bool remoteCertRequired, bool checkCertRevocationStatus ) : void
isServer bool
targetHost string
enabledSslProtocols SslProtocols
serverCertificate X509Certificate
clientCertificates X509CertificateCollection
remoteCertRequired bool
checkCertRevocationStatus bool
return void
        internal void ValidateCreateContext(bool isServer, string targetHost, SslProtocols enabledSslProtocols, X509Certificate serverCertificate, X509CertificateCollection clientCertificates, bool remoteCertRequired, bool checkCertRevocationStatus)
        {
        }

Same methods

SslState::ValidateCreateContext ( bool isServer, string targetHost, SslProtocols enabledSslProtocols, X509Certificate serverCertificate, X509CertificateCollection clientCertificates, bool remoteCertRequired, bool checkCertRevocationStatus, bool checkCertName ) : void

Usage Example

Esempio n. 1
0
        public virtual void AuthenticateAsClient(string targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, bool checkCertificateRevocation)
        {
            SecurityProtocol.ThrowOnNotAllowed(enabledSslProtocols);

            _sslState.ValidateCreateContext(false, targetHost, enabledSslProtocols, null, clientCertificates, true, checkCertificateRevocation);
            _sslState.ProcessAuthentication(null);
        }
All Usage Examples Of System.Net.Security.SslState::ValidateCreateContext