If you haven't figured it out yet, you need to provide the -a/-base64 option
to 'openssl enc' to encode/decode the base64 data. Check 'man enc'.
-Sandeep
On Sun, Sep 5, 2010 at 1:13 PM, tera tellence wrote:
> Hi,
>
> Thank you for the reply.
>
> I now send the signature and original message as b
Hi,
Thank you for the reply.
I now send the signature and original message as base64 format from System
A(Java Machine) and now at System B I decode it using:
openssl enc -d -in sig.b64 -out sig.bin
But unfortunately, the output file is empty!
I wonder why!
Also, I do the same on my original
> From: owner-openssl-us...@openssl.org On Behalf Of tera tellence
> Sent: Friday, 03 September, 2010 04:13
> I have to sign a message with a private key using the sha1
> with RSA using the Java JCE(Bouncy Castle engine) on System A.
> I then have to pass the public key,
Dear all,
I have to sign a message with a private key using the sha1 with RSA using
the Java JCE(Bouncy Castle engine) on System A.
I then have to pass the public key, the original message and the signature
to System B which uses OpenSSL to verify the signature.
At the openSSL end, I use:
ope