[xmlsec] Help by References
Alexandre Kalendarev
akalend at mail.ru
Wed Apr 12 06:06:42 PDT 2006
JЭrgen !
I sign correct enveloped template the command:
xmlsec sign --output output.xml --privkey-pem rsakey.pem template.xml
or
xmlsec sign > output.xml --privkey-pem rsakey.pem template.xml
<Envelope >
<Data>
Hello, World!
</Data>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<Reference>
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue/>
</Reference>
</SignedInfo>
<SignatureValue/>
<KeyInfo>
<X509Data>
<X509Certificate/>
<X509SubjectName/>
<X509IssuerSerial/>
</X509Data>
</KeyInfo>
</Signature></Envelope>
More information about the xmlsec
mailing list