summaryrefslogtreecommitdiff
path: root/examples/sign1-tmpl.xml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sign1-tmpl.xml')
-rw-r--r--examples/sign1-tmpl.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/sign1-tmpl.xml b/examples/sign1-tmpl.xml
new file mode 100644
index 00000000..ac71a949
--- /dev/null
+++ b/examples/sign1-tmpl.xml
@@ -0,0 +1,27 @@
+<?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/2000/09/xmldsig#rsa-sha1" />
+ <Reference URI="">
+ <Transforms>
+ <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
+ </Transforms>
+ <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
+ <DigestValue></DigestValue>
+ </Reference>
+ </SignedInfo>
+ <SignatureValue/>
+ <KeyInfo>
+ <KeyName/>
+ </KeyInfo>
+ </Signature>
+</Envelope>
+