Has anyone been sucessful in getting/reading a RSA or DSA public key
using the openssl functions?
openssl_get_publickey should work with PEM files, but it doesn't...
I've tried creating a X.509 certificate, putting the public key in
there and getting it out with openssl_get_publickey, but it doesn't
work either...
All I want to do is to decrypt some data using a public key received
from the user. Ideas?