Page MenuHomec4science

MedUnit.html
No OneTemporary

File Metadata

Created
Thu, Jan 2, 22:57

MedUnit.html

This document is not UTF8. It was detected as Shift JIS and converted to UTF8 for display.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Fri Jan 10 14:26:14 CET 2014 -->
<title>MedUnit</title>
<meta name="date" content="2014-01-10">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MedUnit";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MedUnit.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../FrameWork/mainServerGUI.html" title="class in FrameWork"><span class="strong">Prev Class</span></a></li>
<li><a href="../FrameWork/Patient.html" title="class in FrameWork"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?FrameWork/MedUnit.html" target="_top">Frames</a></li>
<li><a href="MedUnit.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">FrameWork</div>
<h2 title="Class MedUnit" class="title">Class MedUnit</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../FrameWork/User.html" title="class in FrameWork">FrameWork.User</a></li>
<li>
<ul class="inheritance">
<li>FrameWork.MedUnit</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">MedUnit</span>
extends <a href="../FrameWork/User.html" title="class in FrameWork">User</a></pre>
<div class="block">The Class MedUnit. This class contains all the function needed to the medical
unit.</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>Kevin Serrano, J駻emy Weber, raisaro</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.math.BigInteger[]</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#dgk_pk">dgk_pk</a></strong></code>
<div class="block">The dgk_pk.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../crypto/DGK_scheme.html" title="class in crypto">DGK_scheme</a></code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#dgk_scheme">dgk_scheme</a></strong></code>
<div class="block">The dgk_scheme.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.math.BigInteger[]</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#dgk_sk">dgk_sk</a></strong></code>
<div class="block">The dgk_sk.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#id">id</a></strong></code>
<div class="block">The id.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#id_p">id_p</a></strong></code>
<div class="block">The id_p.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private com.cedarsoftware.util.io.JsonReader</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#jsr">jsr</a></strong></code>
<div class="block">The jsr.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private com.cedarsoftware.util.io.JsonWriter</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#jsw">jsw</a></strong></code>
<div class="block">The jsw.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#k">k</a></strong></code>
<div class="block">The k.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#l">l</a></strong></code>
<div class="block">The l.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#location">location</a></strong></code>
<div class="block">The location.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#name">name</a></strong></code>
<div class="block">The name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.math.BigInteger[]</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#pbk">pbk</a></strong></code>
<div class="block">The pbk.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.math.BigInteger</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#prk">prk</a></strong></code>
<div class="block">The prk.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#t">t</a></strong></code>
<div class="block">The t.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../FrameWork/MedUnit.html#MedUnit(int, java.lang.String, com.cedarsoftware.util.io.JsonReader, com.cedarsoftware.util.io.JsonWriter, java.lang.String)">MedUnit</a></strong>(int&nbsp;id,
java.lang.String&nbsp;name,
com.cedarsoftware.util.io.JsonReader&nbsp;jsr,
com.cedarsoftware.util.io.JsonWriter&nbsp;jsw,
java.lang.String&nbsp;location)</code>
<div class="block">Instantiates a new med unit.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#add100Patient()">add100Patient</a></strong>()</code>
<div class="block">Add100 patient.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.ArrayList</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#comparisonProtocol(java.math.BigInteger[])">comparisonProtocol</a></strong>(java.math.BigInteger[]&nbsp;cipherD_proxy)</code>
<div class="block">Comparison protocol.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.math.BigInteger[]</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#computeCipherLamda(java.util.ArrayList)">computeCipherLamda</a></strong>(java.util.ArrayList&lt;java.math.BigInteger&gt;&nbsp;cipherCi)</code>
<div class="block">Compute cipher lamda.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#createReport(double[], java.lang.String[], java.lang.String[], int[])">createReport</a></strong>(double[]&nbsp;results,
java.lang.String[]&nbsp;traits,
java.lang.String[]&nbsp;group,
int[]&nbsp;IDs_t)</code>
<div class="block">Creates the pdf report.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#decryption(java.math.BigInteger[])">decryption</a></strong>(java.math.BigInteger[]&nbsp;cipher)</code>
<div class="block">Decrypts the encrypted susceptibility computed by the TTP.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>double[]</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#runTest(FrameWork.Request)">runTest</a></strong>(<a href="../FrameWork/Request.html" title="class in FrameWork">Request</a>&nbsp;r)</code>
<div class="block">Run test.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#sendToPatient(FrameWork.RequestPatient)">sendToPatient</a></strong>(<a href="../FrameWork/RequestPatient.html" title="class in FrameWork">RequestPatient</a>&nbsp;rp)</code>
<div class="block">Send a RequestPatient to the patient.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#susceptibilityDecryption(java.math.BigInteger[])">susceptibilityDecryption</a></strong>(java.math.BigInteger[]&nbsp;cipher)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/MedUnit.html#testAllPatientSimulation()">testAllPatientSimulation</a></strong>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_FrameWork.User">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;FrameWork.<a href="../FrameWork/User.html" title="class in FrameWork">User</a></h3>
<code><a href="../FrameWork/User.html#checkNewRequest()">checkNewRequest</a>, <a href="../FrameWork/User.html#connexionToMU()">connexionToMU</a>, <a href="../FrameWork/User.html#connexionToSPU()">connexionToSPU</a>, <a href="../FrameWork/User.html#getID()">getID</a>, <a href="../FrameWork/User.html#getJsrSPU()">getJsrSPU</a>, <a href="../FrameWork/User.html#getJswSPU()">getJswSPU</a>, <a href="../FrameWork/User.html#getName()">getName</a>, <a href="../FrameWork/User.html#receiveFromSPU()">receiveFromSPU</a>, <a href="../FrameWork/User.html#sendToSPU(org.json.JSONObject)">sendToSPU</a>, <a href="../FrameWork/User.html#sentToMU(org.json.JSONObject)">sentToMU</a>, <a href="../FrameWork/User.html#setID(java.lang.String)">setID</a>, <a href="../FrameWork/User.html#setName(java.lang.String)">setName</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="id">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>id</h4>
<pre>private&nbsp;int id</pre>
<div class="block">The id.</div>
</li>
</ul>
<a name="name">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>name</h4>
<pre>private&nbsp;java.lang.String name</pre>
<div class="block">The name.</div>
</li>
</ul>
<a name="location">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>location</h4>
<pre>private&nbsp;java.lang.String location</pre>
<div class="block">The location.</div>
</li>
</ul>
<a name="jsr">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jsr</h4>
<pre>private&nbsp;com.cedarsoftware.util.io.JsonReader jsr</pre>
<div class="block">The jsr.</div>
</li>
</ul>
<a name="jsw">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jsw</h4>
<pre>private&nbsp;com.cedarsoftware.util.io.JsonWriter jsw</pre>
<div class="block">The jsw.</div>
</li>
</ul>
<a name="prk">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prk</h4>
<pre>private&nbsp;java.math.BigInteger prk</pre>
<div class="block">The prk.</div>
</li>
</ul>
<a name="pbk">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pbk</h4>
<pre>private&nbsp;java.math.BigInteger[] pbk</pre>
<div class="block">The pbk.</div>
</li>
</ul>
<a name="id_p">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>id_p</h4>
<pre>private&nbsp;int id_p</pre>
<div class="block">The id_p.</div>
</li>
</ul>
<a name="l">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>l</h4>
<pre>private&nbsp;int l</pre>
<div class="block">The l.</div>
</li>
</ul>
<a name="t">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>t</h4>
<pre>private&nbsp;int t</pre>
<div class="block">The t.</div>
</li>
</ul>
<a name="k">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>k</h4>
<pre>private&nbsp;int k</pre>
<div class="block">The k.</div>
</li>
</ul>
<a name="dgk_pk">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dgk_pk</h4>
<pre>private&nbsp;java.math.BigInteger[] dgk_pk</pre>
<div class="block">The dgk_pk.</div>
</li>
</ul>
<a name="dgk_sk">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dgk_sk</h4>
<pre>private&nbsp;java.math.BigInteger[] dgk_sk</pre>
<div class="block">The dgk_sk.</div>
</li>
</ul>
<a name="dgk_scheme">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>dgk_scheme</h4>
<pre>private&nbsp;<a href="../crypto/DGK_scheme.html" title="class in crypto">DGK_scheme</a> dgk_scheme</pre>
<div class="block">The dgk_scheme.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="MedUnit(int, java.lang.String, com.cedarsoftware.util.io.JsonReader, com.cedarsoftware.util.io.JsonWriter, java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>MedUnit</h4>
<pre>public&nbsp;MedUnit(int&nbsp;id,
java.lang.String&nbsp;name,
com.cedarsoftware.util.io.JsonReader&nbsp;jsr,
com.cedarsoftware.util.io.JsonWriter&nbsp;jsw,
java.lang.String&nbsp;location)</pre>
<div class="block">Instantiates a new med unit.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - the id</dd><dd><code>name</code> - the name</dd><dd><code>jsr</code> - the json reader</dd><dd><code>jsw</code> - the json writer</dd><dd><code>location</code> - the location</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="runTest(FrameWork.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runTest</h4>
<pre>public&nbsp;double[]&nbsp;runTest(<a href="../FrameWork/Request.html" title="class in FrameWork">Request</a>&nbsp;r)</pre>
<div class="block">Run test. This function send a request to the SPU for performing a test.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>r</code> - the request</dd>
<dt><span class="strong">Returns:</span></dt><dd>the result</dd></dl>
</li>
</ul>
<a name="sendToPatient(FrameWork.RequestPatient)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendToPatient</h4>
<pre>public&nbsp;void&nbsp;sendToPatient(<a href="../FrameWork/RequestPatient.html" title="class in FrameWork">RequestPatient</a>&nbsp;rp)</pre>
<div class="block">Send a RequestPatient to the patient. This request is sent for asking the
consent</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rp</code> - the RequestPatient</dd></dl>
</li>
</ul>
<a name="decryption(java.math.BigInteger[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>decryption</h4>
<pre>public&nbsp;double&nbsp;decryption(java.math.BigInteger[]&nbsp;cipher)
throws <a href="../crypto/CryptoException.html" title="class in crypto">CryptoException</a></pre>
<div class="block">Decrypts the encrypted susceptibility computed by the TTP.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cipher</code> - the cipher</dd>
<dt><span class="strong">Returns:</span></dt><dd>the double</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../FrameWork/CryptoException.html" title="class in FrameWork">CryptoException</a></code> - the crypto exception</dd>
<dd><code><a href="../crypto/CryptoException.html" title="class in crypto">CryptoException</a></code></dd></dl>
</li>
</ul>
<a name="add100Patient()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add100Patient</h4>
<pre>public&nbsp;void&nbsp;add100Patient()</pre>
<div class="block">Add100 patient. This function can no longer be used</div>
</li>
</ul>
<a name="createReport(double[], java.lang.String[], java.lang.String[], int[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createReport</h4>
<pre>public&nbsp;void&nbsp;createReport(double[]&nbsp;results,
java.lang.String[]&nbsp;traits,
java.lang.String[]&nbsp;group,
int[]&nbsp;IDs_t)</pre>
<div class="block">Creates the pdf report.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>results</code> - </dd><dd><code>traits</code> - </dd><dd><code>group</code> - </dd><dd><code>IDs_t</code> - </dd></dl>
</li>
</ul>
<a name="comparisonProtocol(java.math.BigInteger[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>comparisonProtocol</h4>
<pre>public&nbsp;java.util.ArrayList&nbsp;comparisonProtocol(java.math.BigInteger[]&nbsp;cipherD_proxy)
throws <a href="../crypto/CryptoException.html" title="class in crypto">CryptoException</a>,
java.sql.SQLException</pre>
<div class="block">Comparison protocol.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cipherD_proxy</code> - the cipher d_proxy</dd>
<dt><span class="strong">Returns:</span></dt><dd>the array list</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../FrameWork/CryptoException.html" title="class in FrameWork">CryptoException</a></code> - the crypto exception</dd>
<dd><code>java.sql.SQLException</code> - the sQL exception</dd>
<dd><code><a href="../crypto/CryptoException.html" title="class in crypto">CryptoException</a></code></dd></dl>
</li>
</ul>
<a name="computeCipherLamda(java.util.ArrayList)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>computeCipherLamda</h4>
<pre>public&nbsp;java.math.BigInteger[]&nbsp;computeCipherLamda(java.util.ArrayList&lt;java.math.BigInteger&gt;&nbsp;cipherCi)
throws <a href="../crypto/CryptoException.html" title="class in crypto">CryptoException</a>,
java.sql.SQLException</pre>
<div class="block">Compute cipher lamda.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cipherCi</code> - the cipher ci</dd>
<dt><span class="strong">Returns:</span></dt><dd>the big integer[]</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../FrameWork/CryptoException.html" title="class in FrameWork">CryptoException</a></code> - the crypto exception</dd>
<dd><code>java.sql.SQLException</code> - the sQL exception</dd>
<dd><code><a href="../crypto/CryptoException.html" title="class in crypto">CryptoException</a></code></dd></dl>
</li>
</ul>
<a name="testAllPatientSimulation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testAllPatientSimulation</h4>
<pre>public&nbsp;void&nbsp;testAllPatientSimulation()</pre>
</li>
</ul>
<a name="susceptibilityDecryption(java.math.BigInteger[])">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>susceptibilityDecryption</h4>
<pre>public&nbsp;double&nbsp;susceptibilityDecryption(java.math.BigInteger[]&nbsp;cipher)
throws <a href="../crypto/CryptoException.html" title="class in crypto">CryptoException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../crypto/CryptoException.html" title="class in crypto">CryptoException</a></code></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MedUnit.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../FrameWork/mainServerGUI.html" title="class in FrameWork"><span class="strong">Prev Class</span></a></li>
<li><a href="../FrameWork/Patient.html" title="class in FrameWork"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?FrameWork/MedUnit.html" target="_top">Frames</a></li>
<li><a href="MedUnit.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

Event Timeline