- 0
[C#] Can't send public key to client.
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
KB5012643 is causing issues with some apps in Windows 11, but there's a workaround
By Usama Jawad96,
- microsoft
- windows 11
- (and 12 more)
- 3 replies
- 14 views
-
- 12 answers
- 11,283 views
-
- 2 answers
- 2,250 views
-
- 2 answers
- 2,017 views
-
- 2 answers
- 4,691 views
-
Question
sathenzar
I have been using encryption for a bit now with no problem. However when trying to make a test windows 8 app I noticed I can't send the public key back to the client to send encrypted data back to the server. It always throws an exception. Here is my code:
Service code
I get this error: ASN1 bad tag value met. (Exception from HRESULT: 0x8009310B). No one at Microsoft's forums seem to be answering others questions similar to what I am asking so I am turning to neowin.net in hopes to get an answer (this post is someone asking a similar question: http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/204e55c3-d0c3-4736-bdb7-1ac41f62fd54 however I am just using the cspblob exported in this example, haven't tried the xml version yet). I'm going to post one myself to see if I get any luck.
Link to comment
https://www.neowin.net/forum/topic/1115837-c-cant-send-public-key-to-client/Share on other sites
1 answer to this question
Recommended Posts