Good afternoon. Matej Jurac
You have an example of how to use it to sign
xmlsec1 sign --pkcs12 ../../certificado-ceres-alfredo-esteban.p12
--output hola.xsig --pwd xxxxxxxxxxxxx ejemplo-xades-enveloped.xml
Vefify ..
xmlsec1 verify --trusted-der aet-cert.der
ejemplo-xades-enveloped.xsig
Thank you
Hector

Hello to Chile.
You are missing parameter which part of xml to sign with xmlsec and in course
of that also some addition to xml in header on method of signing, placement of
signature, etc.
1. look on parameter --id-attr:Id NameOfWhichTagGroupToSign
2. In header somewhere there should be something like
xmlns:ds="http://www.w3.org/2000/09/xmldsig#
3. and somewhere in body after end of tag/group that is signed a block of
signature will be placed that is something like
"<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#Chr(35)#">
<ds:SignedInfo>
<ds:CanonicalizationMethod
Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig# ..... AND MORE"
Greetings
"Hector Pezoa" <hpezoa@telsur.cl> wrote in message
news:7e50cf74$18db34d6$51c36@news.alaska-software.com...
>Good afternoon. Matej Jurac
>
>You have an example of how to use it to sign
>
>xmlsec1 sign --pkcs12 ../../certificado-ceres-alfredo-esteban.p12
>
> --output hola.xsig --pwd xxxxxxxxxxxxx ejemplo-xades-enveloped.xml
>
>Vefify ..
>
> xmlsec1 verify --trusted-der aet-cert.der
>
> ejemplo-xades-enveloped.xsig
>
> Thank you
>
>Hector