If I have:
$certificate = "/home/oracle/certs/oracle.pem";
$encoded = encode_base64($sha1data);

Can I do something like this:

system('openssl smime smime -sign -outform der -nodetach -out $signed
-signer $certificate -in $encoded');

To get a value for $signed?

Paul Fontenot
WFS - CAST Operations
Email: [EMAIL PROTECTED]
Phone: (480) 437-7795

This message may contain confidential and/or privileged information.  If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein.  If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message.
Thank you for your cooperation.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to