i want to implemented detached signature.
so i had some test.
After understanding specification,detached signature include two aspects.The first is that the data object is in the same XML document as sibling elements;the second is the data object is external network resources.
is it right?
and now,i have implemented the first instance .
the core code is below ,the other code is same as sign3.c。
const xmlChar *id;
const xmlChar *uri;
id="PARes12345";
uri="#PARes12345";
refNode = xmlSecTmplSignatureAddReference(signNode, xmlSecTransformSha1Id,id, uri, NULL);
but i failed to impletent the second instance.
the core code is :
const xmlChar *uri;
uri="http://192.168.0.114/sdroad/index.aspx";;
refNode = xmlSecTmplSignatureAddReference(signNode, xmlSecTransformSha1Id,NULL,uri, NULL);
why i failed?
how to sign a document that the detached signature are over external network resources.
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
_______________________________________________ xmlsec mailing list [EMAIL PROTECTED] http://www.aleksey.com/mailman/listinfo/xmlsec
