loading an RSA pubkey that is hex encoded and DER

2004-05-01 Thread Eleanor Nagai
Hi! I'm somewhat new to the crypto world and openssl so I appologize if this comes across a bit confusing. I have an RSA public key generated by crypto++ that is in DER format and hex (not base64) encoded. I also have a signature created with the associated RSA private key using SHA1 digest and

RE: loading an RSA pubkey that is hex encoded and DER

2004-05-01 Thread Steven Reddie
Hi, I think the term you were looking for was binary, meaning not a text file. If by dgst you mean the openssl command line utility, try adding the parameter "-keyform der". If that doesn't work you'll need to convert the key to PEM (base64 encoding of the DER). The command "openssl rsa -inform