RSA PKCS.
The current client implementation is pretty simple in C#.
RSACryptoServiceProvider rsa = new RSACryptoServiceProvider();
rsa.ToXmlString(false);
I am sending everything to the server correctly and am getting back a
successful response, however, I am getting an error when decrypting the
response.
decrypted, decErr := rsa.DecryptPKCS1v15(rand.Reader, pKey, fromXML)
The decErr is not nil.
I was wondering if anyone had experience with writing an RSA client for a
C# server and can offer their experiences.
So far, I tried changing the decryption to OAEP with a sha1 hash. That did
not work. The exchange is happening using SOAP. I am parsing the body of
the soap response successfully so I don' t believe the problem with how I'm
using SOAP.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.