C# 如何避免使用soap webservice的RSA算法中的特殊字符?

C# 如何避免使用soap webservice的RSA算法中的特殊字符?,c#,rsa,C#,Rsa,我正在使用RSA算法实现加密和解密。我正在调用webservice方法并返回特殊字符和图像作为响应。如何分配普通字符以获得响应 <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="htt

我正在使用RSA算法实现加密和解密。我正在调用webservice方法并返回特殊字符和图像作为响应。如何分配普通字符以获得响应

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Server was unable to process request. ---&gt; The system cannot find the file specified.
</faultstring>
<detail />
</soap:Fault>
</soap:Body>
</soap:Envelope>

似乎与RSA无关,似乎服务器上某处抛出了FileNotFountException。似乎是错误的日志行,否则问题和响应似乎完全无关。