Hi, I have a Java app and I want to include some encryption/signing functionality into it. After searching the net a bit, I found out about Network Security Services for java (JSS).
My question is, can I use this library to sign/encrypt an xml file? I assume the answer is yes, but the documentation is lacking on the main developer page. Can someone point me to some sample code on encrypting/decrypting with JSS?
The documentation is poor, but you can use JSS to sign/encrypt and you should use the Mozilla-JSS provider.
first read: http://www.mozilla.org/projects/security/pki/jss/provider_notes.html
also read the JSS FAQ:
Then take a look at the sample directory.
http://lxr.mozilla.org/mozilla/source/security/jss/org/mozilla/jss/tests
JCASigTest is a good example for signature http://lxr.mozilla.org/mozilla/source/security/jss/org/mozilla/jss/tests/JCASigTest.java but there is not updated example for encrypt/decrypt using http://www.mozilla.org/projects/security/pki/jss/provider_notes.html#Cipher but you should be able to get it to work.
-glen
but
then take a look at the sample directory:
_______________________________________________ mozilla-crypto mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-crypto
