aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/magicsig.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/magicsig.tpl')
-rw-r--r--view/tpl/magicsig.tpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/view/tpl/magicsig.tpl b/view/tpl/magicsig.tpl
new file mode 100644
index 000000000..78d8bbbd3
--- /dev/null
+++ b/view/tpl/magicsig.tpl
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<me:env xmlns:me="http://salmon-protocol.org/ns/magic-env">
+<me:data type="application/atom+xml">
+{{$data}}
+</me:data>
+<me:encoding>{{$encoding}}</me:encoding>
+<me:alg>{{$algorithm}}</me:alg>
+<me:sig key_id="{{$keyhash}}">{{$signature}}</me:sig>
+</me:env>