-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (40 loc) · 1.65 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>certsplainer: x509 certificate viewer</title>
<link rel="stylesheet" type="text/css" href="index.css">
<script src="forge/js/forge.min.js"></script>
<script src="asn1js/int10.js"></script>
<script src="asn1js/asn1.js"></script>
<script src="asn1js/oids.js"></script>
</head>
<body>
<p>Basic certificate information:</p>
<table class="fixed">
<tr><td>version:</td><td id="version"></td></tr>
<tr><td>serial number:</td><td id="serialNumber"></td></tr>
<tr><td>signature:</td><td id="signature"></td></tr>
<tr><td>issuer:</td><td id="issuer"></td></tr>
<tr><td>not before:</td><td id="notBefore"</td></tr>
<tr><td>not after:</td><td id="notAfter"</td></tr>
<tr><td>subject:</td><td id="subject"></td></tr>
<tr><td id="subjectAltNameLabel">subject alternative name:</td><td id="subjectAltName"></td></tr>
<tr><td>signature algorithm:</td><td id="signatureAlgorithm"></td></tr>
<tr><td id="keySizeLabel">key size:</td><td id="keySize"></td></tr>
<tr><td id="exponentLabel">exponent:</td><td id="exponent"></td></tr>
<tr><td id="curveLabel">curve:</td><td id="curve"></td></tr>
<tr><td>sha1 hash:</td><td id="sha1hash"></td></tr>
<tr><td>sha256 hash:</td><td id="sha256hash"></td></tr>
</table>
<p>Certificate extensions:</p>
<table id="extensions" class="fixed">
</table>
<textarea rows=25 cols=66 id="pem"></textarea>
<div>
<input type="button" value="Decode" onclick="decodeFromInput();"></input>
<input type="file" id="file" onchange="handleFile(this.files[0]);"></input>
</div>
<script src="index.js"></script>
</body>
</html>