-
Notifications
You must be signed in to change notification settings - Fork 0
/
zembed_signing.html.go
52 lines (49 loc) · 1.75 KB
/
zembed_signing.html.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// THIS FILE IS AUTO-GENERATED FROM signing.html
// DO NOT EDIT.
package ui
import "time"
import "camlistore.org/pkg/fileembed"
func init() {
Files.Add("signing.html", 1242, fileembed.String("<html>\n"+
"<head>\n"+
" <title>Camlistored UI</title>\n"+
" <script src=\"camli.js\"></script>\n"+
" <script src=\"sigdebug.js\"></script>\n"+
" <script src=\"./?camli.mode=config&cb=Camli.onConfiguration\"></script>\n"+
"</head>\n"+
"<body>\n"+
" <h1>Signing Debug</h1>\n"+
" <form>\n"+
" <p><input type=\"button\" id=\"sigdiscobtn\" onclick=\"discoverJsonSign()\" value=\""+
"Do jsonSign discovery\" /></p>\n"+
" <div id=\"sigdiscores\" style=\"border: 2px solid gray\">(jsonsign discovery resu"+
"lts)</div>\n"+
"\n"+
" <table>\n"+
" <tr align='left'>\n"+
" <th>JSON blob to sign: <input type='button' id='addkeyref' onclick='addKe"+
"yRef()' value=\"Add keyref\"/></th>\n"+
" <th></th>\n"+
" <th>Signed blob:</th>\n"+
" <th></th>\n"+
" <th>Verification details:</th>\n"+
" </tr>\n"+
" <tr>\n"+
" <td><textarea id='clearjson' rows=10 cols=40>{\"camliVersion\": 1,\n"+
" \"camliType\": \"whatever\",\n"+
" \"foo\": \"bar\"\n"+
"}</textarea></td>\n"+
" <td valign='middle'><input type='button' id='sign' onclick='doSign()' val"+
"ue=\"Sign >>\" /></td>\n"+
" <td><textarea id=\"signedjson\" rows=10 cols=40></textarea></td>\n"+
" <td valign='middle'><input type='button' id='sign' onclick='doVerify()' v"+
"alue=\"Verify >>\" /></td>\n"+
" <td><div id='verifyinfo'></div></td>\n"+
" </tr>\n"+
" </table>\n"+
" </form>\n"+
"\n"+
"</body>\n"+
"</html>\n"+
""), time.Unix(0, 1358714701000000000))
}