Re: Validation and schema check conflict

2008-08-12 Thread Anri Lau
Hi All Does the classes DOMConfiguration and DOMNormalizer relate with the following issue? Anyone can give me an advice, pls? Thank you! 2008/8/7 Anri Lau <[EMAIL PROTECTED]> > Hi all > > I have two requirement for XML validation: the schema check and digital > signature validation. > At fir

Re: how sign an xml file ?

2008-08-12 Thread edward . thompson
I don't understand your question. If you are signing an XML file, you have to create the signature node first: public static Element signAssertion(Element assertion, Map cred) throws Exception { Document doc = assertion.getOwnerDocument();

Re: JCEID to Service mapping

2008-08-12 Thread Brent Putman
Hi, I'm a newbie in xml signature. I have look at the example : templatesign in order to sign a xml file with a key in a PEM file but i have the error : could not find node I don't undestand why a node is requiered because my first file can't have this node. In the future i would like to m

Re: JCEID to Service mapping

2008-08-12 Thread Sean Mullan
Brent Putman wrote: The real test would be if you get different behavior from this: Cipher xmlEncCiperAES = Cipher.getInstance("AES/CBC/ISO10126Padding", "BC"); versus this: Cipher xmlEncCiperAES = Cipher.getInstance("AES/CBC/ISO10126Padding"); If the first works, but the latter doesn't (t