Hi Aleksey,

    Firstly, I love your library, marvelous achievement.

Now, I'd like to get the sign to include my signing certificate in signed
documents.
If I manually insert them in the template file, and do a command line like
this: 

xmlsec sign --privkey-pem:EdShallow EdShallow.pem --trusted-der cacert.der
--output edsigned1.xml --pwd 123456 templateX509.xml

... And including the KeyInfo in the template as such ...

<KeyInfo>
        <KeyName>YourName</KeyName>
      <X509Data>
        <X509Certificate>
                MII ...

... Everything works great !!!


However, what to I put in the xmlsec command line and in the template file
to get xmlsec to automatically include the X509Certificate in the resultant
signed document ?

Or should I be using sign-tmpl ?

Thanks,
Ed 


_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to