Hi,
No, the key from my previous mail was just a demonstration..bad idea.
My original key is like this:
char test_public_key_b64[] =
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDfwqtxpIfOjFgs6Y1G..."
and I think it is base64 encoded. I generated the key with
$ openssl rsa -in rsa.private -out rsa.pu
Hi,
how can I load a public key from a char array into an RSA* stucture?
char pubkey[] = "Xajztuaewfbfsg765tewaufe78...";
The key does not have any PEM headers.
Thank you for advice!
Thomas Hecker
__
OpenS