If you don't specify -out the openssl command (I think, untested)
will spit the results to STDOUT, in which case you could do this:
$results = `openssl smime smime -sign -outform der -nodetach -signer
$certificate -in $encoded`;
and then you probably want to chomp $results, or parse them in
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 Operation