SignatureDSA Java Implementation

2007-02-08 Thread Julien PASQUIER
Hello, It is impossible to use a specific JCE provider with the org.apache.xml.security.algorithms.implementations.SignatureDSA of the XML-Security java project. However it is possible to do it with SignatureBaseRSA and with SignatureECDSA. Why only the sun default DSA Signature provider can be

BUG in RFC2253 parser

2007-02-08 Thread Julien PASQUIER
Hi, The RFC2253 java parser of the XML Security seems to be boggus... :-( >From RFC2253 - Section 5 (http://www.ietf.org/rfc/rfc2253.txt): "This example shows the method of quoting of a comma in an organization name: CN=L. Eagle,O=Sue\, Grabbit and Runn,C=GB" So, I tried this java code :

Re: SignatureDSA Java Implementation

2007-02-08 Thread Sean Mullan
It looks like a bug. Do you mind filing a bug at http://issues.apache.org/bugzilla (Security project) so you can track the issue. As a workaround, you can use the java.security.Provider API to reorder the JCE providers the way you want. Or you can manually edit the list of providers in the JR

Re: SignatureDSA Java Implementation

2007-02-08 Thread Julien PASQUIER
Thanks for your answer. I will fill this bug in the bugzilla (Security project). Regards, Julien PASQUIER - Original Message - From: "Sean Mullan" <[EMAIL PROTECTED]> To: Sent: Thursday, February 08, 2007 3:54 PM Subject: Re: SignatureDSA Java Implementation It looks like a bug. Do

DO NOT REPLY [Bug 41569] New: - Cannot specify dynamically a specific JCE Provider with the DSA Signature

2007-02-08 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

RE: templatesign

2007-02-08 Thread Scott Cantor
> I'm trying to get the tool "templatesign" to sign an XML message but it > returns, > "An error occured during signing operation >Message: Referenced ID is not in DOM Document". You can't use ID references unless you validate while parsing or have some manual way to identify ID attributes.

DO NOT REPLY [Bug 41570] New: - RFC2253 Java Parser

2007-02-08 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

DO NOT REPLY [Bug 41573] New: - XMLCipher StackOverflowError

2007-02-08 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

Re: templatesign

2007-02-08 Thread Paul Cameron
Scott Cantor osu.edu> writes: > > > I'm trying to get the tool "templatesign" to sign an XML message but it > > returns, > > "An error occured during signing operation > >Message: Referenced ID is not in DOM Document". > > You can't use ID references unless you validate while parsing or ha

RE: templatesign

2007-02-08 Thread Scott Cantor
> So, how does it know which objects to create digests for? I really need an > XML template so I can see how it works. Is there one in the C++ source > download? I really have no idea, never tried the template tool. I just knew what that error means. Unless there's some kind of command line parame

Re: templatesign

2007-02-08 Thread Berin Lautenbach
It's due to the Id being a wsu:Id. So it's not caught by the "workaround" inside the library. However the "registerIdAttributeNameNS" can be called within DSIGSIgnature to add the particular attribute to the "cheat" list :>. There isn't a command line switch within templatesign to do that, but I