diff options
Diffstat (limited to 'tests/aleksey-xmldsig-01/enveloped-gost.tmpl')
-rw-r--r-- | tests/aleksey-xmldsig-01/enveloped-gost.tmpl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/aleksey-xmldsig-01/enveloped-gost.tmpl b/tests/aleksey-xmldsig-01/enveloped-gost.tmpl new file mode 100644 index 00000000..a89538df --- /dev/null +++ b/tests/aleksey-xmldsig-01/enveloped-gost.tmpl @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +XML Security Library example: Simple signature template file for sign1 example. +--> +<Envelope xmlns="urn:envelope"> + <Data> + Hello, World! + </Data> + <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/2001/04/xmldsig-more#gostr34102001-gostr3411"/> + <Reference URI=""> + <Transforms> + <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /> + <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"> + <XPath xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">not(ancestor-or-self::dsig:Signature)</XPath> + </Transform> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr3411"/> + <DigestValue></DigestValue> + </Reference> + </SignedInfo> + <SignatureValue/> + <KeyInfo> +<X509Data> +<X509Certificate></X509Certificate> +</X509Data> +</KeyInfo> +</Signature> +</Envelope> |