[xmlsec] unable to dereference URI
nitin singh
xml_prgrm at yahoo.com
Thu Sep 9 14:43:47 PDT 2004
Hi,
I am unable to derefence URI, when URI is not the 'same-document " uri reference. For eg. if give URI=http://www.google.com/index.html or even URI="some xml document online" , the program hangs.
I also tried the xmlsec1 command utility and got the same result. does the library not support dereferencing a document by http scheme ( as required by the spec).
Following is the simple template file I passed to the command line utility.
Copied from the example given, with some minor changes. the signature becomes a detached signature (right??)
<?xml version="1.0" encoding="UTF-8"?><!-- XML Security Library example: Simple signature template file for sign1 example. --><Envelope xmlns="urn:envelope"> <Data> Hello, World! </Data> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /> <Reference URI=http://www.google.com/index.html> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> <DigestValue></DigestValue> </Reference> </SignedInfo> <SignatureValue/> <KeyInfo> <KeyName/> </KeyInfo> </Signature></Envelope>
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20040909/e51400d4/attachment.htm
More information about the xmlsec
mailing list