When I execute:
//Convert public key from PEM to DER
openssl rsa -inform PEM -in public_key.pem -out public_key.der
-outform DER -pubin -pubout
I get a 162 byte file.
When I execute:
//Create public key in DER format
openssl rsa -in private_key.pem -pubout -outform DER -out public_key.der
I get a 160 byte file.
Any ideas why?
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org