Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/security/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Security Windows Phone 7上的TLS-在Bouncy Castle中发送客户端证书_Security_Ssl_Windows Phone 7.1_Bouncycastle_Client Certificates - Fatal编程技术网

Security Windows Phone 7上的TLS-在Bouncy Castle中发送客户端证书

Security Windows Phone 7上的TLS-在Bouncy Castle中发送客户端证书,security,ssl,windows-phone-7.1,bouncycastle,client-certificates,Security,Ssl,Windows Phone 7.1,Bouncycastle,Client Certificates,我使用Bouncy Castle向WindowsPhone7上的服务器发送客户端证书时遇到问题 我创建了自己的TlsAuthentication和从接口继承的TlsCredential类。但在方法上 public TlsCredentials GetClientCredentials(CertificateRequest certificateRequest) { return this.TlsCredentials; } 出现异常 以下是我的例外: An ex

我使用Bouncy Castle向WindowsPhone7上的服务器发送客户端证书时遇到问题

我创建了自己的TlsAuthentication和从接口继承的TlsCredential类。但在方法上

public TlsCredentials GetClientCredentials(CertificateRequest certificateRequest)
    {
        return this.TlsCredentials;
    }
出现异常

以下是我的例外:

An exception of type 'Org.BouncyCastle.Crypto.Tls.TlsFatalAlert' occurred in bouncywp71.DLL and wasn't handled before a managed/native boundary

A first chance exception of type 'System.IO.IOException' occurred in bouncywp71.DLL

An exception of type 'System.IO.IOException' occurred in bouncywp71.DLL and wasn't handled before a managed/native boundary

Internal TLS error, this could be an attack
at Org.BouncyCastle.Crypto.Tls.TlsProtocolHandler.FailWithError(AlertLevel alertLevel, AlertDescription alertDescription)
at Org.BouncyCastle.Crypto.Tls.TlsProtocolHandler.SafeReadData()
at Org.BouncyCastle.Crypto.Tls.TlsProtocolHandler.Connect(TlsClient tlsClient)
at MYAPP.MyTest2.Network.Security.MyTestSecureClient.HandleConnectionReady()
at SocketEx.TcpClient.InnerConnect(EndPoint myEndpoint)
at MYAPP.MyTest2.Network.Security.MyTestSecureClient..ctor(String host, Int32 port, TlsClient tlsClient)
at MYAPP.MyTest2.Network.Security.MyTestSecureClient..ctor(String host, Int32 port)
at MYAPP.MyTest2.Network.ConnectionManager.CreateConnection(String host, Int32 port)
at MYAPP.MyTest2.Network.ConnectionManager..ctor(String host, Int32 port)
at MYAPP.MyTest2.Network.MyTestService.CreateConnectionManager(String host, Int32 port)
at MYAPP.MyTest2.Network.MyTestService.Login(LoginRequestModel request)
at MYAPP.MyTest2.ViewModel.LoginViewModel.<Login>b__1()
at MYAPP.MyTest2.Common.Helpers.ThreadHandler.<>c__DisplayClass3`1.<Execute>b__0(Object x)
如果有人知道如何解决这个问题,请帮助我

问候,, 阿图尔