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

2004-05-05 Thread Eleanor Nagai
that is hex encoded and DER On Mon, May 03, 2004, Eleanor Nagai wrote: > Steven, > > Hi! > > Thanks very much for your response. I tried the -keyform option in the dgst > command but get the message "unable to load key file". So I tried your > suggestion >

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

2004-05-03 Thread Dr. Stephen Henson
On Mon, May 03, 2004, Eleanor Nagai wrote: > Steven, > > Hi! > > Thanks very much for your response. I tried the -keyform option in the dgst > command but get the message "unable to load key file". So I tried your > suggestion > to convert the key to pem format using: > > openssl

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

2004-05-03 Thread Eleanor Nagai
do is convert the public key, presumably in hex, to base64? Does this sound reasonable? thanks again for your help, e -Original Message- From: Steven Reddie [mailto:[EMAIL PROTECTED] Sent: Saturday, May 01, 2004 10:41 PM To: [EMAIL PROTECTED] Subject: RE: loading an RSA pubkey th

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