public CertificateValidationEventArgs(SessionEventArgsBase session, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) : base(session.ClientConnection)
 {
     Session         = session;
     Certificate     = certificate;
     Chain           = chain;
     SslPolicyErrors = sslPolicyErrors;
 }
Пример #2
0
 public CertificateSelectionEventArgs(SessionEventArgsBase session, string targetHost,
                                      X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string[] acceptableIssuers) : base(session.ClientConnection)
 {
     Session           = session;
     TargetHost        = targetHost;
     LocalCertificates = localCertificates;
     RemoteCertificate = remoteCertificate;
     AcceptableIssuers = acceptableIssuers;
 }