<br><font size=2 face="sans-serif">No matter what I try, I can't seem to
get xmlsec.exe to sign a template with my untrusted-der certificate. I
consistently get error messages about the object not being found.</font>
<br>
<br><font size=2 face="sans-serif">xmlsec - -sign - -untrusted-der julie.cer
test.xml</font>
<br>
<br><font size=2 face="sans-serif"> I've been able to use the library
to validate signatures created with this key.</font>
<br><font size=2 face="sans-serif">Admittedly, I'm not exactly sure what
to put in a template when using an untrusted-der. I've tried all sorts
of combinations, and none of them seem to work.</font>
<br>
<br><font size=2 face="sans-serif">The latest is:</font>
<br><font size=2 face="Courier New"><?xml version="1.0" encoding="UTF-8"?></font>
<br><font size=2 face="Courier New"><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"></font>
<br><font size=2 face="Courier New"> <SignedInfo></font>
<br><font size=2 face="Courier New"> <CanonicalizationMethod
Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod></font>
<br><font size=2 face="Courier New"> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"></SignatureMethod></font>
<br><font size=2 face="Courier New"> <Reference URI="http://server.example.com/test.txt"></font>
<br><font size=2 face="Courier New"> <DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod></font>
<br><font size=2 face="Courier New"> <DigestValue></DigestValue></font>
<br><font size=2 face="Courier New"> </Reference></font>
<br><font size=2 face="Courier New"> </SignedInfo></font>
<br><font size=2 face="Courier New"> <SignatureValue></font>
<br><font size=2 face="Courier New"> </SignatureValue></font>
<br><font size=2 face="Courier New"> <KeyInfo></font>
<br><font size=2 face="Courier New"> <X509Data></font>
<br><font size=2 face="Courier New"> </X509Data></font>
<br><font size=2 face="Courier New"> </KeyInfo></font>
<br><font size=2 face="Courier New"></Signature></font>
<br>
<br><font size=2 face="sans-serif">Any suggestions?</font>
<br><font size=2 face="sans-serif"><br>
-- Regards,<br>
<br>
J. Bielski</font>