none
Importing the public key of asymmetric key object into RSACryptoServiceProvider RRS feed

Answers

  • Hi Yousef,

     

    Now the question is How can I use the public key in RSACryptoServiceProvider   ?

    In order to use this public key in RSACryptoServiceProvider, we have to retrieve it from database. Using GetBytes method of SqlDataReader will help us to retrieve this public key and store it in a byte array. Then we could parse this byte array to RSACryptoServiceProvider.

     

    If anything is unclear, please let me know.


    Regards,
    Tom Li
    Monday, October 4, 2010 11:13 AM
    Moderator