blob: 8c8d795ba54d90f9117d2158d1148475979681d1 [file] [log] [blame]
<?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>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><button id="clear">Delete Web IDs</button></td>
<td>&nbsp;</td>
<td>&nbsp;</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>