protected virtual void NotifyClientCertificate(Certificate clientCertificate) { if (mCertificateRequest == null) { throw new InvalidOperationException(); } if (mPeerCertificate != null) { throw new TlsFatalAlert(10); } mPeerCertificate = clientCertificate; if (clientCertificate.IsEmpty) { mKeyExchange.SkipClientCredentials(); } else { mClientCertificateType = TlsUtilities.GetClientCertificateType(clientCertificate, mServerCredentials.Certificate); mKeyExchange.ProcessClientCertificate(clientCertificate); } mTlsServer.NotifyClientCertificate(clientCertificate); }
protected virtual void NotifyClientCertificate(Certificate clientCertificate) { //IL_0008: Unknown result type (might be due to invalid IL or missing references) if (mCertificateRequest == null) { throw new InvalidOperationException(); } if (mPeerCertificate != null) { throw new TlsFatalAlert(10); } mPeerCertificate = clientCertificate; if (clientCertificate.IsEmpty) { mKeyExchange.SkipClientCredentials(); } else { mClientCertificateType = TlsUtilities.GetClientCertificateType(clientCertificate, mServerCredentials.Certificate); mKeyExchange.ProcessClientCertificate(clientCertificate); } mTlsServer.NotifyClientCertificate(clientCertificate); }