In my application i am receiving RSA private key that is being generated using C code. in c RSA library is used.
Now i am not getting how to load that private key into RSAPrivateKey Object.
Please let me know how could i do that.
RSA Lib I am using consists of:-
It would be great if i can get how to load private key from the one generated by c code.
Joined: Feb 23, 2012
The process that c code is using to generate both keys is,
First it is using R_GeneratePEMKeys for getting Public and Private key Object.
Than it is using R_EcodePEMBlock function to encode both private and public key individually.
I am receiving this PEM Encoded private key.
Now i have to load RSAPrivatekey object using this key object.
How can i do that?