aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-15 00:50:03 -0700
committerredmatrix <git@macgirvin.com>2016-03-15 00:50:03 -0700
commite8d19659c05899c4da2412bb8ebec4c9c9314b1a (patch)
tree0fbc6736c3f27b0919126e75ef13a42afd704c19 /view
parentb673b6835d50a906e44b34ed7195ea28156b7fb0 (diff)
downloadvolse-hubzilla-e8d19659c05899c4da2412bb8ebec4c9c9314b1a.tar.gz
volse-hubzilla-e8d19659c05899c4da2412bb8ebec4c9c9314b1a.tar.bz2
volse-hubzilla-e8d19659c05899c4da2412bb8ebec4c9c9314b1a.zip
some heavy lifting porting the old salmon code
Diffstat (limited to 'view')
-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>