init template

This commit is contained in:
Mr. Funk 2019-05-07 09:29:53 -04:00
parent 7ba413dae6
commit 4f5cf492e3
1 changed files with 83 additions and 59 deletions

View File

@ -1,4 +1,5 @@
<html> <html>
<head> <head>
<title>BlueCrypt</title> <title>BlueCrypt</title>
<style> <style>
@ -88,6 +89,29 @@
<pre><code class="js-input-pem-spki-public" ></code></pre> <pre><code class="js-input-pem-spki-public" ></code></pre>
</details> </details>
<h2>Signing</h2>
<div class="errors" id="sign-error"></div>
<form class="js-keysign">
<div>
<label for="pem">Pem</label>
<br>
<textarea id="pem" name="pem"></textarea>
</div>
<button class="js-sign" hidden>Sign</button>
</form>
<div class="js-jws-opts" hidden>
<details class="js-toc-jws">
<summary>JWS </summary>
<pre><code class="js-jws" ></code></pre>
</details>
</div>
<div class="js-jwt-opts" hidden>
<details class="js-toc-jwt">
<summary>JWS </summary>
<pre><code class="js-jwt" ></code></pre>
</details>
</div>
<script src="./lib/bluecrypt-encoding.js"></script> <script src="./lib/bluecrypt-encoding.js"></script>
<script src="./lib/asn1-packer.js"></script> <script src="./lib/asn1-packer.js"></script>
<script src="./lib/x509.js"></script> <script src="./lib/x509.js"></script>