Hi everybody! 

For a file exchange (xml files) between internal applications we have the need 
to sign them digitally. Till now we are using the command-line with openssl. 
The receiving application uses the S/MIME / CMS format for verifying. 

openssl smime -sign -in department12.export -out department12s.export -signer 
transport.crt -inkey transport.key -certfile chain.crt -outform der -nodetach 

Due to some sysop restrictions we have the need to move from a file system 
based signing to a Java String signing. For that I've looked into the BC 
classes which look very promising to me. As a test I've build some small 
classes, which should "imitate" the above shown openssl command. But....it 
doesn't work the way it should.

Anybody got an idea how to "imitate" the openssl behavior? Or can somebody 
explain to me what the above parameter does with the text file (smime signing, 
cms signing, enveloping...??)?

Thanks? 

-- rwf 
-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!                       
Jetzt informieren: http://www.gmx.net/de/go/freephone
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to