-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdefault.html
139 lines (122 loc) · 5.49 KB
/
default.html
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=0.4">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>HSM-based Ethereum Key Management Solution </title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.0/semantic.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/4.0.0/github-markdown.min.css">
<link rel="icon" href="images\favicon.png">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div class="ui three column grid">
<div class="three wide column">
</div>
<div class="ten wide column">
<img src="images/logo.png" />
<div class="ui inverted large menu">
<a href='/' class="item centred">Home</a>
<a href='/keyslist.html' class="item centred">Keys List</a>
<a href='/generate_keys.html' class="item centred">Generate Key</a>
<a href='/tx_builder.html' class="item centred">Tx Builder</a>
</div>
</div>
</div>
<div class="row">
<div class="ui three column grid">
<div class="three wide column">
</div>
<div class="ten wide column">
<img src="images/soft.jpeg" width="200" />
<h2> SoftHSM Specifications
</h2>
<!-- manufacturerID -->
<div class="ui form">
<div class="inline fields">
<div class=" two wide field">
<label>Manufacturer ID</label>
</div>
<div class="eight wide field">
<input id="manufacturerID" type="text" disabled>
</div>
</div>
</div>
<!-- slotDescription -->
<div class="ui form">
<div class="inline fields">
<div class=" two wide field">
<label>Slot Description</label>
</div>
<div class="eight wide field">
<input id="slotDescription" type="text" disabled>
</div>
</div>
</div>
<!-- Number of slots -->
<div class="ui form">
<div class="inline fields">
<div class=" two wide field">
<label>Number of Slots</label>
</div>
<div class="eight wide field">
<input type="text" id="slotLength" disabled>
</div>
</div>
</div>
<!-- Mechanisms -->
<div class="ui form">
<div class="inline fields">
<div class=" two wide field">
<label>Supported mechanisms</label>
</div>
<div class="eight wide field">
<textarea rows="5" id="mechanisms" pellcheck="false"></textarea>
</div>
</div>
</div>
<div class=" two field">
</div>
<div class="eight field">
**EC_KEY_PAIR_GEN = 4160</div>
</div>
</div>
<div class="ui horizontal divider">
</div>
<div class="row ">
<div class="ui three column grid ">
<div class="three wide column ">
</div>
<div class="ten wide centred column ">
<hr>
<p>
<div class="ui red horizontal label">Built for: </div> Wazen M. Shbair, Eugene Gavrilov, Radu State, HSM-based Key Management Solution for Ethereum Blockchain, ICBC2021 Demo session, May 2021
<br><br>
<div class="ui gray horizontal label">Contact: </div> <a href="mailto: [email protected]">[email protected]</a> , <a href="mailto: [email protected]">[email protected]</a>
</p>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js "></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.3.1/semantic.min.js "></script>
<script type="text/javascript " src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui-calendar/0.0.8/calendar.min.js "></script>
<link rel="stylesheet " href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui-calendar/0.0.8/calendar.min.css ">
<script>
$(document).ready(function() {
$.ajax({
type: "GET",
url: "/api/softhsm/specs",
success: function(result) {
console.log(result)
$('#manufacturerID').val(result.manufacturerID)
$('#slotDescription').val(result.slotDescription)
$('#slotLength').val(result.slotLength)
$('#mechanisms').val(result.mechanisms.innerItems)
},
complete: function() {}
})
})
</script>
</body>
</html>