diff options
author | Minteck <contact@minteck.org> | 2023-01-10 14:54:04 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2023-01-10 14:54:04 +0100 |
commit | 99c1d9af689e5325f3cf535c4007b3aeb8325229 (patch) | |
tree | e663b3c2ebdbd67c818ac0c5147f0ce1d2463cda /school/node_modules/node-forge/tests/webid.html | |
parent | 9871b03912fc28ad38b4037ebf26a78aa937baba (diff) | |
download | pluralconnect-99c1d9af689e5325f3cf535c4007b3aeb8325229.tar.gz pluralconnect-99c1d9af689e5325f3cf535c4007b3aeb8325229.tar.bz2 pluralconnect-99c1d9af689e5325f3cf535c4007b3aeb8325229.zip |
Update - This is an automated commit
Diffstat (limited to 'school/node_modules/node-forge/tests/webid.html')
-rw-r--r-- | school/node_modules/node-forge/tests/webid.html | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/school/node_modules/node-forge/tests/webid.html b/school/node_modules/node-forge/tests/webid.html new file mode 100644 index 0000000..8c8d795 --- /dev/null +++ b/school/node_modules/node-forge/tests/webid.html @@ -0,0 +1,110 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <title>Web ID Test</title> + <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script> + <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> + <script type="text/javascript" src="forge/debug.js"></script> + <script type="text/javascript" src="forge/util.js"></script> + <script type="text/javascript" src="forge/log.js"></script> + <script type="text/javascript" src="forge/task.js"></script> + <script type="text/javascript" src="forge/socket.js"></script> + <script type="text/javascript" src="forge/md5.js"></script> + <script type="text/javascript" src="forge/sha1.js"></script> + <script type="text/javascript" src="forge/hmac.js"></script> + <script type="text/javascript" src="forge/aes.js"></script> + <script type="text/javascript" src="forge/pem.js"></script> + <script type="text/javascript" src="forge/asn1.js"></script> + <script type="text/javascript" src="forge/jsbn.js"></script> + <script type="text/javascript" src="forge/prng.js"></script> + <script type="text/javascript" src="forge/random.js"></script> + <script type="text/javascript" src="forge/oids.js"></script> + <script type="text/javascript" src="forge/rsa.js"></script> + <script type="text/javascript" src="forge/pbe.js"></script> + <script type="text/javascript" src="forge/x509.js"></script> + <script type="text/javascript" src="forge/pki.js"></script> + <script type="text/javascript" src="forge/tls.js"></script> + <script type="text/javascript" src="forge/aesCipherSuites.js"></script> + <script type="text/javascript" src="forge/tlssocket.js"></script> + <script type="text/javascript" src="forge/http.js"></script> + <script type="text/javascript" src="forge/xhr.js"></script> + <script type="text/javascript" src="webid.js"></script> + + <link type="text/css" rel="stylesheet" media="all" href="screen.css" /> + <style type="text/css"> + .ready { color: inherit; background: inherit; } + .testing { color: black; background: yellow; } + .pass{ color: white; background: green; } + .fail{ color: white; background: red; } + </style> + </head> +<body> +<div class="nav"><a href="index.html">Forge Tests</a> / Web ID</div> + +<div class="header"> + <h1>Web ID Tests</h1> +</div> + +<div class="content"> + +<!-- div used to hold the flash socket pool implementation --> +<div id="socketPool"> + <p>Could not load the flash SocketPool.</p> +</div> + +<fieldset class="section"> + <ul> + <li>Use the controls below to test Web ID.</li> + <li>Use 512 bits or less on slower JavaScript implementations.</li> + </ul> +</fieldset> + +<fieldset class="section"> +<legend>Control</legend> + <table> + <tr> + <td rowspan="3"><button id="create">Create Web ID</button></td> + <td>Bits</td> + <td><input id="bits" size=8 value="1024"/></td> + </tr> + <tr> + <td>URI</td> + <td><input id="uri" size=60 value="http://localhost/dataspace/person/myname#this"/></td> + </tr> + <tr> + <td>Common Name</td> + <td><input id="commonName" size=20 value="mycert"/></td> + </tr> + <tr> + <td><button id="show">Show Web IDs</button></td> + <td> </td> + <td> </td> + </tr> + <tr> + <td><button id="clear">Delete Web IDs</button></td> + <td> </td> + <td> </td> + </tr> + <tr> + <td><button id="authenticate">Authenticate using Web ID</button></td> + <td>URI</td> + <td><input id="webid" size=60 value="http://localhost/dataspace/person/myname#this"/></td> + </tr> + </table> +</fieldset> + +<fieldset class="section"> +<legend>Progress</legend> + <div id="progress"></div> +</fieldset> + +<fieldset class="section"> +<legend>Available Web IDs</legend> +<div id="webids"></div> +</fieldset> + +</div> +</body> +</html> |