Re: Aleksey's xmlsec

2006-08-31 Thread Jean-Luc Cooke
I'm finding the same thing, apache's xmlsec is going very smoothly (ignoring 1 or 3 brain farts). Nope, XML templates. It seems to be the easiest way to use his library. http://www.aleksey.com/xmlsec/api/xmlsec-examples-sign-template-file.html JLC On Thu, Aug 31, 2006 at 03:42:30PM -0400, SCOT

Re: dropping in XML

2006-08-31 Thread Jean-Luc Cooke
I'm getting good an answering my own questions. ObjectContainer receipt = new ObjectContainer(doc); receipt.setId("Receipt"); Element pmrele = doc.createElementNS("http://www.upu.int/EPMService/schemas";, "epm:PostMarkedReciept"); pmrele.setAttributeNS(Consta

Re: Aleksey's xmlsec

2006-08-31 Thread SCOTT CANTOR
> I'd like to ask the apache-xmlsec folk what their thoughts are on > aleksey'sxmlsec application/library. I'm just "me" folk, but I've used both. xmlsec was in C with libxml vs. C++ with Xerces, so for me Apache's was necessary. I found xmlsec a little harder to use, and it made it harder to s

Re: dropping in XML

2006-08-31 Thread Jimmy Zhang
you might be interested in using VTD-XML for this http://www.javaworld.com/javaworld/jw-07-2006/jw-0724-vtdxml.html http://vtd-xml.sf.net - Original Message - From: "Jean-Luc Cooke" <[EMAIL PROTECTED]> To: Sent: Thursday, August 31, 2006 12:13 PM Subject: dropping in XML Greetings,

dropping in XML

2006-08-31 Thread Jean-Luc Cooke
Greetings, Wanted how to do this (if it's possible with apache xmlsec, or even allowed by the standard). I want to insert "rec.xml" into "doc.xml" as you see attached here and sign the whole thing. Trying to fight with appendChild() and DocumentBuilder.parse() keeps getting me exceptions saying

Aleksey's xmlsec

2006-08-31 Thread Jean-Luc Cooke
I'd like to ask the apache-xmlsec folk what their thoughts are on aleksey's xmlsec application/library. Do you do inter-operability testing with it? Why does he use templates so much and I've had a hard time finding any mention of templates in apache-xmlsec? Are high-level comparison would be gr

Re: dumping the canonical form of a Reference to a log or stdout

2006-08-31 Thread Sean Mullan
I would try calling Reference.getContentsAfterTransformation (returns an XMLSignatureInput) or Reference.getReferencedBytes (returns a byte[]), each of which return the dereferenced and transformed contents before it is digested. I haven't really used those methods so I'm hoping someone on the

DO NOT REPLY [Bug 40343] - sun.security.pkcs11.P11Key$P11PrivateKey not accepted

2006-08-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

dumping the canonical form of a Reference to a log or stdout

2006-08-31 Thread Markus Werner
Hi, first of all, I'm relativly new to Apache XML Security, so please be patient :-) My job is to sign an element inside a DOM-Document with the help of a secretKey. Let the element that should be signed be called and its Id be "id" in beneath code snippet. The signature should be a detached si

dumping the canonical form of a Reference to a log or stdout

2006-08-31 Thread Markus Werner
Hi, first of all, I'm relatively new to Apache XML Security, so please be patient :-) My job is to sign an element inside a DOM-Document with the help of a secretKey. Let the element that should be signed be called and its Id be "id" in beneath code snippet. The signature should be a detached