Re: Help with XML Encryption

2004-04-17 Thread Berin Lautenbach
Daniel wrote: Thanks Berin. I got all the stuff from CVS, got the config.xml to load correctly (whew), and now XMLCipherTester is working for 5 out of 9 tests, which is good enough for my purposes for now. That sounds like you might be using a 1.3 JCE? If I am not completely lost, version 1.

Re: Help with XML Encryption

2004-04-17 Thread Daniel
Thanks Berin. I got all the stuff from CVS, got the config.xml to load correctly (whew), and now XMLCipherTester is working for 5 out of 9 tests, which is good enough for my purposes for now. If I am not completely lost, version 1.04 does NOT contain the XMLCipher class at all, and so my build

Re: Help with XML Encryption

2004-04-16 Thread Berin Lautenbach
Daniel, I'm not too sure how far back you are going with the version you were using. But Axl started a complete rewrite that got incorporated into the library (replacing the old alpha code) about 6 months ago (I think - my memory for dates is shocking :>). You might also want to have a look i

Re: Help with XML Encryption

2004-04-16 Thread Daniel
Thanks Berin. It's true, it's hard to figure out how to get these things working since the classes have changed A LOT. I can see how the constants have been moved to the config.xml and later appear in the EncryptionConstants class, but I don't understand how the XmlCipher (in the older version

Re: Help with XML Encryption

2004-04-16 Thread Berin Lautenbach
Daniel, Vishal provided twp samples for this. Have a look-see at http://cvs.apache.org/viewcvs.cgi/xml-security/src_samples/org/apache/xml/security/samples/encryption/ Both these are in the 1.1 release, but it looks like I may be about to re-package that, so I hesitate to point you to it. Che

Help with XML Encryption

2004-04-16 Thread Daniel
I'm sure this is a repeat question, but I can only see two weeks of this list. Please help: Using Apache XML Security I can sucessfully create and verify a signature, but I don't have sample code for encrypting (and decrypting) with the lib. Can anybody give me some sample code, please? Any co