Hi!
 
can anyone help me?
 
I have got a X509 certificate, in BER format, from smartcard. I need to encrypt a random numbre using the public key, which is stored in thar certificate. After, I want to decrypt that number. And this is my problem:
 
1) How can I get the public key from certficate?
2) How can I get the private key from certificate?
3) How can I encrypt and decrypt a random number using RSA?
 
Thanks

Reply via email to