Saturday, December 27, 2014

How to import the server returns the private key???????????????????

There isn't a direct method/class available in WinRT that will let you initialize a RSACryptographicServiceProvider instance with the XML String, for example there is no function called as ...FromXmlString(...). You can however use the approach mentioned here: http://blogs.msdn.com/b/winsdk/archive/2013/04/14/how-to-get-a-cryptographic-public-key-from-a-certificate-in-a-windows-store-application.aspx to first retrieve the Base64 encoded Public key from the XML String above and then later on you can use this encoded public key to be used in your Windows Store app.


Windows Store Developer Solutions, follow us on Twitter: @WSDevSol|| Want more solutions? See our blog


No comments:

Post a Comment