|
I find problem while signing the ducument with
<cfg:authority> as the root element .
It flags error cfg: not allowed prefix for authority .
cant i sign such document using xmlsec or if what is the solution
?
Here is what i was trying
sign1-tmpl.xml file
<?xml version="1.0"
encoding="UTF-8"?>
<!-- Envolping the signed info --> <Envelope xmlns="urn:envelope">
<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=""> <Transforms> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> <DigestValue></DigestValue> </Reference> </SignedInfo> <SignatureValue/> <KeyInfo> <KeyName/> </KeyInfo> <Object Id="Obj"> <cfg:authority xmlns="http://www.aftek.com/x-iip" instance-name="aftek"> <msgbox> <time-stamp value="true"/> <time-stamp-format value="unix"/> <message-log-level value="debug"/> <message-language>en</message-language> </msgbox> </cfg:authority>
</object>
</Signature>
</Envelope> Waiting eagerly for solution
Sachin Chakote
Software Engineer
|
_______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec
