Hi
Here is my situation :
- I generate a RSA key pair with SecKeyGeneratePair
- I send the public key to my server
- Server uses it to encrypt data/string with RSA algorithm and padding OAEP
- I want to decrypt the data/string it returns to me with my private key but I can't
I would like to know if it is possible to decrypt a data/string given by the server encrypted with RSA and padding OAEP?
I looked for an answer with SecKeyDecrypt() but it seems impossible to use it for OAEP, so is there any other option for me to do it?
Thanks in advance
EDIT : I forgot to precise i'm looking for a solution on iOS min 8.0