Using asymmetric encryption between Xamarin PCL Client and Web Api

Asked

Viewed 228 times

1

I have a problem creating an asymmetric encryption between my client App using Xamarin Forms (PCL) and the server (Web Api). I did it using symmetry and they asked me to modify it. I already do everything via SSL, but still want the asymmetric encryption for the data in querystring and the result of json.

My question is: Can I request the public key from the server and pass it via querystring normally to encrypt? Another question: Can I put a private key fixed and it create the public from it ? Or does this leave vulnerable ?

If anyone has any examples using Pclcrypto or Bouncycastle for asymmetric, please post here. I can’t find

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.