RE: Skipping the OID and BIT string prefix in DER formatted RSA keys

2010-07-01 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Nick Kelsey > Sent: Thursday, 01 July, 2010 02:00 > 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, f

Skipping the OID and BIT string prefix in DER formatted RSA keys

2010-07-01 Thread Nick Kelsey
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 (lea