Hi guys,

I am using the following command to output the public key for a given
RSA private key:
openssl rsa -in keyfile.private.pem -pubout -outform DER

The output includes a SEQ with an OID, followed by a BIT string
containing the DER formatted public key I need.
Deleting the first 22 bytes (leaving everything after the BIT string
header) worked in the target application.

Is there a trick to getting openssl not to output the OID and BIT string
wrapper?

Thanks,

Nick
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to