mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-25 11:46:50 +01:00
SubServers, Host, & Client v2.12a
This commit is contained in:
parent
9b5a2d59e3
commit
56605aa3a2
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -11,6 +11,11 @@
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network" target="classFrame">AES</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network" target="classFrame">AES.InvalidAESStreamException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network" target="classFrame">AES.InvalidKeyLengthException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network" target="classFrame">AES.InvalidPasswordException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network" target="classFrame">AES.StrongEncryptionNotAvailableException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network" target="classFrame">Client</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network" target="classFrame"><span class="interfaceName">ClientHandler</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Library/Container.html" title="class in net.ME1312.SubServers.Bungee.Library" target="classFrame">Container</a></li>
|
||||
@ -73,6 +78,7 @@
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Host/SubCreator.ServerTemplate.html" title="class in net.ME1312.SubServers.Bungee.Host" target="classFrame">SubCreator.ServerTemplate</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Host/SubCreator.ServerType.html" title="enum in net.ME1312.SubServers.Bungee.Host" target="classFrame">SubCreator.ServerType</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network" target="classFrame">SubDataServer</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network" target="classFrame">SubDataServer.Encryption</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Event/SubEditServerEvent.html" title="class in net.ME1312.SubServers.Bungee.Event" target="classFrame">SubEditServerEvent</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Bungee.Library" target="classFrame"><span class="interfaceName">SubEvent</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Host/SubLogFilter.html" title="interface in net.ME1312.SubServers.Bungee.Host" target="classFrame"><span class="interfaceName">SubLogFilter</span></a></li>
|
||||
|
@ -11,6 +11,11 @@
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network">AES</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidAESStreamException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidKeyLengthException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidPasswordException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.StrongEncryptionNotAvailableException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network"><span class="interfaceName">ClientHandler</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Library/Container.html" title="class in net.ME1312.SubServers.Bungee.Library">Container</a></li>
|
||||
@ -73,6 +78,7 @@
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Host/SubCreator.ServerTemplate.html" title="class in net.ME1312.SubServers.Bungee.Host">SubCreator.ServerTemplate</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Host/SubCreator.ServerType.html" title="enum in net.ME1312.SubServers.Bungee.Host">SubCreator.ServerType</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network">SubDataServer</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Event/SubEditServerEvent.html" title="class in net.ME1312.SubServers.Bungee.Event">SubEditServerEvent</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Bungee.Library"><span class="interfaceName">SubEvent</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Bungee/Host/SubLogFilter.html" title="interface in net.ME1312.SubServers.Bungee.Host"><span class="interfaceName">SubLogFilter</span></a></li>
|
||||
|
@ -112,6 +112,29 @@
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Internal/InternalHost.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">addSubServer(UUID, String, boolean, int, String, boolean, String, Executable, String, boolean, boolean, boolean, boolean, boolean)</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.Internal.<a href="net/ME1312/SubServers/Bungee/Host/Internal/InternalHost.html" title="class in net.ME1312.SubServers.Bungee.Host.Internal">InternalHost</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">AES</span></a> - Class in <a href="net/ME1312/SubServers/Bungee/Network/package-summary.html">net.ME1312.SubServers.Bungee.Network</a></dt>
|
||||
<dd>
|
||||
<div class="block">A class to perform password-based AES encryption and decryption in CBC mode.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/AES.html#AES--">AES()</a></span> - Constructor for class net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network">AES</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">AES.InvalidAESStreamException</span></a> - Exception in <a href="net/ME1312/SubServers/Bungee/Network/package-summary.html">net.ME1312.SubServers.Bungee.Network</a></dt>
|
||||
<dd>
|
||||
<div class="block">Thrown if an attempt is made to decrypt an invalid AES stream.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">AES.InvalidKeyLengthException</span></a> - Exception in <a href="net/ME1312/SubServers/Bungee/Network/package-summary.html">net.ME1312.SubServers.Bungee.Network</a></dt>
|
||||
<dd>
|
||||
<div class="block">Thrown if an attempt is made to encrypt a stream with an invalid AES key length.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">AES.InvalidPasswordException</span></a> - Exception in <a href="net/ME1312/SubServers/Bungee/Network/package-summary.html">net.ME1312.SubServers.Bungee.Network</a></dt>
|
||||
<dd>
|
||||
<div class="block">Thrown if an attempt is made to decrypt a stream with an incorrect password.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">AES.StrongEncryptionNotAvailableException</span></a> - Exception in <a href="net/ME1312/SubServers/Bungee/Network/package-summary.html">net.ME1312.SubServers.Bungee.Network</a></dt>
|
||||
<dd>
|
||||
<div class="block">Thrown if 192- or 256-bit AES encryption or decryption is attempted,
|
||||
but not available on the particular Java platform.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.html#allowConnection-java.net.InetAddress-">allowConnection(InetAddress)</a></span> - Static method in class net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network">SubDataServer</a></dt>
|
||||
<dd>
|
||||
<div class="block">Allow Connections from an Address</div>
|
||||
@ -315,6 +338,14 @@
|
||||
</a>
|
||||
<h2 class="title">D</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/AES.html#decrypt-java.lang.String-java.io.InputStream-java.io.OutputStream-">decrypt(String, InputStream, OutputStream)</a></span> - Static method in class net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network">AES</a></dt>
|
||||
<dd>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="net/ME1312/SubServers/Bungee/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>AES.encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/AES.html#decrypt-java.lang.String-byte:A-">decrypt(String, byte[])</a></span> - Static method in class net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network">AES</a></dt>
|
||||
<dd>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="net/ME1312/SubServers/Bungee/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>AES.encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Library/Util.html#deleteDirectory-java.io.File-">deleteDirectory(File)</a></span> - Static method in class net.ME1312.SubServers.Bungee.Library.<a href="net/ME1312/SubServers/Bungee/Library/Util.html" title="class in net.ME1312.SubServers.Bungee.Library">Util</a></dt>
|
||||
<dd>
|
||||
<div class="block">Delete Directory</div>
|
||||
@ -341,6 +372,10 @@
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/SubPlugin.html#dir">dir</a></span> - Variable in class net.ME1312.SubServers.Bungee.<a href="net/ME1312/SubServers/Bungee/SubPlugin.html" title="class in net.ME1312.SubServers.Bungee">SubPlugin</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/Client.html#disconnect--">disconnect()</a></span> - Method in class net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a></dt>
|
||||
<dd>
|
||||
<div class="block">Disconnects the Client (does not remove them from the server)</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="I:E">
|
||||
<!-- -->
|
||||
@ -371,6 +406,14 @@
|
||||
<dd>
|
||||
<div class="block">Edits the Server</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-">encrypt(int, String, InputStream, OutputStream)</a></span> - Static method in class net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network">AES</a></dt>
|
||||
<dd>
|
||||
<div class="block">Encrypts a stream of data.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/AES.html#encrypt-int-java.lang.String-java.lang.String-">encrypt(int, String, String)</a></span> - Static method in class net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network">AES</a></dt>
|
||||
<dd>
|
||||
<div class="block">Encrypts a stream of data.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Library/Version/Version.html#equals-net.ME1312.SubServers.Bungee.Library.Version.Version-">equals(Version)</a></span> - Method in class net.ME1312.SubServers.Bungee.Library.Version.<a href="net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a></dt>
|
||||
<dd>
|
||||
<div class="block">See if Versions are Equal</div>
|
||||
@ -669,7 +712,7 @@
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.html#getClients--">getClients()</a></span> - Method in class net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network">SubDataServer</a></dt>
|
||||
<dd>
|
||||
<div class="block">Grabs all the Clients from the Network</div>
|
||||
<div class="block">Grabs all the Clients on the Network</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Library/Config/YAMLSection.html#getColoredString-java.lang.String-char-">getColoredString(String, char)</a></span> - Method in class net.ME1312.SubServers.Bungee.Library.Config.<a href="net/ME1312/SubServers/Bungee/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Bungee.Library.Config">YAMLSection</a></dt>
|
||||
<dd>
|
||||
@ -767,6 +810,10 @@
|
||||
<dd>
|
||||
<div class="block">Gets the edit to be made</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.html#getEncryption--">getEncryption()</a></span> - Method in class net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network">SubDataServer</a></dt>
|
||||
<dd>
|
||||
<div class="block">Gets the Server's Encryption method</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/External/ExternalSubServer.html#getExecutable--">getExecutable()</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.External.<a href="net/ME1312/SubServers/Bungee/Host/External/ExternalSubServer.html" title="class in net.ME1312.SubServers.Bungee.Host.External">ExternalSubServer</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Internal/InternalSubServer.html#getExecutable--">getExecutable()</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.Internal.<a href="net/ME1312/SubServers/Bungee/Host/Internal/InternalSubServer.html" title="class in net.ME1312.SubServers.Bungee.Host.Internal">InternalSubServer</a></dt>
|
||||
@ -1205,11 +1252,11 @@
|
||||
<dd>
|
||||
<div class="block">Get a String List by Handle</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html#getSubDataClient--">getSubDataClient()</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.External.<a href="net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html" title="class in net.ME1312.SubServers.Bungee.Host.External">ExternalHost</a></dt>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html#getSubData--">getSubData()</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.External.<a href="net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html" title="class in net.ME1312.SubServers.Bungee.Host.External">ExternalHost</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Server.html#getSubDataClient--">getSubDataClient()</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a></dt>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Server.html#getSubData--">getSubData()</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/ClientHandler.html#getSubDataClient--">getSubDataClient()</a></span> - Method in interface net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a></dt>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/ClientHandler.html#getSubData--">getSubData()</a></span> - Method in interface net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Gets the SubData Client</div>
|
||||
</dd>
|
||||
@ -1425,6 +1472,10 @@
|
||||
<dd>
|
||||
<div class="block">Creates an Internal SubServer</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html#InvalidAESStreamException--">InvalidAESStreamException()</a></span> - Constructor for exception net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidAESStreamException</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html#InvalidAESStreamException-java.lang.Exception-">InvalidAESStreamException(Exception)</a></span> - Constructor for exception net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidAESStreamException</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Bungee/Library/Exception/InvalidDriverException.html" title="class in net.ME1312.SubServers.Bungee.Library.Exception"><span class="typeNameLink">InvalidDriverException</span></a> - Exception in <a href="net/ME1312/SubServers/Bungee/Library/Exception/package-summary.html">net.ME1312.SubServers.Bungee.Library.Exception</a></dt>
|
||||
<dd>
|
||||
<div class="block">Invalid Driver Exception</div>
|
||||
@ -1441,6 +1492,8 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Library/Exception/InvalidHostException.html#InvalidHostException-java.lang.String-">InvalidHostException(String)</a></span> - Constructor for exception net.ME1312.SubServers.Bungee.Library.Exception.<a href="net/ME1312/SubServers/Bungee/Library/Exception/InvalidHostException.html" title="class in net.ME1312.SubServers.Bungee.Library.Exception">InvalidHostException</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html#InvalidPasswordException--">InvalidPasswordException()</a></span> - Constructor for exception net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidPasswordException</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Bungee/Library/Exception/InvalidServerException.html" title="class in net.ME1312.SubServers.Bungee.Library.Exception"><span class="typeNameLink">InvalidServerException</span></a> - Exception in <a href="net/ME1312/SubServers/Bungee/Library/Exception/package-summary.html">net.ME1312.SubServers.Bungee.Library.Exception</a></dt>
|
||||
<dd>
|
||||
<div class="block">Invalid Server Exception</div>
|
||||
@ -1673,14 +1726,6 @@
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Launch.html#Launch--">Launch()</a></span> - Constructor for class net.ME1312.SubServers.Bungee.<a href="net/ME1312/SubServers/Bungee/Launch.html" title="class in net.ME1312.SubServers.Bungee">Launch</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html#linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">linkSubDataClient(Client)</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.External.<a href="net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html" title="class in net.ME1312.SubServers.Bungee.Host.External">ExternalHost</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Server.html#linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">linkSubDataClient(Client)</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/ClientHandler.html#linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">linkSubDataClient(Client)</a></span> - Method in interface net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Link a SubData Client to this Object</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/External/ExternalSubLogger.html#log-java.lang.String-">log(String)</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.External.<a href="net/ME1312/SubServers/Bungee/Host/External/ExternalSubLogger.html" title="class in net.ME1312.SubServers.Bungee.Host.External">ExternalSubLogger</a></dt>
|
||||
<dd>
|
||||
<div class="block">Log a Message</div>
|
||||
@ -2303,8 +2348,7 @@
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/Client.html#setHandler-net.ME1312.SubServers.Bungee.Network.ClientHandler-">setHandler(ClientHandler)</a></span> - Method in class net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a></dt>
|
||||
<dd>
|
||||
<div class="block">Sets the Handler<br>
|
||||
<b>Warning:</b> This method should only be called by ClientHandler methods</div>
|
||||
<div class="block">Sets the Handler</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden(boolean)</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a></dt>
|
||||
<dd>
|
||||
@ -2342,6 +2386,14 @@
|
||||
<dd>
|
||||
<div class="block">Set the Command that Stops the Server</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData(Client)</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.External.<a href="net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html" title="class in net.ME1312.SubServers.Bungee.Host.External">ExternalHost</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Server.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData(Client)</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/ClientHandler.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData(Client)</a></span> - Method in interface net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Link a SubData Client to this Object</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Event/SubCreateEvent.html#setTemplate-net.ME1312.SubServers.Bungee.Host.SubCreator.ServerTemplate-">setTemplate(SubCreator.ServerTemplate)</a></span> - Method in class net.ME1312.SubServers.Bungee.Event.<a href="net/ME1312/SubServers/Bungee/Event/SubCreateEvent.html" title="class in net.ME1312.SubServers.Bungee.Event">SubCreateEvent</a></dt>
|
||||
<dd>
|
||||
<div class="block">Set the Template to Use</div>
|
||||
@ -2430,6 +2482,8 @@
|
||||
<dd>
|
||||
<div class="block">Reset all changes made by startListeners</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html#StrongEncryptionNotAvailableException-int-">StrongEncryptionNotAvailableException(int)</a></span> - Constructor for exception net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.StrongEncryptionNotAvailableException</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Bungee/Event/SubAddServerEvent.html" title="class in net.ME1312.SubServers.Bungee.Event"><span class="typeNameLink">SubAddServerEvent</span></a> - Class in <a href="net/ME1312/SubServers/Bungee/Event/package-summary.html">net.ME1312.SubServers.Bungee.Event</a></dt>
|
||||
<dd>
|
||||
<div class="block">Server Add Event</div>
|
||||
@ -2478,10 +2532,12 @@
|
||||
<dd>
|
||||
<div class="block">SubDataServer Class</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.html#SubDataServer-net.ME1312.SubServers.Bungee.SubPlugin-int-int-java.net.InetAddress-">SubDataServer(SubPlugin, int, int, InetAddress)</a></span> - Constructor for class net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network">SubDataServer</a></dt>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.html#SubDataServer-net.ME1312.SubServers.Bungee.SubPlugin-int-int-java.net.InetAddress-net.ME1312.SubServers.Bungee.Network.SubDataServer.Encryption-">SubDataServer(SubPlugin, int, int, InetAddress, SubDataServer.Encryption)</a></span> - Constructor for class net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network">SubDataServer</a></dt>
|
||||
<dd>
|
||||
<div class="block">SubData Server Instance</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">SubDataServer.Encryption</span></a> - Enum in <a href="net/ME1312/SubServers/Bungee/Network/package-summary.html">net.ME1312.SubServers.Bungee.Network</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Bungee/Event/SubEditServerEvent.html" title="class in net.ME1312.SubServers.Bungee.Event"><span class="typeNameLink">SubEditServerEvent</span></a> - Class in <a href="net/ME1312/SubServers/Bungee/Event/package-summary.html">net.ME1312.SubServers.Bungee.Event</a></dt>
|
||||
<dd>
|
||||
<div class="block">Server Edit Event</div>
|
||||
@ -2702,6 +2758,10 @@
|
||||
<dd>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html#valueOf-java.lang.String-">valueOf(String)</a></span> - Static method in enum net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a></dt>
|
||||
<dd>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/SubCreator.ServerType.html#values--">values()</a></span> - Static method in enum net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/SubCreator.ServerType.html" title="enum in net.ME1312.SubServers.Bungee.Host">SubCreator.ServerType</a></dt>
|
||||
<dd>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
@ -2712,6 +2772,11 @@ the order they are declared.</div>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html#values--">values()</a></span> - Static method in enum net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a></dt>
|
||||
<dd>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version"><span class="typeNameLink">Version</span></a> - Class in <a href="net/ME1312/SubServers/Bungee/Library/Version/package-summary.html">net.ME1312.SubServers.Bungee.Library.Version</a></dt>
|
||||
<dd>
|
||||
<div class="block">Version Class</div>
|
||||
|
@ -235,7 +235,7 @@ implements <a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Clien
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html#getSubDataClient--">getSubDataClient</a></span>()</code>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html#getSubData--">getSubData</a></span>()</code>
|
||||
<div class="block">Gets the SubData Client</div>
|
||||
</td>
|
||||
</tr>
|
||||
@ -258,24 +258,24 @@ implements <a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Clien
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html#linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">linkSubDataClient</a></span>(<a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> client)</code>
|
||||
<div class="block">Link a SubData Client to this Object</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html#removeSubServer-java.util.UUID-java.lang.String-">removeSubServer</a></span>(java.util.UUID player,
|
||||
java.lang.String name)</code>
|
||||
<div class="block">Removes a SubServer</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i15" class="rowColor">
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html#setEnabled-boolean-">setEnabled</a></span>(boolean value)</code>
|
||||
<div class="block">Set if this Host is Enabled</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i15" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></span>(<a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> client)</code>
|
||||
<div class="block">Link a SubData Client to this Object</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.net.ME1312.SubServers.Bungee.Host.Host">
|
||||
@ -337,37 +337,39 @@ implements <a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Clien
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getSubDataClient--">
|
||||
<a name="getSubData--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSubDataClient</h4>
|
||||
<pre>public <a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> getSubDataClient()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#getSubDataClient--">ClientHandler</a></code></span></div>
|
||||
<h4>getSubData</h4>
|
||||
<pre>public <a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> getSubData()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#getSubData--">ClientHandler</a></code></span></div>
|
||||
<div class="block">Gets the SubData Client</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#getSubDataClient--">getSubDataClient</a></code> in interface <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a></code></dd>
|
||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#getSubData--">getSubData</a></code> in interface <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a></code></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>SubData Client (or null if not linked)</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">
|
||||
<a name="setSubData-net.ME1312.SubServers.Bungee.Network.Client-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>linkSubDataClient</h4>
|
||||
<pre>public void linkSubDataClient(<a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> client)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">ClientHandler</a></code></span></div>
|
||||
<h4>setSubData</h4>
|
||||
<pre>public void setSubData(<a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> client)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">ClientHandler</a></code></span></div>
|
||||
<div class="block">Link a SubData Client to this Object</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">linkSubDataClient</a></code> in interface <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a></code></dd>
|
||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></code> in interface <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>client</code> - Client to Link</dd>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Client.html#setHandler-net.ME1312.SubServers.Bungee.Network.ClientHandler-"><code>Client.setHandler(ClientHandler)</code></a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -345,7 +345,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServer.h
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class net.ME1312.SubServers.Bungee.Host.<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a></h3>
|
||||
<code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getExtra--">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSubDataClient--">getSubDataClient</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">linkSubDataClient</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a></code></li>
|
||||
<code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getExtra--">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSubData--">getSubData</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.BungeeServerInfo">
|
||||
|
@ -347,7 +347,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServer.h
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class net.ME1312.SubServers.Bungee.Host.<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a></h3>
|
||||
<code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getExtra--">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSubDataClient--">getSubDataClient</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">linkSubDataClient</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a></code></li>
|
||||
<code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getExtra--">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSubData--">getSubData</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.BungeeServerInfo">
|
||||
|
@ -196,7 +196,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHa
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSubDataClient--">getSubDataClient</a></span>()</code>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSubData--">getSubData</a></span>()</code>
|
||||
<div class="block">Gets the SubData Client</div>
|
||||
</td>
|
||||
</tr>
|
||||
@ -220,40 +220,40 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHa
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">linkSubDataClient</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> client)</code>
|
||||
<div class="block">Link a SubData Client to this Object</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
||||
<div class="block">Remove an extra value from this Server</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setDisplayName-java.lang.String-">setDisplayName</a></span>(java.lang.String value)</code>
|
||||
<div class="block">Sets the Display Name for this Server</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a></span>(boolean value)</code>
|
||||
<div class="block">Set if the server is hidden from players</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a></span>(java.lang.String value)</code>
|
||||
<div class="block">Sets the MOTD of the Server</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a></span>(boolean value)</code>
|
||||
<div class="block">Sets if the Server is Restricted</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> client)</code>
|
||||
<div class="block">Link a SubData Client to this Object</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.BungeeServerInfo">
|
||||
@ -309,37 +309,39 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHa
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getSubDataClient--">
|
||||
<a name="getSubData--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSubDataClient</h4>
|
||||
<pre>public <a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> getSubDataClient()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#getSubDataClient--">ClientHandler</a></code></span></div>
|
||||
<h4>getSubData</h4>
|
||||
<pre>public <a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> getSubData()</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#getSubData--">ClientHandler</a></code></span></div>
|
||||
<div class="block">Gets the SubData Client</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#getSubDataClient--">getSubDataClient</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a></code></dd>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#getSubData--">getSubData</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a></code></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>SubData Client (or null if not linked)</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">
|
||||
<a name="setSubData-net.ME1312.SubServers.Bungee.Network.Client-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>linkSubDataClient</h4>
|
||||
<pre>public void linkSubDataClient(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> client)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">ClientHandler</a></code></span></div>
|
||||
<h4>setSubData</h4>
|
||||
<pre>public void setSubData(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> client)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">ClientHandler</a></code></span></div>
|
||||
<div class="block">Link a SubData Client to this Object</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">linkSubDataClient</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a></code></dd>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>client</code> - Client to Link</dd>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html#setHandler-net.ME1312.SubServers.Bungee.Network.ClientHandler-"><code>Client.setHandler(ClientHandler)</code></a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -367,7 +367,7 @@ extends <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html" t
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class net.ME1312.SubServers.Bungee.Host.<a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a></h3>
|
||||
<code><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getExtra--">getExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSubDataClient--">getSubDataClient</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">linkSubDataClient</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setDisplayName-java.lang.String-">setDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a></code></li>
|
||||
<code><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getExtra--">getExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSubData--">getSubData</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setDisplayName-java.lang.String-">setDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.BungeeServerInfo">
|
||||
|
@ -0,0 +1,276 @@
|
||||
<!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 -->
|
||||
<title>AES.InvalidAESStreamException (SubServers.Bungee)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AES.InvalidAESStreamException (SubServers.Bungee)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidAESStreamException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.ME1312.SubServers.Bungee.Network</div>
|
||||
<h2 title="Class AES.InvalidAESStreamException" class="title">Class AES.InvalidAESStreamException</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Throwable</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Exception</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Bungee.Network.AES.InvalidAESStreamException</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network">AES</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">AES.InvalidAESStreamException</span>
|
||||
extends java.lang.Exception</pre>
|
||||
<div class="block">Thrown if an attempt is made to decrypt an invalid AES stream.</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../serialized-form.html#net.ME1312.SubServers.Bungee.Network.AES.InvalidAESStreamException">Serialized Form</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html#InvalidAESStreamException--">InvalidAESStreamException</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html#InvalidAESStreamException-java.lang.Exception-">InvalidAESStreamException</a></span>(java.lang.Exception e)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Throwable</h3>
|
||||
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="InvalidAESStreamException--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>InvalidAESStreamException</h4>
|
||||
<pre>public InvalidAESStreamException()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="InvalidAESStreamException-java.lang.Exception-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>InvalidAESStreamException</h4>
|
||||
<pre>public InvalidAESStreamException(java.lang.Exception e)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidAESStreamException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,224 @@
|
||||
<!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 -->
|
||||
<title>AES.InvalidKeyLengthException (SubServers.Bungee)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AES.InvalidKeyLengthException (SubServers.Bungee)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidKeyLengthException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.ME1312.SubServers.Bungee.Network</div>
|
||||
<h2 title="Class AES.InvalidKeyLengthException" class="title">Class AES.InvalidKeyLengthException</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Throwable</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Exception</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Bungee.Network.AES.InvalidKeyLengthException</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network">AES</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">AES.InvalidKeyLengthException</span>
|
||||
extends java.lang.Exception</pre>
|
||||
<div class="block">Thrown if an attempt is made to encrypt a stream with an invalid AES key length.</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../serialized-form.html#net.ME1312.SubServers.Bungee.Network.AES.InvalidKeyLengthException">Serialized Form</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Throwable</h3>
|
||||
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidKeyLengthException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,264 @@
|
||||
<!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 -->
|
||||
<title>AES.InvalidPasswordException (SubServers.Bungee)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AES.InvalidPasswordException (SubServers.Bungee)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidPasswordException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.ME1312.SubServers.Bungee.Network</div>
|
||||
<h2 title="Class AES.InvalidPasswordException" class="title">Class AES.InvalidPasswordException</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Throwable</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Exception</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Bungee.Network.AES.InvalidPasswordException</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network">AES</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">AES.InvalidPasswordException</span>
|
||||
extends java.lang.Exception</pre>
|
||||
<div class="block">Thrown if an attempt is made to decrypt a stream with an incorrect password.</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../serialized-form.html#net.ME1312.SubServers.Bungee.Network.AES.InvalidPasswordException">Serialized Form</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html#InvalidPasswordException--">InvalidPasswordException</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Throwable</h3>
|
||||
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="InvalidPasswordException--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>InvalidPasswordException</h4>
|
||||
<pre>public InvalidPasswordException()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidPasswordException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,265 @@
|
||||
<!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 -->
|
||||
<title>AES.StrongEncryptionNotAvailableException (SubServers.Bungee)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AES.StrongEncryptionNotAvailableException (SubServers.Bungee)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.StrongEncryptionNotAvailableException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.ME1312.SubServers.Bungee.Network</div>
|
||||
<h2 title="Class AES.StrongEncryptionNotAvailableException" class="title">Class AES.StrongEncryptionNotAvailableException</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Throwable</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Exception</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Bungee.Network.AES.StrongEncryptionNotAvailableException</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network">AES</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">AES.StrongEncryptionNotAvailableException</span>
|
||||
extends java.lang.Exception</pre>
|
||||
<div class="block">Thrown if 192- or 256-bit AES encryption or decryption is attempted,
|
||||
but not available on the particular Java platform.</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../serialized-form.html#net.ME1312.SubServers.Bungee.Network.AES.StrongEncryptionNotAvailableException">Serialized Form</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html#StrongEncryptionNotAvailableException-int-">StrongEncryptionNotAvailableException</a></span>(int keySize)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Throwable</h3>
|
||||
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="StrongEncryptionNotAvailableException-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>StrongEncryptionNotAvailableException</h4>
|
||||
<pre>public StrongEncryptionNotAvailableException(int keySize)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.StrongEncryptionNotAvailableException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,468 @@
|
||||
<!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 -->
|
||||
<title>AES (SubServers.Bungee)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AES (SubServers.Bungee)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":9,"i2":9,"i3":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Bungee/Network/AES.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.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: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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">net.ME1312.SubServers.Bungee.Network</div>
|
||||
<h2 title="Class AES" class="title">Class AES</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Bungee.Network.AES</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">AES</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">A class to perform password-based AES encryption and decryption in CBC mode.
|
||||
128, 192, and 256-bit encryption are supported, provided that the latter two
|
||||
are permitted by the Java runtime's jurisdiction policy files.
|
||||
<br/>
|
||||
The public interface for this class consists of the static methods
|
||||
<a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a> and <a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html#decrypt-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>decrypt(java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>, which encrypt and decrypt arbitrary
|
||||
streams of data, respectively.</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>dweymouth@gmail.com</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidAESStreamException</a></span></code>
|
||||
<div class="block">Thrown if an attempt is made to decrypt an invalid AES stream.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidKeyLengthException</a></span></code>
|
||||
<div class="block">Thrown if an attempt is made to encrypt a stream with an invalid AES key length.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidPasswordException</a></span></code>
|
||||
<div class="block">Thrown if an attempt is made to decrypt a stream with an incorrect password.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.StrongEncryptionNotAvailableException</a></span></code>
|
||||
<div class="block">Thrown if 192- or 256-bit AES encryption or decryption is attempted,
|
||||
but not available on the particular Java platform.</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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html#AES--">AES</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/ME1312/SubServers/Bungee/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Bungee.Library">NamedContainer</a><java.lang.Integer,java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html#decrypt-java.lang.String-byte:A-">decrypt</a></span>(java.lang.String password,
|
||||
byte[] input)</code>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html#decrypt-java.lang.String-java.io.InputStream-java.io.OutputStream-">decrypt</a></span>(java.lang.String password,
|
||||
java.io.InputStream input,
|
||||
java.io.OutputStream output)</code>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-">encrypt</a></span>(int keyLength,
|
||||
java.lang.String password,
|
||||
java.io.InputStream input,
|
||||
java.io.OutputStream output)</code>
|
||||
<div class="block">Encrypts a stream of data.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>static byte[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html#encrypt-int-java.lang.String-java.lang.String-">encrypt</a></span>(int keyLength,
|
||||
java.lang.String password,
|
||||
java.lang.String input)</code>
|
||||
<div class="block">Encrypts a stream of data.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, 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">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="AES--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>AES</h4>
|
||||
<pre>public AES()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>encrypt</h4>
|
||||
<pre>public static void encrypt(int keyLength,
|
||||
java.lang.String password,
|
||||
java.io.InputStream input,
|
||||
java.io.OutputStream output)
|
||||
throws <a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidKeyLengthException</a>,
|
||||
<a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.StrongEncryptionNotAvailableException</a>,
|
||||
java.io.IOException</pre>
|
||||
<div class="block">Encrypts a stream of data. The encrypted stream consists of a header
|
||||
followed by the raw AES data. The header is broken down as follows:<br/>
|
||||
<ul>
|
||||
<li><b>keyLength</b>: AES key length in bytes (valid for 16, 24, 32) (1 byte)</li>
|
||||
<li><b>salt</b>: pseudorandom salt used to derive keys from password (16 bytes)</li>
|
||||
<li><b>authentication key</b> (derived from password and salt, used to
|
||||
check validity of password upon decryption) (8 bytes)</li>
|
||||
<li><b>IV</b>: pseudorandom AES initialization vector (16 bytes)</li>
|
||||
</ul></div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>keyLength</code> - key length to use for AES encryption (must be 128, 192, or 256)</dd>
|
||||
<dd><code>password</code> - password to use for encryption</dd>
|
||||
<dd><code>input</code> - an arbitrary byte stream to encrypt</dd>
|
||||
<dd><code>output</code> - stream to which encrypted data will be written</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidKeyLengthException</a></code> - if keyLength is not 128, 192, or 256</dd>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.StrongEncryptionNotAvailableException</a></code> - if keyLength is 192 or 256, but the Java runtime's jurisdiction
|
||||
policy files do not allow 192- or 256-bit encryption</dd>
|
||||
<dd><code>java.io.IOException</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="encrypt-int-java.lang.String-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>encrypt</h4>
|
||||
<pre>public static byte[] encrypt(int keyLength,
|
||||
java.lang.String password,
|
||||
java.lang.String input)
|
||||
throws java.io.IOException,
|
||||
<a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.StrongEncryptionNotAvailableException</a>,
|
||||
<a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidKeyLengthException</a></pre>
|
||||
<div class="block">Encrypts a stream of data. The encrypted stream consists of a header
|
||||
followed by the raw AES data. The header is broken down as follows:<br/>
|
||||
<ul>
|
||||
<li><b>keyLength</b>: AES key length in bytes (valid for 16, 24, 32) (1 byte)</li>
|
||||
<li><b>salt</b>: pseudorandom salt used to derive keys from password (16 bytes)</li>
|
||||
<li><b>authentication key</b> (derived from password and salt, used to
|
||||
check validity of password upon decryption) (8 bytes)</li>
|
||||
<li><b>IV</b>: pseudorandom AES initialization vector (16 bytes)</li>
|
||||
</ul></div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>keyLength</code> - key length to use for AES encryption (must be 128, 192, or 256)</dd>
|
||||
<dd><code>password</code> - password to use for encryption</dd>
|
||||
<dd><code>input</code> - an arbitrary string to encrypt</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>string containing the encrypted data</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidKeyLengthException</a></code> - if keyLength is not 128, 192, or 256</dd>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.StrongEncryptionNotAvailableException</a></code> - if keyLength is 192 or 256, but the Java runtime's jurisdiction
|
||||
policy files do not allow 192- or 256-bit encryption</dd>
|
||||
<dd><code>java.io.IOException</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="decrypt-java.lang.String-java.io.InputStream-java.io.OutputStream-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>decrypt</h4>
|
||||
<pre>public static int decrypt(java.lang.String password,
|
||||
java.io.InputStream input,
|
||||
java.io.OutputStream output)
|
||||
throws <a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidPasswordException</a>,
|
||||
<a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidAESStreamException</a>,
|
||||
java.io.IOException,
|
||||
<a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.StrongEncryptionNotAvailableException</a></pre>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>password</code> - the password used to encrypt/decrypt the stream</dd>
|
||||
<dd><code>input</code> - stream of encrypted data to be decrypted</dd>
|
||||
<dd><code>output</code> - stream to which decrypted data will be written</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the key length for the decrypted stream (128, 192, or 256)</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidPasswordException</a></code> - if the given password was not used to encrypt the data</dd>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidAESStreamException</a></code> - if the given input stream is not a valid AES-encrypted stream</dd>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.StrongEncryptionNotAvailableException</a></code> - if the stream is 192 or 256-bit encrypted, and the Java runtime's
|
||||
jurisdiction policy files do not allow for AES-192 or 256</dd>
|
||||
<dd><code>java.io.IOException</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="decrypt-java.lang.String-byte:A-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>decrypt</h4>
|
||||
<pre>public static <a href="../../../../../net/ME1312/SubServers/Bungee/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Bungee.Library">NamedContainer</a><java.lang.Integer,java.lang.String> decrypt(java.lang.String password,
|
||||
byte[] input)
|
||||
throws java.io.IOException,
|
||||
<a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.StrongEncryptionNotAvailableException</a>,
|
||||
<a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidAESStreamException</a>,
|
||||
<a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidPasswordException</a></pre>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>password</code> - the password used to encrypt/decrypt the string</dd>
|
||||
<dd><code>input</code> - string of encrypted data to be decrypted</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the key length for the decrypted string (128, 192, or 256) and the string of decrypted data</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidPasswordException</a></code> - if the given password was not used to encrypt the data</dd>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidAESStreamException</a></code> - if the given input stream is not a valid AES-encrypted stream</dd>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.StrongEncryptionNotAvailableException</a></code> - if the stream is 192 or 256-bit encrypted, and the Java runtime's
|
||||
jurisdiction policy files do not allow for AES-192 or 256</dd>
|
||||
<dd><code>java.io.IOException</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>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Bungee/Network/AES.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.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: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -17,7 +17,7 @@
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@ -47,7 +47,7 @@ var activeTableTab = "activeTableTab";
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
@ -155,40 +155,45 @@ extends java.lang.Object</pre>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html#disconnect--">disconnect</a></span>()</code>
|
||||
<div class="block">Disconnects the Client (does not remove them from the server)</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>java.net.InetSocketAddress</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html#getAddress--">getAddress</a></span>()</code>
|
||||
<div class="block">Get Remote Address</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>java.net.Socket</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html#getConnection--">getConnection</a></span>()</code>
|
||||
<div class="block">Get Raw Connection</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html#getHandler--">getHandler</a></span>()</code>
|
||||
<div class="block">Gets the Linked Handler</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html#isAuthorized--">isAuthorized</a></span>()</code>
|
||||
<div class="block">If the connection is authorized</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html#sendPacket-net.ME1312.SubServers.Bungee.Network.PacketOut-">sendPacket</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Bungee.Network">PacketOut</a> packet)</code>
|
||||
<div class="block">Send Packet to Client</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html#setHandler-net.ME1312.SubServers.Bungee.Network.ClientHandler-">setHandler</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a> obj)</code>
|
||||
<div class="block">Sets the Handler<br>
|
||||
<b>Warning:</b> This method should only be called by ClientHandler methods</div>
|
||||
<div class="block">Sets the Handler</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -323,17 +328,29 @@ extends java.lang.Object</pre>
|
||||
<a name="setHandler-net.ME1312.SubServers.Bungee.Network.ClientHandler-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setHandler</h4>
|
||||
<pre>public void setHandler(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a> obj)</pre>
|
||||
<div class="block">Sets the Handler<br>
|
||||
<b>Warning:</b> This method should only be called by ClientHandler methods</div>
|
||||
<div class="block">Sets the Handler</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>obj</code> - Handler</dd>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network"><code>ClientHandler</code></a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="disconnect--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>disconnect</h4>
|
||||
<pre>public void disconnect()
|
||||
throws java.io.IOException</pre>
|
||||
<div class="block">Disconnects the Client (does not remove them from the server)</div>
|
||||
<dl>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code>java.io.IOException</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@ -364,7 +381,7 @@ extends java.lang.Object</pre>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
|
@ -125,13 +125,13 @@ var activeTableTab = "activeTableTab";
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#getSubDataClient--">getSubDataClient</a></span>()</code>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#getSubData--">getSubData</a></span>()</code>
|
||||
<div class="block">Gets the SubData Client</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">linkSubDataClient</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> client)</code>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> client)</code>
|
||||
<div class="block">Link a SubData Client to this Object</div>
|
||||
</td>
|
||||
</tr>
|
||||
@ -150,13 +150,13 @@ var activeTableTab = "activeTableTab";
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getSubDataClient--">
|
||||
<a name="getSubData--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSubDataClient</h4>
|
||||
<pre><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> getSubDataClient()</pre>
|
||||
<h4>getSubData</h4>
|
||||
<pre><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> getSubData()</pre>
|
||||
<div class="block">Gets the SubData Client</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
@ -164,17 +164,19 @@ var activeTableTab = "activeTableTab";
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="linkSubDataClient-net.ME1312.SubServers.Bungee.Network.Client-">
|
||||
<a name="setSubData-net.ME1312.SubServers.Bungee.Network.Client-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>linkSubDataClient</h4>
|
||||
<pre>void linkSubDataClient(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> client)</pre>
|
||||
<h4>setSubData</h4>
|
||||
<pre>void setSubData(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> client)</pre>
|
||||
<div class="block">Link a SubData Client to this Object</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>client</code> - Client to Link</dd>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html#setHandler-net.ME1312.SubServers.Bungee.Network.ClientHandler-"><code>Client.setHandler(ClientHandler)</code></a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -0,0 +1,378 @@
|
||||
<!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 -->
|
||||
<title>SubDataServer.Encryption (SubServers.Bungee)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="SubDataServer.Encryption (SubServers.Bungee)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" target="_top">Frames</a></li>
|
||||
<li><a href="SubDataServer.Encryption.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </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">net.ME1312.SubServers.Bungee.Network</div>
|
||||
<h2 title="Enum SubDataServer.Encryption" class="title">Enum SubDataServer.Encryption</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Enum<<a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Bungee.Network.SubDataServer.Encryption</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable, java.lang.Comparable<<a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a>></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network">SubDataServer</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static enum <span class="typeNameLabel">SubDataServer.Encryption</span>
|
||||
extends java.lang.Enum<<a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a>></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
|
||||
<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Enum Constant and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html#AES">AES</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html#AES_128">AES_128</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html#AES_192">AES_192</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html#AES_256">AES_256</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html#NONE">NONE</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String name)</code>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a>[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html#values--">values</a></span>()</code>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Enum</h3>
|
||||
<code>compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Detail</h3>
|
||||
<a name="NONE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NONE</h4>
|
||||
<pre>public static final <a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a> NONE</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="AES">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>AES</h4>
|
||||
<pre>public static final <a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a> AES</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="AES_128">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>AES_128</h4>
|
||||
<pre>public static final <a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a> AES_128</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="AES_192">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>AES_192</h4>
|
||||
<pre>public static final <a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a> AES_192</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="AES_256">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>AES_256</h4>
|
||||
<pre>public static final <a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a> AES_256</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="values--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>values</h4>
|
||||
<pre>public static <a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a>[] values()</pre>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared. This method may be used to iterate
|
||||
over the constants as follows:
|
||||
<pre>
|
||||
for (SubDataServer.Encryption c : SubDataServer.Encryption.values())
|
||||
System.out.println(c);
|
||||
</pre></div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="valueOf-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>valueOf</h4>
|
||||
<pre>public static <a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a> valueOf(java.lang.String name)</pre>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.
|
||||
The string must match <i>exactly</i> an identifier used to declare an
|
||||
enum constant in this type. (Extraneous whitespace characters are
|
||||
not permitted.)</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the enum constant with the specified name</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
|
||||
<dd><code>java.lang.NullPointerException</code> - if the argument is null</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>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" target="_top">Frames</a></li>
|
||||
<li><a href="SubDataServer.Encryption.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -17,7 +17,7 @@
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":9,"i2":10,"i3":9,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":10,"i10":9,"i11":9,"i12":10,"i13":10,"i14":9,"i15":9};
|
||||
var methods = {"i0":10,"i1":9,"i2":10,"i3":9,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":9,"i10":10,"i11":9,"i12":9,"i13":10,"i14":10,"i15":9,"i16":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@ -48,7 +48,7 @@ var activeTableTab = "activeTableTab";
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Bungee/Network/SubDataServer.html" target="_top">Frames</a></li>
|
||||
@ -72,7 +72,7 @@ var activeTableTab = "activeTableTab";
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
@ -116,6 +116,25 @@ extends java.lang.Object</pre>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
@ -128,10 +147,11 @@ extends java.lang.Object</pre>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html#SubDataServer-net.ME1312.SubServers.Bungee.SubPlugin-int-int-java.net.InetAddress-">SubDataServer</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/SubPlugin.html" title="class in net.ME1312.SubServers.Bungee">SubPlugin</a> plugin,
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html#SubDataServer-net.ME1312.SubServers.Bungee.SubPlugin-int-int-java.net.InetAddress-net.ME1312.SubServers.Bungee.Network.SubDataServer.Encryption-">SubDataServer</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/SubPlugin.html" title="class in net.ME1312.SubServers.Bungee">SubPlugin</a> plugin,
|
||||
int port,
|
||||
int backlog,
|
||||
java.net.InetAddress address)</code>
|
||||
java.net.InetAddress address,
|
||||
<a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a> encryption)</code>
|
||||
<div class="block">SubData Server Instance</div>
|
||||
</td>
|
||||
</tr>
|
||||
@ -196,54 +216,60 @@ extends java.lang.Object</pre>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.Collection<<a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html#getClients--">getClients</a></span>()</code>
|
||||
<div class="block">Grabs all the Clients from the Network</div>
|
||||
<div class="block">Grabs all the Clients on the Network</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html#getEncryption--">getEncryption</a></span>()</code>
|
||||
<div class="block">Gets the Server's Encryption method</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>static java.util.List<? extends <a href="../../../../../net/ME1312/SubServers/Bungee/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Bungee.Network">PacketIn</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html#getPacket-java.lang.String-">getPacket</a></span>(java.lang.String handle)</code>
|
||||
<div class="block">Grab PacketIn Instances via handle</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>java.net.ServerSocket</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html#getServer--">getServer</a></span>()</code>
|
||||
<div class="block">Gets the Server Socket</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html#registerPacket-java.lang.Class-java.lang.String-">registerPacket</a></span>(java.lang.Class<? extends <a href="../../../../../net/ME1312/SubServers/Bungee/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Bungee.Network">PacketOut</a>> packet,
|
||||
java.lang.String handle)</code>
|
||||
<div class="block">Register PacketOut to the Network</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html#registerPacket-net.ME1312.SubServers.Bungee.Network.PacketIn-java.lang.String-">registerPacket</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Bungee.Network">PacketIn</a> packet,
|
||||
java.lang.String handle)</code>
|
||||
<div class="block">Register PacketIn to the Network</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html#removeClient-net.ME1312.SubServers.Bungee.Network.Client-">removeClient</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a> client)</code>
|
||||
<div class="block">Remove a Client from the Network</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html#removeClient-java.net.InetSocketAddress-">removeClient</a></span>(java.net.InetSocketAddress address)</code>
|
||||
<div class="block">Remove a Client from the Network</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<tr id="i15" class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html#unregisterPacket-java.lang.Class-">unregisterPacket</a></span>(java.lang.Class<? extends <a href="../../../../../net/ME1312/SubServers/Bungee/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Bungee.Network">PacketOut</a>> packet)</code>
|
||||
<div class="block">Unregister PacketOut to the Network</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i15" class="rowColor">
|
||||
<tr id="i16" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html#unregisterPacket-net.ME1312.SubServers.Bungee.Network.PacketIn-">unregisterPacket</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Bungee.Network">PacketIn</a> packet)</code>
|
||||
<div class="block">Unregister PacketIn from the Network</div>
|
||||
@ -271,7 +297,7 @@ extends java.lang.Object</pre>
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="SubDataServer-net.ME1312.SubServers.Bungee.SubPlugin-int-int-java.net.InetAddress-">
|
||||
<a name="SubDataServer-net.ME1312.SubServers.Bungee.SubPlugin-int-int-java.net.InetAddress-net.ME1312.SubServers.Bungee.Network.SubDataServer.Encryption-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
@ -280,7 +306,8 @@ extends java.lang.Object</pre>
|
||||
<pre>public SubDataServer(<a href="../../../../../net/ME1312/SubServers/Bungee/SubPlugin.html" title="class in net.ME1312.SubServers.Bungee">SubPlugin</a> plugin,
|
||||
int port,
|
||||
int backlog,
|
||||
java.net.InetAddress address)
|
||||
java.net.InetAddress address,
|
||||
<a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a> encryption)
|
||||
throws java.io.IOException</pre>
|
||||
<div class="block">SubData Server Instance</div>
|
||||
<dl>
|
||||
@ -316,6 +343,20 @@ extends java.lang.Object</pre>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getEncryption--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getEncryption</h4>
|
||||
<pre>public <a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a> getEncryption()</pre>
|
||||
<div class="block">Gets the Server's Encryption method</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Encryption method</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="addClient-java.net.Socket-">
|
||||
<!-- -->
|
||||
</a>
|
||||
@ -372,7 +413,7 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>getClients</h4>
|
||||
<pre>public java.util.Collection<<a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a>> getClients()</pre>
|
||||
<div class="block">Grabs all the Clients from the Network</div>
|
||||
<div class="block">Grabs all the Clients on the Network</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Client List</dd>
|
||||
@ -575,7 +616,7 @@ extends java.lang.Object</pre>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Bungee/Network/SubDataServer.html" target="_top">Frames</a></li>
|
||||
@ -599,7 +640,7 @@ extends java.lang.Object</pre>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
|
@ -18,9 +18,21 @@
|
||||
</ul>
|
||||
<h2 title="Classes">Classes</h2>
|
||||
<ul title="Classes">
|
||||
<li><a href="AES.html" title="class in net.ME1312.SubServers.Bungee.Network" target="classFrame">AES</a></li>
|
||||
<li><a href="Client.html" title="class in net.ME1312.SubServers.Bungee.Network" target="classFrame">Client</a></li>
|
||||
<li><a href="SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network" target="classFrame">SubDataServer</a></li>
|
||||
</ul>
|
||||
<h2 title="Enums">Enums</h2>
|
||||
<ul title="Enums">
|
||||
<li><a href="SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network" target="classFrame">SubDataServer.Encryption</a></li>
|
||||
</ul>
|
||||
<h2 title="Exceptions">Exceptions</h2>
|
||||
<ul title="Exceptions">
|
||||
<li><a href="AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network" target="classFrame">AES.InvalidAESStreamException</a></li>
|
||||
<li><a href="AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network" target="classFrame">AES.InvalidKeyLengthException</a></li>
|
||||
<li><a href="AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network" target="classFrame">AES.InvalidPasswordException</a></li>
|
||||
<li><a href="AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network" target="classFrame">AES.StrongEncryptionNotAvailableException</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -110,12 +110,18 @@
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network">AES</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">A class to perform password-based AES encryption and decryption in CBC mode.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Network Client Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network">SubDataServer</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">SubDataServer Class</div>
|
||||
@ -124,6 +130,57 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
|
||||
<caption><span>Enum Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Enum</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network">SubDataServer.Encryption</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation">
|
||||
<caption><span>Exception Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Exception</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidAESStreamException</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Thrown if an attempt is made to decrypt an invalid AES stream.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidKeyLengthException</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Thrown if an attempt is made to encrypt a stream with an invalid AES key length.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.InvalidPasswordException</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Thrown if an attempt is made to decrypt a stream with an incorrect password.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network">AES.StrongEncryptionNotAvailableException</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Thrown if 192- or 256-bit AES encryption or decryption is attempted,
|
||||
but not available on the particular Java platform.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
|
@ -79,8 +79,21 @@
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">AES</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">Client</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">SubDataServer</span></a></li>
|
||||
<li type="circle">java.lang.Throwable (implements java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">java.lang.Exception
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">AES.InvalidAESStreamException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">AES.InvalidKeyLengthException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">AES.InvalidPasswordException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="../../../../../net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">AES.StrongEncryptionNotAvailableException</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -90,6 +103,18 @@
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="../../../../../net/ME1312/SubServers/Bungee/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">PacketIn</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="../../../../../net/ME1312/SubServers/Bungee/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">PacketOut</span></a></li>
|
||||
</ul>
|
||||
<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="../../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">SubDataServer.Encryption</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
|
@ -89,6 +89,7 @@
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/AES.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">AES</span></a></li>
|
||||
<li type="circle">net.md_5.bungee.BungeeServerInfo (implements net.md_5.bungee.api.config.ServerInfo)
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host"><span class="typeNameLink">Server</span></a> (implements net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a>, net.ME1312.SubServers.Bungee.Library.<a href="net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a>)
|
||||
@ -197,6 +198,10 @@
|
||||
<ul>
|
||||
<li type="circle">java.lang.Exception
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">AES.InvalidAESStreamException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">AES.InvalidKeyLengthException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">AES.InvalidPasswordException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">AES.StrongEncryptionNotAvailableException</span></a></li>
|
||||
<li type="circle">java.lang.RuntimeException
|
||||
<ul>
|
||||
<li type="circle">java.lang.IllegalStateException
|
||||
@ -241,6 +246,7 @@
|
||||
<li type="circle">java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/SubCreator.ServerType.html" title="enum in net.ME1312.SubServers.Bungee.Host"><span class="typeNameLink">SubCreator.ServerType</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/SubDataServer.Encryption.html" title="enum in net.ME1312.SubServers.Bungee.Network"><span class="typeNameLink">SubDataServer.Encryption</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Bungee.Network.Packet.<a href="net/ME1312/SubServers/Bungee/Network/Packet/PacketExUpdateServer.UpdateType.html" title="enum in net.ME1312.SubServers.Bungee.Network.Packet"><span class="typeNameLink">PacketExUpdateServer.UpdateType</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -162,6 +162,31 @@
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2 title="Package">Package net.ME1312.SubServers.Bungee.Network</h2>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="net.ME1312.SubServers.Bungee.Network.AES.InvalidAESStreamException">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class <a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Bungee.Network">net.ME1312.SubServers.Bungee.Network.AES.InvalidAESStreamException</a> extends java.lang.Exception implements Serializable</h3>
|
||||
</li>
|
||||
<li class="blockList"><a name="net.ME1312.SubServers.Bungee.Network.AES.InvalidKeyLengthException">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class <a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Bungee.Network">net.ME1312.SubServers.Bungee.Network.AES.InvalidKeyLengthException</a> extends java.lang.Exception implements Serializable</h3>
|
||||
</li>
|
||||
<li class="blockList"><a name="net.ME1312.SubServers.Bungee.Network.AES.InvalidPasswordException">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class <a href="net/ME1312/SubServers/Bungee/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Bungee.Network">net.ME1312.SubServers.Bungee.Network.AES.InvalidPasswordException</a> extends java.lang.Exception implements Serializable</h3>
|
||||
</li>
|
||||
<li class="blockList"><a name="net.ME1312.SubServers.Bungee.Network.AES.StrongEncryptionNotAvailableException">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class <a href="net/ME1312/SubServers/Bungee/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Bungee.Network">net.ME1312.SubServers.Bungee.Network.AES.StrongEncryptionNotAvailableException</a> extends java.lang.Exception implements Serializable</h3>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
|
@ -11,6 +11,11 @@
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network" target="classFrame">AES</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network" target="classFrame">AES.InvalidAESStreamException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network" target="classFrame">AES.InvalidKeyLengthException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network" target="classFrame">AES.InvalidPasswordException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network" target="classFrame">AES.StrongEncryptionNotAvailableException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/Container.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame">Container</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame"><span class="interfaceName">ExtraDataHandler</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/Exception/IllegalPacketException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Exception" target="classFrame">IllegalPacketException</a></li>
|
||||
@ -40,6 +45,7 @@
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/SubCommand.html" title="class in net.ME1312.SubServers.Client.Bukkit" target="classFrame">SubCommand</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Event/SubCreateEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event" target="classFrame">SubCreateEvent</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network" target="classFrame">SubDataClient</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network" target="classFrame">SubDataClient.Encryption</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame"><span class="interfaceName">SubEvent</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Event/SubNetworkConnectEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event" target="classFrame">SubNetworkConnectEvent</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Event/SubNetworkDisconnectEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event" target="classFrame">SubNetworkDisconnectEvent</a></li>
|
||||
|
@ -11,6 +11,11 @@
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidAESStreamException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidKeyLengthException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidPasswordException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.StrongEncryptionNotAvailableException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/Container.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library">Container</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="interfaceName">ExtraDataHandler</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/Exception/IllegalPacketException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Exception">IllegalPacketException</a></li>
|
||||
@ -40,6 +45,7 @@
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/SubCommand.html" title="class in net.ME1312.SubServers.Client.Bukkit">SubCommand</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Event/SubCreateEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event">SubCreateEvent</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="interfaceName">SubEvent</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Event/SubNetworkConnectEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event">SubNetworkConnectEvent</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Event/SubNetworkDisconnectEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event">SubNetworkDisconnectEvent</a></li>
|
||||
|
@ -84,6 +84,29 @@
|
||||
<dd>
|
||||
<div class="block">Add SubServer Plugin</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">AES</span></a> - Class in <a href="net/ME1312/SubServers/Client/Bukkit/Network/package-summary.html">net.ME1312.SubServers.Client.Bukkit.Network</a></dt>
|
||||
<dd>
|
||||
<div class="block">A class to perform password-based AES encryption and decryption in CBC mode.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html#AES--">AES()</a></span> - Constructor for class net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">AES.InvalidAESStreamException</span></a> - Exception in <a href="net/ME1312/SubServers/Client/Bukkit/Network/package-summary.html">net.ME1312.SubServers.Client.Bukkit.Network</a></dt>
|
||||
<dd>
|
||||
<div class="block">Thrown if an attempt is made to decrypt an invalid AES stream.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">AES.InvalidKeyLengthException</span></a> - Exception in <a href="net/ME1312/SubServers/Client/Bukkit/Network/package-summary.html">net.ME1312.SubServers.Client.Bukkit.Network</a></dt>
|
||||
<dd>
|
||||
<div class="block">Thrown if an attempt is made to encrypt a stream with an invalid AES key length.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">AES.InvalidPasswordException</span></a> - Exception in <a href="net/ME1312/SubServers/Client/Bukkit/Network/package-summary.html">net.ME1312.SubServers.Client.Bukkit.Network</a></dt>
|
||||
<dd>
|
||||
<div class="block">Thrown if an attempt is made to decrypt a stream with an incorrect password.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">AES.StrongEncryptionNotAvailableException</span></a> - Exception in <a href="net/ME1312/SubServers/Client/Bukkit/Network/package-summary.html">net.ME1312.SubServers.Client.Bukkit.Network</a></dt>
|
||||
<dd>
|
||||
<div class="block">Thrown if 192- or 256-bit AES encryption or decryption is attempted,
|
||||
but not available on the particular Java platform.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/SubPlugin.html#api">api</a></span> - Variable in class net.ME1312.SubServers.Client.Bukkit.<a href="net/ME1312/SubServers/Client/Bukkit/SubPlugin.html" title="class in net.ME1312.SubServers.Client.Bukkit">SubPlugin</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asBoolean--">asBoolean()</a></span> - Method in class net.ME1312.SubServers.Client.Bukkit.Library.Config.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLValue</a></dt>
|
||||
@ -262,6 +285,14 @@
|
||||
</a>
|
||||
<h2 class="title">D</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html#decrypt-java.lang.String-java.io.InputStream-java.io.OutputStream-">decrypt(String, InputStream, OutputStream)</a></span> - Static method in class net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES</a></dt>
|
||||
<dd>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>AES.encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html#decrypt-java.lang.String-byte:A-">decrypt(String, byte[])</a></span> - Static method in class net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES</a></dt>
|
||||
<dd>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>AES.encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/Util.html#deleteDirectory-java.io.File-">deleteDirectory(File)</a></span> - Static method in class net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Util.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library">Util</a></dt>
|
||||
<dd>
|
||||
<div class="block">Delete a Directory</div>
|
||||
@ -282,6 +313,14 @@
|
||||
</a>
|
||||
<h2 class="title">E</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-">encrypt(int, String, InputStream, OutputStream)</a></span> - Static method in class net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES</a></dt>
|
||||
<dd>
|
||||
<div class="block">Encrypts a stream of data.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html#encrypt-int-java.lang.String-java.lang.String-">encrypt(int, String, String)</a></span> - Static method in class net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES</a></dt>
|
||||
<dd>
|
||||
<div class="block">Encrypts a stream of data.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#equals-net.ME1312.SubServers.Client.Bukkit.Library.Version.Version-">equals(Version)</a></span> - Method in class net.ME1312.SubServers.Client.Bukkit.Library.Version.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a></dt>
|
||||
<dd>
|
||||
<div class="block">See if Versions are Equal</div>
|
||||
@ -454,6 +493,10 @@
|
||||
<dd>
|
||||
<div class="block">Get a Double List by Handle</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html#getEncryption--">getEncryption()</a></span> - Method in class net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient</a></dt>
|
||||
<dd>
|
||||
<div class="block">Gets the Connection's Encryption method</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html#getExtra-java.lang.String-">getExtra(String)</a></span> - Method in interface net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">ExtraDataHandler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Get an extra value</div>
|
||||
@ -966,6 +1009,12 @@
|
||||
<dd>
|
||||
<div class="block">Internal GUI Renderer Class</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html#InvalidAESStreamException--">InvalidAESStreamException()</a></span> - Constructor for exception net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidAESStreamException</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html#InvalidAESStreamException-java.lang.Exception-">InvalidAESStreamException(Exception)</a></span> - Constructor for exception net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidAESStreamException</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html#InvalidPasswordException--">InvalidPasswordException()</a></span> - Constructor for exception net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidPasswordException</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html#isBoolean-java.lang.String-">isBoolean(String)</a></span> - Method in class net.ME1312.SubServers.Client.Bukkit.Library.Config.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a></dt>
|
||||
<dd>
|
||||
<div class="block">Check if object is a Boolean by Handle</div>
|
||||
@ -1448,6 +1497,8 @@
|
||||
<dd>
|
||||
<div class="block">Sets the Server Version</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html#StrongEncryptionNotAvailableException-int-">StrongEncryptionNotAvailableException(int)</a></span> - Constructor for exception net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.StrongEncryptionNotAvailableException</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Client/Bukkit/Event/SubAddServerEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event"><span class="typeNameLink">SubAddServerEvent</span></a> - Class in <a href="net/ME1312/SubServers/Client/Bukkit/Event/package-summary.html">net.ME1312.SubServers.Client.Bukkit.Event</a></dt>
|
||||
<dd>
|
||||
<div class="block">Add Server Event</div>
|
||||
@ -1478,10 +1529,12 @@
|
||||
<dd>
|
||||
<div class="block">SubData Direct Client Class</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html#SubDataClient-net.ME1312.SubServers.Client.Bukkit.SubPlugin-java.lang.String-java.net.InetAddress-int-">SubDataClient(SubPlugin, String, InetAddress, int)</a></span> - Constructor for class net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient</a></dt>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html#SubDataClient-net.ME1312.SubServers.Client.Bukkit.SubPlugin-java.lang.String-java.net.InetAddress-int-net.ME1312.SubServers.Client.Bukkit.Network.SubDataClient.Encryption-">SubDataClient(SubPlugin, String, InetAddress, int, SubDataClient.Encryption)</a></span> - Constructor for class net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient</a></dt>
|
||||
<dd>
|
||||
<div class="block">SubServers Client Instance</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">SubDataClient.Encryption</span></a> - Enum in <a href="net/ME1312/SubServers/Client/Bukkit/Network/package-summary.html">net.ME1312.SubServers.Client.Bukkit.Network</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Client/Bukkit/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">SubEvent</span></a> - Interface in <a href="net/ME1312/SubServers/Client/Bukkit/Library/package-summary.html">net.ME1312.SubServers.Client.Bukkit.Library</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Client/Bukkit/Event/SubNetworkConnectEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event"><span class="typeNameLink">SubNetworkConnectEvent</span></a> - Class in <a href="net/ME1312/SubServers/Client/Bukkit/Event/package-summary.html">net.ME1312.SubServers.Client.Bukkit.Event</a></dt>
|
||||
@ -1668,6 +1721,15 @@
|
||||
</a>
|
||||
<h2 class="title">V</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html#valueOf-java.lang.String-">valueOf(String)</a></span> - Static method in enum net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a></dt>
|
||||
<dd>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html#values--">values()</a></span> - Static method in enum net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a></dt>
|
||||
<dd>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version"><span class="typeNameLink">Version</span></a> - Class in <a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/package-summary.html">net.ME1312.SubServers.Client.Bukkit.Library.Version</a></dt>
|
||||
<dd>
|
||||
<div class="block">Version Class</div>
|
||||
|
@ -0,0 +1,276 @@
|
||||
<!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 -->
|
||||
<title>AES.InvalidAESStreamException (SubServers.Client.Bukkit)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AES.InvalidAESStreamException (SubServers.Client.Bukkit)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidAESStreamException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.ME1312.SubServers.Client.Bukkit.Network</div>
|
||||
<h2 title="Class AES.InvalidAESStreamException" class="title">Class AES.InvalidAESStreamException</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Throwable</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Exception</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Client.Bukkit.Network.AES.InvalidAESStreamException</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">AES.InvalidAESStreamException</span>
|
||||
extends java.lang.Exception</pre>
|
||||
<div class="block">Thrown if an attempt is made to decrypt an invalid AES stream.</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../../serialized-form.html#net.ME1312.SubServers.Client.Bukkit.Network.AES.InvalidAESStreamException">Serialized Form</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html#InvalidAESStreamException--">InvalidAESStreamException</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html#InvalidAESStreamException-java.lang.Exception-">InvalidAESStreamException</a></span>(java.lang.Exception e)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Throwable</h3>
|
||||
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="InvalidAESStreamException--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>InvalidAESStreamException</h4>
|
||||
<pre>public InvalidAESStreamException()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="InvalidAESStreamException-java.lang.Exception-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>InvalidAESStreamException</h4>
|
||||
<pre>public InvalidAESStreamException(java.lang.Exception e)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidAESStreamException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,224 @@
|
||||
<!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 -->
|
||||
<title>AES.InvalidKeyLengthException (SubServers.Client.Bukkit)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AES.InvalidKeyLengthException (SubServers.Client.Bukkit)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidKeyLengthException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.ME1312.SubServers.Client.Bukkit.Network</div>
|
||||
<h2 title="Class AES.InvalidKeyLengthException" class="title">Class AES.InvalidKeyLengthException</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Throwable</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Exception</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Client.Bukkit.Network.AES.InvalidKeyLengthException</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">AES.InvalidKeyLengthException</span>
|
||||
extends java.lang.Exception</pre>
|
||||
<div class="block">Thrown if an attempt is made to encrypt a stream with an invalid AES key length.</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../../serialized-form.html#net.ME1312.SubServers.Client.Bukkit.Network.AES.InvalidKeyLengthException">Serialized Form</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Throwable</h3>
|
||||
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidKeyLengthException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,264 @@
|
||||
<!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 -->
|
||||
<title>AES.InvalidPasswordException (SubServers.Client.Bukkit)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AES.InvalidPasswordException (SubServers.Client.Bukkit)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidPasswordException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.ME1312.SubServers.Client.Bukkit.Network</div>
|
||||
<h2 title="Class AES.InvalidPasswordException" class="title">Class AES.InvalidPasswordException</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Throwable</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Exception</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Client.Bukkit.Network.AES.InvalidPasswordException</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">AES.InvalidPasswordException</span>
|
||||
extends java.lang.Exception</pre>
|
||||
<div class="block">Thrown if an attempt is made to decrypt a stream with an incorrect password.</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../../serialized-form.html#net.ME1312.SubServers.Client.Bukkit.Network.AES.InvalidPasswordException">Serialized Form</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html#InvalidPasswordException--">InvalidPasswordException</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Throwable</h3>
|
||||
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="InvalidPasswordException--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>InvalidPasswordException</h4>
|
||||
<pre>public InvalidPasswordException()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidPasswordException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,265 @@
|
||||
<!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 -->
|
||||
<title>AES.StrongEncryptionNotAvailableException (SubServers.Client.Bukkit)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AES.StrongEncryptionNotAvailableException (SubServers.Client.Bukkit)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.StrongEncryptionNotAvailableException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.ME1312.SubServers.Client.Bukkit.Network</div>
|
||||
<h2 title="Class AES.StrongEncryptionNotAvailableException" class="title">Class AES.StrongEncryptionNotAvailableException</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Throwable</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Exception</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Client.Bukkit.Network.AES.StrongEncryptionNotAvailableException</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">AES.StrongEncryptionNotAvailableException</span>
|
||||
extends java.lang.Exception</pre>
|
||||
<div class="block">Thrown if 192- or 256-bit AES encryption or decryption is attempted,
|
||||
but not available on the particular Java platform.</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../../serialized-form.html#net.ME1312.SubServers.Client.Bukkit.Network.AES.StrongEncryptionNotAvailableException">Serialized Form</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html#StrongEncryptionNotAvailableException-int-">StrongEncryptionNotAvailableException</a></span>(int keySize)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Throwable</h3>
|
||||
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="StrongEncryptionNotAvailableException-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>StrongEncryptionNotAvailableException</h4>
|
||||
<pre>public StrongEncryptionNotAvailableException(int keySize)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.StrongEncryptionNotAvailableException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,468 @@
|
||||
<!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 -->
|
||||
<title>AES (SubServers.Client.Bukkit)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AES (SubServers.Client.Bukkit)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":9,"i2":9,"i3":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Network/AES.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.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: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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">net.ME1312.SubServers.Client.Bukkit.Network</div>
|
||||
<h2 title="Class AES" class="title">Class AES</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Client.Bukkit.Network.AES</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">AES</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">A class to perform password-based AES encryption and decryption in CBC mode.
|
||||
128, 192, and 256-bit encryption are supported, provided that the latter two
|
||||
are permitted by the Java runtime's jurisdiction policy files.
|
||||
<br/>
|
||||
The public interface for this class consists of the static methods
|
||||
<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a> and <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html#decrypt-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>decrypt(java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>, which encrypt and decrypt arbitrary
|
||||
streams of data, respectively.</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>dweymouth@gmail.com</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidAESStreamException</a></span></code>
|
||||
<div class="block">Thrown if an attempt is made to decrypt an invalid AES stream.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidKeyLengthException</a></span></code>
|
||||
<div class="block">Thrown if an attempt is made to encrypt a stream with an invalid AES key length.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidPasswordException</a></span></code>
|
||||
<div class="block">Thrown if an attempt is made to decrypt a stream with an incorrect password.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.StrongEncryptionNotAvailableException</a></span></code>
|
||||
<div class="block">Thrown if 192- or 256-bit AES encryption or decryption is attempted,
|
||||
but not available on the particular Java platform.</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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html#AES--">AES</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library">NamedContainer</a><java.lang.Integer,java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html#decrypt-java.lang.String-byte:A-">decrypt</a></span>(java.lang.String password,
|
||||
byte[] input)</code>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html#decrypt-java.lang.String-java.io.InputStream-java.io.OutputStream-">decrypt</a></span>(java.lang.String password,
|
||||
java.io.InputStream input,
|
||||
java.io.OutputStream output)</code>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-">encrypt</a></span>(int keyLength,
|
||||
java.lang.String password,
|
||||
java.io.InputStream input,
|
||||
java.io.OutputStream output)</code>
|
||||
<div class="block">Encrypts a stream of data.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>static byte[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html#encrypt-int-java.lang.String-java.lang.String-">encrypt</a></span>(int keyLength,
|
||||
java.lang.String password,
|
||||
java.lang.String input)</code>
|
||||
<div class="block">Encrypts a stream of data.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, 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">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="AES--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>AES</h4>
|
||||
<pre>public AES()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>encrypt</h4>
|
||||
<pre>public static void encrypt(int keyLength,
|
||||
java.lang.String password,
|
||||
java.io.InputStream input,
|
||||
java.io.OutputStream output)
|
||||
throws <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidKeyLengthException</a>,
|
||||
<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.StrongEncryptionNotAvailableException</a>,
|
||||
java.io.IOException</pre>
|
||||
<div class="block">Encrypts a stream of data. The encrypted stream consists of a header
|
||||
followed by the raw AES data. The header is broken down as follows:<br/>
|
||||
<ul>
|
||||
<li><b>keyLength</b>: AES key length in bytes (valid for 16, 24, 32) (1 byte)</li>
|
||||
<li><b>salt</b>: pseudorandom salt used to derive keys from password (16 bytes)</li>
|
||||
<li><b>authentication key</b> (derived from password and salt, used to
|
||||
check validity of password upon decryption) (8 bytes)</li>
|
||||
<li><b>IV</b>: pseudorandom AES initialization vector (16 bytes)</li>
|
||||
</ul></div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>keyLength</code> - key length to use for AES encryption (must be 128, 192, or 256)</dd>
|
||||
<dd><code>password</code> - password to use for encryption</dd>
|
||||
<dd><code>input</code> - an arbitrary byte stream to encrypt</dd>
|
||||
<dd><code>output</code> - stream to which encrypted data will be written</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidKeyLengthException</a></code> - if keyLength is not 128, 192, or 256</dd>
|
||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.StrongEncryptionNotAvailableException</a></code> - if keyLength is 192 or 256, but the Java runtime's jurisdiction
|
||||
policy files do not allow 192- or 256-bit encryption</dd>
|
||||
<dd><code>java.io.IOException</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="encrypt-int-java.lang.String-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>encrypt</h4>
|
||||
<pre>public static byte[] encrypt(int keyLength,
|
||||
java.lang.String password,
|
||||
java.lang.String input)
|
||||
throws java.io.IOException,
|
||||
<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.StrongEncryptionNotAvailableException</a>,
|
||||
<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidKeyLengthException</a></pre>
|
||||
<div class="block">Encrypts a stream of data. The encrypted stream consists of a header
|
||||
followed by the raw AES data. The header is broken down as follows:<br/>
|
||||
<ul>
|
||||
<li><b>keyLength</b>: AES key length in bytes (valid for 16, 24, 32) (1 byte)</li>
|
||||
<li><b>salt</b>: pseudorandom salt used to derive keys from password (16 bytes)</li>
|
||||
<li><b>authentication key</b> (derived from password and salt, used to
|
||||
check validity of password upon decryption) (8 bytes)</li>
|
||||
<li><b>IV</b>: pseudorandom AES initialization vector (16 bytes)</li>
|
||||
</ul></div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>keyLength</code> - key length to use for AES encryption (must be 128, 192, or 256)</dd>
|
||||
<dd><code>password</code> - password to use for encryption</dd>
|
||||
<dd><code>input</code> - an arbitrary string to encrypt</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>string containing the encrypted data</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidKeyLengthException</a></code> - if keyLength is not 128, 192, or 256</dd>
|
||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.StrongEncryptionNotAvailableException</a></code> - if keyLength is 192 or 256, but the Java runtime's jurisdiction
|
||||
policy files do not allow 192- or 256-bit encryption</dd>
|
||||
<dd><code>java.io.IOException</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="decrypt-java.lang.String-java.io.InputStream-java.io.OutputStream-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>decrypt</h4>
|
||||
<pre>public static int decrypt(java.lang.String password,
|
||||
java.io.InputStream input,
|
||||
java.io.OutputStream output)
|
||||
throws <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidPasswordException</a>,
|
||||
<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidAESStreamException</a>,
|
||||
java.io.IOException,
|
||||
<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.StrongEncryptionNotAvailableException</a></pre>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>password</code> - the password used to encrypt/decrypt the stream</dd>
|
||||
<dd><code>input</code> - stream of encrypted data to be decrypted</dd>
|
||||
<dd><code>output</code> - stream to which decrypted data will be written</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the key length for the decrypted stream (128, 192, or 256)</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidPasswordException</a></code> - if the given password was not used to encrypt the data</dd>
|
||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidAESStreamException</a></code> - if the given input stream is not a valid AES-encrypted stream</dd>
|
||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.StrongEncryptionNotAvailableException</a></code> - if the stream is 192 or 256-bit encrypted, and the Java runtime's
|
||||
jurisdiction policy files do not allow for AES-192 or 256</dd>
|
||||
<dd><code>java.io.IOException</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="decrypt-java.lang.String-byte:A-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>decrypt</h4>
|
||||
<pre>public static <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library">NamedContainer</a><java.lang.Integer,java.lang.String> decrypt(java.lang.String password,
|
||||
byte[] input)
|
||||
throws java.io.IOException,
|
||||
<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.StrongEncryptionNotAvailableException</a>,
|
||||
<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidAESStreamException</a>,
|
||||
<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidPasswordException</a></pre>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>password</code> - the password used to encrypt/decrypt the string</dd>
|
||||
<dd><code>input</code> - string of encrypted data to be decrypted</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the key length for the decrypted string (128, 192, or 256) and the string of decrypted data</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidPasswordException</a></code> - if the given password was not used to encrypt the data</dd>
|
||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidAESStreamException</a></code> - if the given input stream is not a valid AES-encrypted stream</dd>
|
||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.StrongEncryptionNotAvailableException</a></code> - if the stream is 192 or 256-bit encrypted, and the Java runtime's
|
||||
jurisdiction policy files do not allow for AES-192 or 256</dd>
|
||||
<dd><code>java.io.IOException</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>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Network/AES.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.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: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -47,7 +47,7 @@ var activeTableTab = "activeTableTab";
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
@ -205,7 +205,7 @@ var activeTableTab = "activeTableTab";
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
|
@ -0,0 +1,378 @@
|
||||
<!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 -->
|
||||
<title>SubDataClient.Encryption (SubServers.Client.Bukkit)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="SubDataClient.Encryption (SubServers.Client.Bukkit)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" target="_top">Frames</a></li>
|
||||
<li><a href="SubDataClient.Encryption.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </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">net.ME1312.SubServers.Client.Bukkit.Network</div>
|
||||
<h2 title="Enum SubDataClient.Encryption" class="title">Enum SubDataClient.Encryption</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Enum<<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Client.Bukkit.Network.SubDataClient.Encryption</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable, java.lang.Comparable<<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a>></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static enum <span class="typeNameLabel">SubDataClient.Encryption</span>
|
||||
extends java.lang.Enum<<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a>></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
|
||||
<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Enum Constant and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html#AES">AES</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html#AES_128">AES_128</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html#AES_192">AES_192</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html#AES_256">AES_256</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html#NONE">NONE</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String name)</code>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a>[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html#values--">values</a></span>()</code>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Enum</h3>
|
||||
<code>compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Detail</h3>
|
||||
<a name="NONE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NONE</h4>
|
||||
<pre>public static final <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a> NONE</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="AES">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>AES</h4>
|
||||
<pre>public static final <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a> AES</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="AES_128">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>AES_128</h4>
|
||||
<pre>public static final <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a> AES_128</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="AES_192">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>AES_192</h4>
|
||||
<pre>public static final <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a> AES_192</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="AES_256">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>AES_256</h4>
|
||||
<pre>public static final <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a> AES_256</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="values--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>values</h4>
|
||||
<pre>public static <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a>[] values()</pre>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared. This method may be used to iterate
|
||||
over the constants as follows:
|
||||
<pre>
|
||||
for (SubDataClient.Encryption c : SubDataClient.Encryption.values())
|
||||
System.out.println(c);
|
||||
</pre></div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="valueOf-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>valueOf</h4>
|
||||
<pre>public static <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a> valueOf(java.lang.String name)</pre>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.
|
||||
The string must match <i>exactly</i> an identifier used to declare an
|
||||
enum constant in this type. (Extraneous whitespace characters are
|
||||
not permitted.)</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the enum constant with the specified name</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
|
||||
<dd><code>java.lang.NullPointerException</code> - if the argument is null</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>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" target="_top">Frames</a></li>
|
||||
<li><a href="SubDataClient.Encryption.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -17,7 +17,7 @@
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":9,"i6":9,"i7":10,"i8":9,"i9":9};
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":9,"i6":9,"i7":9,"i8":10,"i9":9,"i10":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@ -48,7 +48,7 @@ var activeTableTab = "activeTableTab";
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html" target="_top">Frames</a></li>
|
||||
@ -72,7 +72,7 @@ var activeTableTab = "activeTableTab";
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
@ -116,6 +116,25 @@ extends java.lang.Object</pre>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
@ -128,10 +147,11 @@ extends java.lang.Object</pre>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html#SubDataClient-net.ME1312.SubServers.Client.Bukkit.SubPlugin-java.lang.String-java.net.InetAddress-int-">SubDataClient</a></span>(<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/SubPlugin.html" title="class in net.ME1312.SubServers.Client.Bukkit">SubPlugin</a> plugin,
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html#SubDataClient-net.ME1312.SubServers.Client.Bukkit.SubPlugin-java.lang.String-java.net.InetAddress-int-net.ME1312.SubServers.Client.Bukkit.Network.SubDataClient.Encryption-">SubDataClient</a></span>(<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/SubPlugin.html" title="class in net.ME1312.SubServers.Client.Bukkit">SubPlugin</a> plugin,
|
||||
java.lang.String name,
|
||||
java.net.InetAddress address,
|
||||
int port)</code>
|
||||
int port,
|
||||
<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a> encryption)</code>
|
||||
<div class="block">SubServers Client Instance</div>
|
||||
</td>
|
||||
</tr>
|
||||
@ -170,44 +190,50 @@ extends java.lang.Object</pre>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html#getEncryption--">getEncryption</a></span>()</code>
|
||||
<div class="block">Gets the Connection's Encryption method</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html#getName--">getName</a></span>()</code>
|
||||
<div class="block">Gets the Assigned Server Name</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>static java.util.List<? extends <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network">PacketIn</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html#getPacket-java.lang.String-">getPacket</a></span>(java.lang.String handle)</code>
|
||||
<div class="block">Grab PacketIn Instances via handle</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html#registerPacket-java.lang.Class-java.lang.String-">registerPacket</a></span>(java.lang.Class<? extends <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network">PacketOut</a>> packet,
|
||||
java.lang.String handle)</code>
|
||||
<div class="block">Register PacketOut to the Network</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html#registerPacket-net.ME1312.SubServers.Client.Bukkit.Network.PacketIn-java.lang.String-">registerPacket</a></span>(<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network">PacketIn</a> packet,
|
||||
java.lang.String handle)</code>
|
||||
<div class="block">Register PacketIn to the Network</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html#sendPacket-net.ME1312.SubServers.Client.Bukkit.Network.PacketOut-">sendPacket</a></span>(<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network">PacketOut</a> packet)</code>
|
||||
<div class="block">Send Packet to Server</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html#unregisterPacket-java.lang.Class-">unregisterPacket</a></span>(java.lang.Class<? extends <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network">PacketOut</a>> packet)</code>
|
||||
<div class="block">Unregister PacketOut to the Network</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html#unregisterPacket-net.ME1312.SubServers.Client.Bukkit.Network.PacketIn-">unregisterPacket</a></span>(<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network">PacketIn</a> packet)</code>
|
||||
<div class="block">Unregister PacketIn from the Network</div>
|
||||
@ -235,7 +261,7 @@ extends java.lang.Object</pre>
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="SubDataClient-net.ME1312.SubServers.Client.Bukkit.SubPlugin-java.lang.String-java.net.InetAddress-int-">
|
||||
<a name="SubDataClient-net.ME1312.SubServers.Client.Bukkit.SubPlugin-java.lang.String-java.net.InetAddress-int-net.ME1312.SubServers.Client.Bukkit.Network.SubDataClient.Encryption-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
@ -244,7 +270,8 @@ extends java.lang.Object</pre>
|
||||
<pre>public SubDataClient(<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/SubPlugin.html" title="class in net.ME1312.SubServers.Client.Bukkit">SubPlugin</a> plugin,
|
||||
java.lang.String name,
|
||||
java.net.InetAddress address,
|
||||
int port)
|
||||
int port,
|
||||
<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a> encryption)
|
||||
throws java.io.IOException</pre>
|
||||
<div class="block">SubServers Client Instance</div>
|
||||
<dl>
|
||||
@ -293,6 +320,20 @@ extends java.lang.Object</pre>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getEncryption--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getEncryption</h4>
|
||||
<pre>public <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a> getEncryption()</pre>
|
||||
<div class="block">Gets the Connection's Encryption method</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Encryption method</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="registerPacket-net.ME1312.SubServers.Client.Bukkit.Network.PacketIn-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
@ -442,7 +483,7 @@ extends java.lang.Object</pre>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html" target="_top">Frames</a></li>
|
||||
@ -466,7 +507,7 @@ extends java.lang.Object</pre>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
|
@ -17,8 +17,20 @@
|
||||
</ul>
|
||||
<h2 title="Classes">Classes</h2>
|
||||
<ul title="Classes">
|
||||
<li><a href="AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network" target="classFrame">AES</a></li>
|
||||
<li><a href="SubDataClient.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network" target="classFrame">SubDataClient</a></li>
|
||||
</ul>
|
||||
<h2 title="Enums">Enums</h2>
|
||||
<ul title="Enums">
|
||||
<li><a href="SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network" target="classFrame">SubDataClient.Encryption</a></li>
|
||||
</ul>
|
||||
<h2 title="Exceptions">Exceptions</h2>
|
||||
<ul title="Exceptions">
|
||||
<li><a href="AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network" target="classFrame">AES.InvalidAESStreamException</a></li>
|
||||
<li><a href="AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network" target="classFrame">AES.InvalidKeyLengthException</a></li>
|
||||
<li><a href="AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network" target="classFrame">AES.InvalidPasswordException</a></li>
|
||||
<li><a href="AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network" target="classFrame">AES.StrongEncryptionNotAvailableException</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -104,6 +104,12 @@
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">A class to perform password-based AES encryption and decryption in CBC mode.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">SubData Direct Client Class</div>
|
||||
@ -112,6 +118,57 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
|
||||
<caption><span>Enum Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Enum</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient.Encryption</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation">
|
||||
<caption><span>Exception Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Exception</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidAESStreamException</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Thrown if an attempt is made to decrypt an invalid AES stream.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidKeyLengthException</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Thrown if an attempt is made to encrypt a stream with an invalid AES key length.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.InvalidPasswordException</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Thrown if an attempt is made to decrypt a stream with an incorrect password.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">AES.StrongEncryptionNotAvailableException</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Thrown if 192- or 256-bit AES encryption or decryption is attempted,
|
||||
but not available on the particular Java platform.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
|
@ -79,7 +79,20 @@
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">AES</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">SubDataClient</span></a></li>
|
||||
<li type="circle">java.lang.Throwable (implements java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">java.lang.Exception
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">AES.InvalidAESStreamException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">AES.InvalidKeyLengthException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">AES.InvalidPasswordException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">AES.StrongEncryptionNotAvailableException</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -88,6 +101,18 @@
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">PacketIn</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">PacketOut</span></a></li>
|
||||
</ul>
|
||||
<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">SubDataClient.Encryption</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
|
@ -87,6 +87,7 @@
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">AES</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Container.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Container</span></a><V>
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">NamedContainer</span></a><T,V></li>
|
||||
@ -141,6 +142,10 @@
|
||||
<ul>
|
||||
<li type="circle">java.lang.Exception
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">AES.InvalidAESStreamException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">AES.InvalidKeyLengthException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">AES.InvalidPasswordException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">AES.StrongEncryptionNotAvailableException</span></a></li>
|
||||
<li type="circle">java.lang.RuntimeException
|
||||
<ul>
|
||||
<li type="circle">java.lang.IllegalStateException
|
||||
@ -184,6 +189,18 @@
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Util.ExceptionRunnable.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Util.ExceptionRunnable</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Util.ReturnRunnable.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Util.ReturnRunnable</span></a><R></li>
|
||||
</ul>
|
||||
<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">SubDataClient.Encryption</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
|
@ -113,6 +113,31 @@
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2 title="Package">Package net.ME1312.SubServers.Client.Bukkit.Network</h2>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="net.ME1312.SubServers.Client.Bukkit.Network.AES.InvalidAESStreamException">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class <a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">net.ME1312.SubServers.Client.Bukkit.Network.AES.InvalidAESStreamException</a> extends java.lang.Exception implements Serializable</h3>
|
||||
</li>
|
||||
<li class="blockList"><a name="net.ME1312.SubServers.Client.Bukkit.Network.AES.InvalidKeyLengthException">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class <a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">net.ME1312.SubServers.Client.Bukkit.Network.AES.InvalidKeyLengthException</a> extends java.lang.Exception implements Serializable</h3>
|
||||
</li>
|
||||
<li class="blockList"><a name="net.ME1312.SubServers.Client.Bukkit.Network.AES.InvalidPasswordException">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class <a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">net.ME1312.SubServers.Client.Bukkit.Network.AES.InvalidPasswordException</a> extends java.lang.Exception implements Serializable</h3>
|
||||
</li>
|
||||
<li class="blockList"><a name="net.ME1312.SubServers.Client.Bukkit.Network.AES.StrongEncryptionNotAvailableException">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class <a href="net/ME1312/SubServers/Client/Bukkit/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">net.ME1312.SubServers.Client.Bukkit.Network.AES.StrongEncryptionNotAvailableException</a> extends java.lang.Exception implements Serializable</h3>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
|
@ -11,6 +11,11 @@
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network" target="classFrame">AES</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network" target="classFrame">AES.InvalidAESStreamException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network" target="classFrame">AES.InvalidKeyLengthException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network" target="classFrame">AES.InvalidPasswordException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network" target="classFrame">AES.StrongEncryptionNotAvailableException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Event/Cancellable.html" title="interface in net.ME1312.SubServers.Host.Library.Event" target="classFrame"><span class="interfaceName">Cancellable</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API" target="classFrame">Command</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/API/Event/CommandPreProcessEvent.html" title="class in net.ME1312.SubServers.Host.API.Event" target="classFrame">CommandPreProcessEvent</a></li>
|
||||
@ -67,6 +72,7 @@
|
||||
<li><a href="net/ME1312/SubServers/Host/Executable/SubCreator.ServerTemplate.html" title="class in net.ME1312.SubServers.Host.Executable" target="classFrame">SubCreator.ServerTemplate</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Executable/SubCreator.ServerType.html" title="enum in net.ME1312.SubServers.Host.Executable" target="classFrame">SubCreator.ServerType</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network" target="classFrame">SubDataClient</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network" target="classFrame">SubDataClient.Encryption</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/API/Event/SubDisableEvent.html" title="class in net.ME1312.SubServers.Host.API.Event" target="classFrame">SubDisableEvent</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/API/Event/SubEnableEvent.html" title="class in net.ME1312.SubServers.Host.API.Event" target="classFrame">SubEnableEvent</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Executable/SubLogger.html" title="class in net.ME1312.SubServers.Host.Executable" target="classFrame">SubLogger</a></li>
|
||||
|
@ -11,6 +11,11 @@
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network">AES</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidAESStreamException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidKeyLengthException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidPasswordException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network">AES.StrongEncryptionNotAvailableException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Library/Event/Cancellable.html" title="interface in net.ME1312.SubServers.Host.Library.Event"><span class="interfaceName">Cancellable</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/API/Event/CommandPreProcessEvent.html" title="class in net.ME1312.SubServers.Host.API.Event">CommandPreProcessEvent</a></li>
|
||||
@ -67,6 +72,7 @@
|
||||
<li><a href="net/ME1312/SubServers/Host/Executable/SubCreator.ServerTemplate.html" title="class in net.ME1312.SubServers.Host.Executable">SubCreator.ServerTemplate</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Executable/SubCreator.ServerType.html" title="enum in net.ME1312.SubServers.Host.Executable">SubCreator.ServerType</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network">SubDataClient</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/API/Event/SubDisableEvent.html" title="class in net.ME1312.SubServers.Host.API.Event">SubDisableEvent</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/API/Event/SubEnableEvent.html" title="class in net.ME1312.SubServers.Host.API.Event">SubEnableEvent</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Host/Executable/SubLogger.html" title="class in net.ME1312.SubServers.Host.Executable">SubLogger</a></li>
|
||||
|
@ -86,6 +86,29 @@
|
||||
<dd>
|
||||
<div class="block">Register SubEvent Listeners</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">AES</span></a> - Class in <a href="net/ME1312/SubServers/Host/Network/package-summary.html">net.ME1312.SubServers.Host.Network</a></dt>
|
||||
<dd>
|
||||
<div class="block">A class to perform password-based AES encryption and decryption in CBC mode.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/AES.html#AES--">AES()</a></span> - Constructor for class net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network">AES</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">AES.InvalidAESStreamException</span></a> - Exception in <a href="net/ME1312/SubServers/Host/Network/package-summary.html">net.ME1312.SubServers.Host.Network</a></dt>
|
||||
<dd>
|
||||
<div class="block">Thrown if an attempt is made to decrypt an invalid AES stream.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">AES.InvalidKeyLengthException</span></a> - Exception in <a href="net/ME1312/SubServers/Host/Network/package-summary.html">net.ME1312.SubServers.Host.Network</a></dt>
|
||||
<dd>
|
||||
<div class="block">Thrown if an attempt is made to encrypt a stream with an invalid AES key length.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">AES.InvalidPasswordException</span></a> - Exception in <a href="net/ME1312/SubServers/Host/Network/package-summary.html">net.ME1312.SubServers.Host.Network</a></dt>
|
||||
<dd>
|
||||
<div class="block">Thrown if an attempt is made to decrypt a stream with an incorrect password.</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">AES.StrongEncryptionNotAvailableException</span></a> - Exception in <a href="net/ME1312/SubServers/Host/Network/package-summary.html">net.ME1312.SubServers.Host.Network</a></dt>
|
||||
<dd>
|
||||
<div class="block">Thrown if 192- or 256-bit AES encryption or decryption is attempted,
|
||||
but not available on the particular Java platform.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/ExHost.html#api">api</a></span> - Variable in class net.ME1312.SubServers.Host.<a href="net/ME1312/SubServers/Host/ExHost.html" title="class in net.ME1312.SubServers.Host">ExHost</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Config/YAMLValue.html#asBoolean--">asBoolean()</a></span> - Method in class net.ME1312.SubServers.Host.Library.Config.<a href="net/ME1312/SubServers/Host/Library/Config/YAMLValue.html" title="class in net.ME1312.SubServers.Host.Library.Config">YAMLValue</a></dt>
|
||||
@ -262,6 +285,14 @@
|
||||
</a>
|
||||
<h2 class="title">D</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/AES.html#decrypt-java.lang.String-java.io.InputStream-java.io.OutputStream-">decrypt(String, InputStream, OutputStream)</a></span> - Static method in class net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network">AES</a></dt>
|
||||
<dd>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="net/ME1312/SubServers/Host/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>AES.encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/AES.html#decrypt-java.lang.String-byte:A-">decrypt(String, byte[])</a></span> - Static method in class net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network">AES</a></dt>
|
||||
<dd>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="net/ME1312/SubServers/Host/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>AES.encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubTask.html#delay-long-">delay(long)</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a></dt>
|
||||
<dd>
|
||||
<div class="block">Delay this task</div>
|
||||
@ -294,6 +325,14 @@
|
||||
</a>
|
||||
<h2 class="title">E</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-">encrypt(int, String, InputStream, OutputStream)</a></span> - Static method in class net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network">AES</a></dt>
|
||||
<dd>
|
||||
<div class="block">Encrypts a stream of data.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/AES.html#encrypt-int-java.lang.String-java.lang.String-">encrypt(int, String, String)</a></span> - Static method in class net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network">AES</a></dt>
|
||||
<dd>
|
||||
<div class="block">Encrypts a stream of data.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Log/FileLogger.html#end--">end()</a></span> - Static method in class net.ME1312.SubServers.Host.Library.Log.<a href="net/ME1312/SubServers/Host/Library/Log/FileLogger.html" title="class in net.ME1312.SubServers.Host.Library.Log">FileLogger</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Version/Version.html#equals-net.ME1312.SubServers.Host.Library.Version.Version-">equals(Version)</a></span> - Method in class net.ME1312.SubServers.Host.Library.Version.<a href="net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a></dt>
|
||||
@ -580,6 +619,10 @@
|
||||
<dd>
|
||||
<div class="block">Get a Double List by Handle</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/SubDataClient.html#getEncryption--">getEncryption()</a></span> - Method in class net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network">SubDataClient</a></dt>
|
||||
<dd>
|
||||
<div class="block">Gets the Connection's Encryption method</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/Event/SubDisableEvent.html#getExitCode--">getExitCode()</a></span> - Method in class net.ME1312.SubServers.Host.API.Event.<a href="net/ME1312/SubServers/Host/API/Event/SubDisableEvent.html" title="class in net.ME1312.SubServers.Host.API.Event">SubDisableEvent</a></dt>
|
||||
<dd>
|
||||
<div class="block">Get the Exit Code</div>
|
||||
@ -1072,6 +1115,12 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Log/Logger.html#info">info</a></span> - Variable in class net.ME1312.SubServers.Host.Library.Log.<a href="net/ME1312/SubServers/Host/Library/Log/Logger.html" title="class in net.ME1312.SubServers.Host.Library.Log">Logger</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html#InvalidAESStreamException--">InvalidAESStreamException()</a></span> - Constructor for exception net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidAESStreamException</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html#InvalidAESStreamException-java.lang.Exception-">InvalidAESStreamException(Exception)</a></span> - Constructor for exception net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidAESStreamException</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html#InvalidPasswordException--">InvalidPasswordException()</a></span> - Constructor for exception net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidPasswordException</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Host/Library/Exception/InvalidServerException.html" title="class in net.ME1312.SubServers.Host.Library.Exception"><span class="typeNameLink">InvalidServerException</span></a> - Exception in <a href="net/ME1312/SubServers/Host/Library/Exception/package-summary.html">net.ME1312.SubServers.Host.Library.Exception</a></dt>
|
||||
<dd>
|
||||
<div class="block">Invalid Server Exception</div>
|
||||
@ -1808,6 +1857,8 @@
|
||||
<dd>
|
||||
<div class="block">Stop SubServers.Host</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html#StrongEncryptionNotAvailableException-int-">StrongEncryptionNotAvailableException(int)</a></span> - Constructor for exception net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network">AES.StrongEncryptionNotAvailableException</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Host/API/Event/SubAddServerEvent.html" title="class in net.ME1312.SubServers.Host.API.Event"><span class="typeNameLink">SubAddServerEvent</span></a> - Class in <a href="net/ME1312/SubServers/Host/API/Event/package-summary.html">net.ME1312.SubServers.Host.API.Event</a></dt>
|
||||
<dd>
|
||||
<div class="block">Add Server Event</div>
|
||||
@ -1850,10 +1901,12 @@
|
||||
<dd>
|
||||
<div class="block">SubData Direct Client Class</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/SubDataClient.html#SubDataClient-net.ME1312.SubServers.Host.ExHost-java.lang.String-java.net.InetAddress-int-">SubDataClient(ExHost, String, InetAddress, int)</a></span> - Constructor for class net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network">SubDataClient</a></dt>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/SubDataClient.html#SubDataClient-net.ME1312.SubServers.Host.ExHost-java.lang.String-java.net.InetAddress-int-net.ME1312.SubServers.Host.Network.SubDataClient.Encryption-">SubDataClient(ExHost, String, InetAddress, int, SubDataClient.Encryption)</a></span> - Constructor for class net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network">SubDataClient</a></dt>
|
||||
<dd>
|
||||
<div class="block">SubServers Client Instance</div>
|
||||
</dd>
|
||||
<dt><a href="net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">SubDataClient.Encryption</span></a> - Enum in <a href="net/ME1312/SubServers/Host/Network/package-summary.html">net.ME1312.SubServers.Host.Network</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Host/API/Event/SubDisableEvent.html" title="class in net.ME1312.SubServers.Host.API.Event"><span class="typeNameLink">SubDisableEvent</span></a> - Class in <a href="net/ME1312/SubServers/Host/API/Event/package-summary.html">net.ME1312.SubServers.Host.API.Event</a></dt>
|
||||
<dd>
|
||||
<div class="block">SubServers.Host Disable Event Class</div>
|
||||
@ -2081,6 +2134,10 @@
|
||||
<dd>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html#valueOf-java.lang.String-">valueOf(String)</a></span> - Static method in enum net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a></dt>
|
||||
<dd>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Executable/SubCreator.ServerType.html#values--">values()</a></span> - Static method in enum net.ME1312.SubServers.Host.Executable.<a href="net/ME1312/SubServers/Host/Executable/SubCreator.ServerType.html" title="enum in net.ME1312.SubServers.Host.Executable">SubCreator.ServerType</a></dt>
|
||||
<dd>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
@ -2096,6 +2153,11 @@ the order they are declared.</div>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html#values--">values()</a></span> - Static method in enum net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a></dt>
|
||||
<dd>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/ExHost.html#version">version</a></span> - Variable in class net.ME1312.SubServers.Host.<a href="net/ME1312/SubServers/Host/ExHost.html" title="class in net.ME1312.SubServers.Host">ExHost</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version"><span class="typeNameLink">Version</span></a> - Class in <a href="net/ME1312/SubServers/Host/Library/Version/package-summary.html">net.ME1312.SubServers.Host.Library.Version</a></dt>
|
||||
|
@ -0,0 +1,276 @@
|
||||
<!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 -->
|
||||
<title>AES.InvalidAESStreamException (SubServers.Host)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AES.InvalidAESStreamException (SubServers.Host)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidAESStreamException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.ME1312.SubServers.Host.Network</div>
|
||||
<h2 title="Class AES.InvalidAESStreamException" class="title">Class AES.InvalidAESStreamException</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Throwable</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Exception</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Host.Network.AES.InvalidAESStreamException</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network">AES</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">AES.InvalidAESStreamException</span>
|
||||
extends java.lang.Exception</pre>
|
||||
<div class="block">Thrown if an attempt is made to decrypt an invalid AES stream.</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../serialized-form.html#net.ME1312.SubServers.Host.Network.AES.InvalidAESStreamException">Serialized Form</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html#InvalidAESStreamException--">InvalidAESStreamException</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html#InvalidAESStreamException-java.lang.Exception-">InvalidAESStreamException</a></span>(java.lang.Exception e)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Throwable</h3>
|
||||
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="InvalidAESStreamException--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>InvalidAESStreamException</h4>
|
||||
<pre>public InvalidAESStreamException()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="InvalidAESStreamException-java.lang.Exception-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>InvalidAESStreamException</h4>
|
||||
<pre>public InvalidAESStreamException(java.lang.Exception e)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidAESStreamException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,224 @@
|
||||
<!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 -->
|
||||
<title>AES.InvalidKeyLengthException (SubServers.Host)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AES.InvalidKeyLengthException (SubServers.Host)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidKeyLengthException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.ME1312.SubServers.Host.Network</div>
|
||||
<h2 title="Class AES.InvalidKeyLengthException" class="title">Class AES.InvalidKeyLengthException</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Throwable</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Exception</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Host.Network.AES.InvalidKeyLengthException</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network">AES</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">AES.InvalidKeyLengthException</span>
|
||||
extends java.lang.Exception</pre>
|
||||
<div class="block">Thrown if an attempt is made to encrypt a stream with an invalid AES key length.</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../serialized-form.html#net.ME1312.SubServers.Host.Network.AES.InvalidKeyLengthException">Serialized Form</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Throwable</h3>
|
||||
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidKeyLengthException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,264 @@
|
||||
<!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 -->
|
||||
<title>AES.InvalidPasswordException (SubServers.Host)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AES.InvalidPasswordException (SubServers.Host)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidPasswordException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.ME1312.SubServers.Host.Network</div>
|
||||
<h2 title="Class AES.InvalidPasswordException" class="title">Class AES.InvalidPasswordException</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Throwable</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Exception</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Host.Network.AES.InvalidPasswordException</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network">AES</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">AES.InvalidPasswordException</span>
|
||||
extends java.lang.Exception</pre>
|
||||
<div class="block">Thrown if an attempt is made to decrypt a stream with an incorrect password.</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../serialized-form.html#net.ME1312.SubServers.Host.Network.AES.InvalidPasswordException">Serialized Form</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html#InvalidPasswordException--">InvalidPasswordException</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Throwable</h3>
|
||||
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="InvalidPasswordException--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>InvalidPasswordException</h4>
|
||||
<pre>public InvalidPasswordException()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.InvalidPasswordException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,265 @@
|
||||
<!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 -->
|
||||
<title>AES.StrongEncryptionNotAvailableException (SubServers.Host)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AES.StrongEncryptionNotAvailableException (SubServers.Host)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.StrongEncryptionNotAvailableException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.ME1312.SubServers.Host.Network</div>
|
||||
<h2 title="Class AES.StrongEncryptionNotAvailableException" class="title">Class AES.StrongEncryptionNotAvailableException</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Throwable</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Exception</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Host.Network.AES.StrongEncryptionNotAvailableException</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network">AES</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">AES.StrongEncryptionNotAvailableException</span>
|
||||
extends java.lang.Exception</pre>
|
||||
<div class="block">Thrown if 192- or 256-bit AES encryption or decryption is attempted,
|
||||
but not available on the particular Java platform.</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../serialized-form.html#net.ME1312.SubServers.Host.Network.AES.StrongEncryptionNotAvailableException">Serialized Form</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html#StrongEncryptionNotAvailableException-int-">StrongEncryptionNotAvailableException</a></span>(int keySize)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Throwable</h3>
|
||||
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="StrongEncryptionNotAvailableException-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>StrongEncryptionNotAvailableException</h4>
|
||||
<pre>public StrongEncryptionNotAvailableException(int keySize)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.StrongEncryptionNotAvailableException.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,468 @@
|
||||
<!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 -->
|
||||
<title>AES (SubServers.Host)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AES (SubServers.Host)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":9,"i2":9,"i3":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Network/AES.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.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: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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">net.ME1312.SubServers.Host.Network</div>
|
||||
<h2 title="Class AES" class="title">Class AES</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Host.Network.AES</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">AES</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">A class to perform password-based AES encryption and decryption in CBC mode.
|
||||
128, 192, and 256-bit encryption are supported, provided that the latter two
|
||||
are permitted by the Java runtime's jurisdiction policy files.
|
||||
<br/>
|
||||
The public interface for this class consists of the static methods
|
||||
<a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a> and <a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html#decrypt-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>decrypt(java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>, which encrypt and decrypt arbitrary
|
||||
streams of data, respectively.</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>dweymouth@gmail.com</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidAESStreamException</a></span></code>
|
||||
<div class="block">Thrown if an attempt is made to decrypt an invalid AES stream.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidKeyLengthException</a></span></code>
|
||||
<div class="block">Thrown if an attempt is made to encrypt a stream with an invalid AES key length.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidPasswordException</a></span></code>
|
||||
<div class="block">Thrown if an attempt is made to decrypt a stream with an incorrect password.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network">AES.StrongEncryptionNotAvailableException</a></span></code>
|
||||
<div class="block">Thrown if 192- or 256-bit AES encryption or decryption is attempted,
|
||||
but not available on the particular Java platform.</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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html#AES--">AES</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/ME1312/SubServers/Host/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Host.Library">NamedContainer</a><java.lang.Integer,java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html#decrypt-java.lang.String-byte:A-">decrypt</a></span>(java.lang.String password,
|
||||
byte[] input)</code>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html#decrypt-java.lang.String-java.io.InputStream-java.io.OutputStream-">decrypt</a></span>(java.lang.String password,
|
||||
java.io.InputStream input,
|
||||
java.io.OutputStream output)</code>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-">encrypt</a></span>(int keyLength,
|
||||
java.lang.String password,
|
||||
java.io.InputStream input,
|
||||
java.io.OutputStream output)</code>
|
||||
<div class="block">Encrypts a stream of data.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>static byte[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html#encrypt-int-java.lang.String-java.lang.String-">encrypt</a></span>(int keyLength,
|
||||
java.lang.String password,
|
||||
java.lang.String input)</code>
|
||||
<div class="block">Encrypts a stream of data.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, 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">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="AES--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>AES</h4>
|
||||
<pre>public AES()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>encrypt</h4>
|
||||
<pre>public static void encrypt(int keyLength,
|
||||
java.lang.String password,
|
||||
java.io.InputStream input,
|
||||
java.io.OutputStream output)
|
||||
throws <a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidKeyLengthException</a>,
|
||||
<a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network">AES.StrongEncryptionNotAvailableException</a>,
|
||||
java.io.IOException</pre>
|
||||
<div class="block">Encrypts a stream of data. The encrypted stream consists of a header
|
||||
followed by the raw AES data. The header is broken down as follows:<br/>
|
||||
<ul>
|
||||
<li><b>keyLength</b>: AES key length in bytes (valid for 16, 24, 32) (1 byte)</li>
|
||||
<li><b>salt</b>: pseudorandom salt used to derive keys from password (16 bytes)</li>
|
||||
<li><b>authentication key</b> (derived from password and salt, used to
|
||||
check validity of password upon decryption) (8 bytes)</li>
|
||||
<li><b>IV</b>: pseudorandom AES initialization vector (16 bytes)</li>
|
||||
</ul></div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>keyLength</code> - key length to use for AES encryption (must be 128, 192, or 256)</dd>
|
||||
<dd><code>password</code> - password to use for encryption</dd>
|
||||
<dd><code>input</code> - an arbitrary byte stream to encrypt</dd>
|
||||
<dd><code>output</code> - stream to which encrypted data will be written</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidKeyLengthException</a></code> - if keyLength is not 128, 192, or 256</dd>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network">AES.StrongEncryptionNotAvailableException</a></code> - if keyLength is 192 or 256, but the Java runtime's jurisdiction
|
||||
policy files do not allow 192- or 256-bit encryption</dd>
|
||||
<dd><code>java.io.IOException</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="encrypt-int-java.lang.String-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>encrypt</h4>
|
||||
<pre>public static byte[] encrypt(int keyLength,
|
||||
java.lang.String password,
|
||||
java.lang.String input)
|
||||
throws java.io.IOException,
|
||||
<a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network">AES.StrongEncryptionNotAvailableException</a>,
|
||||
<a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidKeyLengthException</a></pre>
|
||||
<div class="block">Encrypts a stream of data. The encrypted stream consists of a header
|
||||
followed by the raw AES data. The header is broken down as follows:<br/>
|
||||
<ul>
|
||||
<li><b>keyLength</b>: AES key length in bytes (valid for 16, 24, 32) (1 byte)</li>
|
||||
<li><b>salt</b>: pseudorandom salt used to derive keys from password (16 bytes)</li>
|
||||
<li><b>authentication key</b> (derived from password and salt, used to
|
||||
check validity of password upon decryption) (8 bytes)</li>
|
||||
<li><b>IV</b>: pseudorandom AES initialization vector (16 bytes)</li>
|
||||
</ul></div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>keyLength</code> - key length to use for AES encryption (must be 128, 192, or 256)</dd>
|
||||
<dd><code>password</code> - password to use for encryption</dd>
|
||||
<dd><code>input</code> - an arbitrary string to encrypt</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>string containing the encrypted data</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidKeyLengthException</a></code> - if keyLength is not 128, 192, or 256</dd>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network">AES.StrongEncryptionNotAvailableException</a></code> - if keyLength is 192 or 256, but the Java runtime's jurisdiction
|
||||
policy files do not allow 192- or 256-bit encryption</dd>
|
||||
<dd><code>java.io.IOException</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="decrypt-java.lang.String-java.io.InputStream-java.io.OutputStream-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>decrypt</h4>
|
||||
<pre>public static int decrypt(java.lang.String password,
|
||||
java.io.InputStream input,
|
||||
java.io.OutputStream output)
|
||||
throws <a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidPasswordException</a>,
|
||||
<a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidAESStreamException</a>,
|
||||
java.io.IOException,
|
||||
<a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network">AES.StrongEncryptionNotAvailableException</a></pre>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>password</code> - the password used to encrypt/decrypt the stream</dd>
|
||||
<dd><code>input</code> - stream of encrypted data to be decrypted</dd>
|
||||
<dd><code>output</code> - stream to which decrypted data will be written</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the key length for the decrypted stream (128, 192, or 256)</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidPasswordException</a></code> - if the given password was not used to encrypt the data</dd>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidAESStreamException</a></code> - if the given input stream is not a valid AES-encrypted stream</dd>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network">AES.StrongEncryptionNotAvailableException</a></code> - if the stream is 192 or 256-bit encrypted, and the Java runtime's
|
||||
jurisdiction policy files do not allow for AES-192 or 256</dd>
|
||||
<dd><code>java.io.IOException</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="decrypt-java.lang.String-byte:A-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>decrypt</h4>
|
||||
<pre>public static <a href="../../../../../net/ME1312/SubServers/Host/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Host.Library">NamedContainer</a><java.lang.Integer,java.lang.String> decrypt(java.lang.String password,
|
||||
byte[] input)
|
||||
throws java.io.IOException,
|
||||
<a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network">AES.StrongEncryptionNotAvailableException</a>,
|
||||
<a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidAESStreamException</a>,
|
||||
<a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidPasswordException</a></pre>
|
||||
<div class="block">Decrypts a stream of data that was encrypted by <a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html#encrypt-int-java.lang.String-java.io.InputStream-java.io.OutputStream-"><code>encrypt(int, java.lang.String, java.io.InputStream, java.io.OutputStream)</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>password</code> - the password used to encrypt/decrypt the string</dd>
|
||||
<dd><code>input</code> - string of encrypted data to be decrypted</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the key length for the decrypted string (128, 192, or 256) and the string of decrypted data</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidPasswordException</a></code> - if the given password was not used to encrypt the data</dd>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidAESStreamException</a></code> - if the given input stream is not a valid AES-encrypted stream</dd>
|
||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network">AES.StrongEncryptionNotAvailableException</a></code> - if the stream is 192 or 256-bit encrypted, and the Java runtime's
|
||||
jurisdiction policy files do not allow for AES-192 or 256</dd>
|
||||
<dd><code>java.io.IOException</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>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Network/AES.html" target="_top">Frames</a></li>
|
||||
<li><a href="AES.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: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -47,7 +47,7 @@ var activeTableTab = "activeTableTab";
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
@ -205,7 +205,7 @@ var activeTableTab = "activeTableTab";
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
|
@ -0,0 +1,378 @@
|
||||
<!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 -->
|
||||
<title>SubDataClient.Encryption (SubServers.Host)</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="SubDataClient.Encryption (SubServers.Host)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" target="_top">Frames</a></li>
|
||||
<li><a href="SubDataClient.Encryption.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </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">net.ME1312.SubServers.Host.Network</div>
|
||||
<h2 title="Enum SubDataClient.Encryption" class="title">Enum SubDataClient.Encryption</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Enum<<a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.ME1312.SubServers.Host.Network.SubDataClient.Encryption</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable, java.lang.Comparable<<a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a>></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network">SubDataClient</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static enum <span class="typeNameLabel">SubDataClient.Encryption</span>
|
||||
extends java.lang.Enum<<a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a>></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
|
||||
<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Enum Constant and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html#AES">AES</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html#AES_128">AES_128</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html#AES_192">AES_192</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html#AES_256">AES_256</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html#NONE">NONE</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String name)</code>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a>[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html#values--">values</a></span>()</code>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Enum</h3>
|
||||
<code>compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Detail</h3>
|
||||
<a name="NONE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NONE</h4>
|
||||
<pre>public static final <a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a> NONE</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="AES">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>AES</h4>
|
||||
<pre>public static final <a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a> AES</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="AES_128">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>AES_128</h4>
|
||||
<pre>public static final <a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a> AES_128</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="AES_192">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>AES_192</h4>
|
||||
<pre>public static final <a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a> AES_192</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="AES_256">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>AES_256</h4>
|
||||
<pre>public static final <a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a> AES_256</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="values--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>values</h4>
|
||||
<pre>public static <a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a>[] values()</pre>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared. This method may be used to iterate
|
||||
over the constants as follows:
|
||||
<pre>
|
||||
for (SubDataClient.Encryption c : SubDataClient.Encryption.values())
|
||||
System.out.println(c);
|
||||
</pre></div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="valueOf-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>valueOf</h4>
|
||||
<pre>public static <a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a> valueOf(java.lang.String name)</pre>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.
|
||||
The string must match <i>exactly</i> an identifier used to declare an
|
||||
enum constant in this type. (Extraneous whitespace characters are
|
||||
not permitted.)</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the enum constant with the specified name</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
|
||||
<dd><code>java.lang.NullPointerException</code> - if the argument is null</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>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<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="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" target="_top">Frames</a></li>
|
||||
<li><a href="SubDataClient.Encryption.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: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -17,7 +17,7 @@
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":9,"i6":9,"i7":10,"i8":9,"i9":9};
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":9,"i6":9,"i7":9,"i8":10,"i9":9,"i10":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@ -48,7 +48,7 @@ var activeTableTab = "activeTableTab";
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Network/SubDataClient.html" target="_top">Frames</a></li>
|
||||
@ -72,7 +72,7 @@ var activeTableTab = "activeTableTab";
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
@ -116,6 +116,25 @@ extends java.lang.Object</pre>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
@ -128,10 +147,11 @@ extends java.lang.Object</pre>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html#SubDataClient-net.ME1312.SubServers.Host.ExHost-java.lang.String-java.net.InetAddress-int-">SubDataClient</a></span>(<a href="../../../../../net/ME1312/SubServers/Host/ExHost.html" title="class in net.ME1312.SubServers.Host">ExHost</a> host,
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html#SubDataClient-net.ME1312.SubServers.Host.ExHost-java.lang.String-java.net.InetAddress-int-net.ME1312.SubServers.Host.Network.SubDataClient.Encryption-">SubDataClient</a></span>(<a href="../../../../../net/ME1312/SubServers/Host/ExHost.html" title="class in net.ME1312.SubServers.Host">ExHost</a> host,
|
||||
java.lang.String name,
|
||||
java.net.InetAddress address,
|
||||
int port)</code>
|
||||
int port,
|
||||
<a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a> encryption)</code>
|
||||
<div class="block">SubServers Client Instance</div>
|
||||
</td>
|
||||
</tr>
|
||||
@ -170,44 +190,50 @@ extends java.lang.Object</pre>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html#getEncryption--">getEncryption</a></span>()</code>
|
||||
<div class="block">Gets the Connection's Encryption method</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html#getName--">getName</a></span>()</code>
|
||||
<div class="block">Gets the Assigned Host Name</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>static java.util.List<? extends <a href="../../../../../net/ME1312/SubServers/Host/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Host.Network">PacketIn</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html#getPacket-java.lang.String-">getPacket</a></span>(java.lang.String handle)</code>
|
||||
<div class="block">Grab PacketIn Instances via handle</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html#registerPacket-java.lang.Class-java.lang.String-">registerPacket</a></span>(java.lang.Class<? extends <a href="../../../../../net/ME1312/SubServers/Host/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Host.Network">PacketOut</a>> packet,
|
||||
java.lang.String handle)</code>
|
||||
<div class="block">Register PacketOut to the Network</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html#registerPacket-net.ME1312.SubServers.Host.Network.PacketIn-java.lang.String-">registerPacket</a></span>(<a href="../../../../../net/ME1312/SubServers/Host/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Host.Network">PacketIn</a> packet,
|
||||
java.lang.String handle)</code>
|
||||
<div class="block">Register PacketIn to the Network</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html#sendPacket-net.ME1312.SubServers.Host.Network.PacketOut-">sendPacket</a></span>(<a href="../../../../../net/ME1312/SubServers/Host/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Host.Network">PacketOut</a> packet)</code>
|
||||
<div class="block">Send Packet to Client</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html#unregisterPacket-java.lang.Class-">unregisterPacket</a></span>(java.lang.Class<? extends <a href="../../../../../net/ME1312/SubServers/Host/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Host.Network">PacketOut</a>> packet)</code>
|
||||
<div class="block">Unregister PacketOut to the Network</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html#unregisterPacket-net.ME1312.SubServers.Host.Network.PacketIn-">unregisterPacket</a></span>(<a href="../../../../../net/ME1312/SubServers/Host/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Host.Network">PacketIn</a> packet)</code>
|
||||
<div class="block">Unregister PacketIn from the Network</div>
|
||||
@ -235,7 +261,7 @@ extends java.lang.Object</pre>
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="SubDataClient-net.ME1312.SubServers.Host.ExHost-java.lang.String-java.net.InetAddress-int-">
|
||||
<a name="SubDataClient-net.ME1312.SubServers.Host.ExHost-java.lang.String-java.net.InetAddress-int-net.ME1312.SubServers.Host.Network.SubDataClient.Encryption-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
@ -244,7 +270,8 @@ extends java.lang.Object</pre>
|
||||
<pre>public SubDataClient(<a href="../../../../../net/ME1312/SubServers/Host/ExHost.html" title="class in net.ME1312.SubServers.Host">ExHost</a> host,
|
||||
java.lang.String name,
|
||||
java.net.InetAddress address,
|
||||
int port)
|
||||
int port,
|
||||
<a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a> encryption)
|
||||
throws java.io.IOException</pre>
|
||||
<div class="block">SubServers Client Instance</div>
|
||||
<dl>
|
||||
@ -293,6 +320,20 @@ extends java.lang.Object</pre>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getEncryption--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getEncryption</h4>
|
||||
<pre>public <a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a> getEncryption()</pre>
|
||||
<div class="block">Gets the Connection's Encryption method</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Encryption method</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="registerPacket-net.ME1312.SubServers.Host.Network.PacketIn-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
@ -442,7 +483,7 @@ extends java.lang.Object</pre>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
<li><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/Network/SubDataClient.html" target="_top">Frames</a></li>
|
||||
@ -466,7 +507,7 @@ extends java.lang.Object</pre>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
|
@ -17,8 +17,20 @@
|
||||
</ul>
|
||||
<h2 title="Classes">Classes</h2>
|
||||
<ul title="Classes">
|
||||
<li><a href="AES.html" title="class in net.ME1312.SubServers.Host.Network" target="classFrame">AES</a></li>
|
||||
<li><a href="SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network" target="classFrame">SubDataClient</a></li>
|
||||
</ul>
|
||||
<h2 title="Enums">Enums</h2>
|
||||
<ul title="Enums">
|
||||
<li><a href="SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network" target="classFrame">SubDataClient.Encryption</a></li>
|
||||
</ul>
|
||||
<h2 title="Exceptions">Exceptions</h2>
|
||||
<ul title="Exceptions">
|
||||
<li><a href="AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network" target="classFrame">AES.InvalidAESStreamException</a></li>
|
||||
<li><a href="AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network" target="classFrame">AES.InvalidKeyLengthException</a></li>
|
||||
<li><a href="AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network" target="classFrame">AES.InvalidPasswordException</a></li>
|
||||
<li><a href="AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network" target="classFrame">AES.StrongEncryptionNotAvailableException</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -104,6 +104,12 @@
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network">AES</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">A class to perform password-based AES encryption and decryption in CBC mode.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network">SubDataClient</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">SubData Direct Client Class</div>
|
||||
@ -112,6 +118,57 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
|
||||
<caption><span>Enum Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Enum</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network">SubDataClient.Encryption</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation">
|
||||
<caption><span>Exception Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Exception</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidAESStreamException</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Thrown if an attempt is made to decrypt an invalid AES stream.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidKeyLengthException</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Thrown if an attempt is made to encrypt a stream with an invalid AES key length.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network">AES.InvalidPasswordException</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Thrown if an attempt is made to decrypt a stream with an incorrect password.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network">AES.StrongEncryptionNotAvailableException</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Thrown if 192- or 256-bit AES encryption or decryption is attempted,
|
||||
but not available on the particular Java platform.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
|
@ -79,7 +79,20 @@
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="../../../../../net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">AES</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">SubDataClient</span></a></li>
|
||||
<li type="circle">java.lang.Throwable (implements java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">java.lang.Exception
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">AES.InvalidAESStreamException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">AES.InvalidKeyLengthException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="../../../../../net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">AES.InvalidPasswordException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="../../../../../net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">AES.StrongEncryptionNotAvailableException</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -88,6 +101,18 @@
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="../../../../../net/ME1312/SubServers/Host/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">PacketIn</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="../../../../../net/ME1312/SubServers/Host/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">PacketOut</span></a></li>
|
||||
</ul>
|
||||
<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="../../../../../net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">SubDataClient.Encryption</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
|
@ -90,6 +90,7 @@
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/AES.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">AES</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Command</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Container.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Container</span></a><V>
|
||||
<ul>
|
||||
@ -167,6 +168,10 @@
|
||||
<ul>
|
||||
<li type="circle">java.lang.Exception
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">AES.InvalidAESStreamException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">AES.InvalidKeyLengthException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">AES.InvalidPasswordException</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">AES.StrongEncryptionNotAvailableException</span></a></li>
|
||||
<li type="circle">java.lang.ReflectiveOperationException
|
||||
<ul>
|
||||
<li type="circle">java.lang.reflect.InvocationTargetException
|
||||
@ -225,6 +230,7 @@
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Executable.<a href="net/ME1312/SubServers/Host/Executable/SubCreator.ServerType.html" title="enum in net.ME1312.SubServers.Host.Executable"><span class="typeNameLink">SubCreator.ServerType</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Library.Event.<a href="net/ME1312/SubServers/Host/Library/Event/EventPriority.html" title="enum in net.ME1312.SubServers.Host.Library.Event"><span class="typeNameLink">EventPriority</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/SubDataClient.Encryption.html" title="enum in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">SubDataClient.Encryption</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Host.Network.Packet.<a href="net/ME1312/SubServers/Host/Network/Packet/PacketExUpdateServer.UpdateType.html" title="enum in net.ME1312.SubServers.Host.Network.Packet"><span class="typeNameLink">PacketExUpdateServer.UpdateType</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -162,6 +162,31 @@
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2 title="Package">Package net.ME1312.SubServers.Host.Network</h2>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="net.ME1312.SubServers.Host.Network.AES.InvalidAESStreamException">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class <a href="net/ME1312/SubServers/Host/Network/AES.InvalidAESStreamException.html" title="class in net.ME1312.SubServers.Host.Network">net.ME1312.SubServers.Host.Network.AES.InvalidAESStreamException</a> extends java.lang.Exception implements Serializable</h3>
|
||||
</li>
|
||||
<li class="blockList"><a name="net.ME1312.SubServers.Host.Network.AES.InvalidKeyLengthException">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class <a href="net/ME1312/SubServers/Host/Network/AES.InvalidKeyLengthException.html" title="class in net.ME1312.SubServers.Host.Network">net.ME1312.SubServers.Host.Network.AES.InvalidKeyLengthException</a> extends java.lang.Exception implements Serializable</h3>
|
||||
</li>
|
||||
<li class="blockList"><a name="net.ME1312.SubServers.Host.Network.AES.InvalidPasswordException">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class <a href="net/ME1312/SubServers/Host/Network/AES.InvalidPasswordException.html" title="class in net.ME1312.SubServers.Host.Network">net.ME1312.SubServers.Host.Network.AES.InvalidPasswordException</a> extends java.lang.Exception implements Serializable</h3>
|
||||
</li>
|
||||
<li class="blockList"><a name="net.ME1312.SubServers.Host.Network.AES.StrongEncryptionNotAvailableException">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class <a href="net/ME1312/SubServers/Host/Network/AES.StrongEncryptionNotAvailableException.html" title="class in net.ME1312.SubServers.Host.Network">net.ME1312.SubServers.Host.Network.AES.StrongEncryptionNotAvailableException</a> extends java.lang.Exception implements Serializable</h3>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
|
@ -1,5 +1,5 @@
|
||||
Manifest-Version: 1.0
|
||||
Class-Path: BungeeCord.jar
|
||||
Main-Class: net.ME1312.SubServers.Bungee.Launch
|
||||
Implementation-Version: 2.11.2m
|
||||
Implementation-Version: 2.12a
|
||||
Specification-Version: 0
|
||||
|
@ -63,18 +63,13 @@ public class ExternalHost extends Host implements ClientHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Client getSubDataClient() {
|
||||
public Client getSubData() {
|
||||
return client.get();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void linkSubDataClient(Client client) {
|
||||
if (this.client.get() == null) {
|
||||
client.setHandler(this);
|
||||
this.client = new NamedContainer<Boolean, Client>(false, client);
|
||||
} else if (client == null) {
|
||||
this.client = new NamedContainer<Boolean, Client>(false, null);
|
||||
} else throw new IllegalStateException("A SubData Client is already linked to Host: " + getName());
|
||||
public void setSubData(Client client) {
|
||||
this.client = new NamedContainer<Boolean, Client>(false, client);
|
||||
}
|
||||
|
||||
protected void queue(PacketOut... packet) {
|
||||
|
@ -68,7 +68,7 @@ public class ExternalSubCreator extends SubCreator {
|
||||
if (!server.contains("Motd")) server.set("Motd", "Some SubServer");
|
||||
if (!server.contains("Log")) server.set("Log", true);
|
||||
if (!server.contains("Directory")) server.set("Directory", "." + File.separatorChar + name);
|
||||
if (!server.contains("Executable")) server.set("Executable", "java -Xmx1024M -jar Custom.jar");
|
||||
if (!server.contains("Executable")) server.set("Executable", "java -Xmx1024M -jar " + template.getType().toString() + ".jar");
|
||||
if (!server.contains("Stop-Command")) server.set("Stop-Command", "stop");
|
||||
if (!server.contains("Run-On-Launch")) server.set("Run-On-Launch", false);
|
||||
if (!server.contains("Auto-Restart")) server.set("Auto-Restart", false);
|
||||
@ -98,7 +98,7 @@ public class ExternalSubCreator extends SubCreator {
|
||||
@Override
|
||||
public void terminate() {
|
||||
if (running) {
|
||||
host.getSubDataClient().sendPacket(new PacketExCreateServer());
|
||||
host.getSubData().sendPacket(new PacketExCreateServer());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -163,7 +163,7 @@ public class InternalSubCreator extends SubCreator {
|
||||
if (!server.contains("Motd")) server.set("Motd", "Some SubServer");
|
||||
if (!server.contains("Log")) server.set("Log", true);
|
||||
if (!server.contains("Directory")) server.set("Directory", "." + File.separatorChar + name);
|
||||
if (!server.contains("Executable")) server.set("Executable", "java -Xmx1024M -jar Custom.jar");
|
||||
if (!server.contains("Executable")) server.set("Executable", "java -Xmx1024M -jar " + template.getType().toString() + ".jar");
|
||||
if (!server.contains("Stop-Command")) server.set("Stop-Command", "stop");
|
||||
if (!server.contains("Run-On-Launch")) server.set("Run-On-Launch", false);
|
||||
if (!server.contains("Auto-Restart")) server.set("Auto-Restart", false);
|
||||
@ -256,11 +256,12 @@ public class InternalSubCreator extends SubCreator {
|
||||
// if (!new UniversalFile(dir, "plugins").exists()) new UniversalFile(dir, "mods").mkdirs();
|
||||
// Util.copyFromJar(SubPlugin.class.getClassLoader(), "net/ME1312/SubServers/Bungee/Library/Files/Client/sponge.jar", new UniversalFile(dir, "mods:SubServers.Client.jar").getPath());
|
||||
}
|
||||
JSONObject config = new JSONObject(Util.readAll(new FileReader(new UniversalFile(dir, "subservers.client"))));
|
||||
JSONObject config = new JSONObject();
|
||||
FileWriter writer = new FileWriter(new UniversalFile(dir, "subservers.client"), false);
|
||||
config.put("Name", name);
|
||||
config.put("Address", host.plugin.config.get().getSection("Settings").getSection("SubData").getRawString("Address", "127.0.0.1").replace("0.0.0.0", "127.0.0.1"));
|
||||
config.put("Password", host.plugin.config.get().getSection("Settings").getSection("SubData").getRawString("Password", ""));
|
||||
config.put("Encryption", host.plugin.config.get().getSection("Settings").getSection("SubData").getRawString("Encryption", "NONE"));
|
||||
config.write(writer);
|
||||
writer.close();
|
||||
}
|
||||
|
@ -34,18 +34,13 @@ public class Server extends BungeeServerInfo implements ClientHandler, ExtraData
|
||||
}
|
||||
|
||||
@Override
|
||||
public Client getSubDataClient() {
|
||||
public Client getSubData() {
|
||||
return client;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void linkSubDataClient(Client client) {
|
||||
if (this.client == null) {
|
||||
client.setHandler(this);
|
||||
this.client = client;
|
||||
} else if (client == null) {
|
||||
this.client = null;
|
||||
} else throw new IllegalStateException("A SubData Client is already linked to Server: " + getName());
|
||||
public void setSubData(Client client) {
|
||||
this.client = client;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -3,7 +3,8 @@ Settings:
|
||||
Log-Creator: true
|
||||
SubData:
|
||||
Address: '127.0.0.1:4391'
|
||||
Password: ''
|
||||
Password: 'default'
|
||||
Encryption: 'AES'
|
||||
Allowed-Connections: []
|
||||
|
||||
Hosts:
|
||||
|
@ -0,0 +1,343 @@
|
||||
package net.ME1312.SubServers.Bungee.Network;
|
||||
|
||||
import net.ME1312.SubServers.Bungee.Library.NamedContainer;
|
||||
import net.ME1312.SubServers.Bungee.Library.Util;
|
||||
|
||||
import java.io.*;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.security.*;
|
||||
import java.security.spec.*;
|
||||
import java.util.*;
|
||||
|
||||
import javax.crypto.*;
|
||||
import javax.crypto.spec.*;
|
||||
|
||||
/**
|
||||
* A class to perform password-based AES encryption and decryption in CBC mode.
|
||||
* 128, 192, and 256-bit encryption are supported, provided that the latter two
|
||||
* are permitted by the Java runtime's jurisdiction policy files.
|
||||
* <br/>
|
||||
* The public interface for this class consists of the static methods
|
||||
* {@link #encrypt} and {@link #decrypt}, which encrypt and decrypt arbitrary
|
||||
* streams of data, respectively.
|
||||
*
|
||||
* @author dweymouth@gmail.com
|
||||
*/
|
||||
public class AES {
|
||||
|
||||
// AES specification
|
||||
private static final String CIPHER_SPEC = "AES/CBC/PKCS5Padding";
|
||||
|
||||
// Key derivation specification
|
||||
private static final String KEYGEN_SPEC = "PBKDF2WithHmacSHA1";
|
||||
private static final int SALT_LENGTH = 16; // in bytes
|
||||
private static final int AUTH_KEY_LENGTH = 8; // in bytes
|
||||
private static final int ITERATIONS = 32768;
|
||||
|
||||
// Process input/output streams in chunks
|
||||
private static final int BUFFER_SIZE = 1024;
|
||||
|
||||
|
||||
/**
|
||||
* @return a new pseudorandom salt of the specified length
|
||||
*/
|
||||
private static byte[] generateSalt(int length) {
|
||||
Random r = new SecureRandom();
|
||||
byte[] salt = new byte[length];
|
||||
r.nextBytes(salt);
|
||||
return salt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Derive an AES encryption key and authentication key from given password and salt,
|
||||
* using PBKDF2 key stretching. The authentication key is 64 bits long.
|
||||
* @param keyLength
|
||||
* length of the AES key in bits (128, 192, or 256)
|
||||
* @param password
|
||||
* the password from which to derive the keys
|
||||
* @param salt
|
||||
* the salt from which to derive the keys
|
||||
* @return a Keys object containing the two generated keys
|
||||
*/
|
||||
private static Keys keygen(int keyLength, char[] password, byte[] salt) {
|
||||
SecretKeyFactory factory;
|
||||
try {
|
||||
factory = SecretKeyFactory.getInstance(KEYGEN_SPEC);
|
||||
} catch (NoSuchAlgorithmException impossible) { return null; }
|
||||
// derive a longer key, then split into AES key and authentication key
|
||||
KeySpec spec = new PBEKeySpec(password, salt, ITERATIONS, keyLength + AUTH_KEY_LENGTH * 8);
|
||||
SecretKey tmp = null;
|
||||
try {
|
||||
tmp = factory.generateSecret(spec);
|
||||
} catch (InvalidKeySpecException impossible) { }
|
||||
byte[] fullKey = tmp.getEncoded();
|
||||
SecretKey authKey = new SecretKeySpec( // key for password authentication
|
||||
Arrays.copyOfRange(fullKey, 0, AUTH_KEY_LENGTH), "AES");
|
||||
SecretKey encKey = new SecretKeySpec( // key for AES encryption
|
||||
Arrays.copyOfRange(fullKey, AUTH_KEY_LENGTH, fullKey.length), "AES");
|
||||
return new Keys(encKey, authKey);
|
||||
}
|
||||
|
||||
/**
|
||||
* Encrypts a stream of data. The encrypted stream consists of a header
|
||||
* followed by the raw AES data. The header is broken down as follows:<br/>
|
||||
* <ul>
|
||||
* <li><b>keyLength</b>: AES key length in bytes (valid for 16, 24, 32) (1 byte)</li>
|
||||
* <li><b>salt</b>: pseudorandom salt used to derive keys from password (16 bytes)</li>
|
||||
* <li><b>authentication key</b> (derived from password and salt, used to
|
||||
* check validity of password upon decryption) (8 bytes)</li>
|
||||
* <li><b>IV</b>: pseudorandom AES initialization vector (16 bytes)</li>
|
||||
* </ul>
|
||||
*
|
||||
* @param keyLength
|
||||
* key length to use for AES encryption (must be 128, 192, or 256)
|
||||
* @param password
|
||||
* password to use for encryption
|
||||
* @param input
|
||||
* an arbitrary byte stream to encrypt
|
||||
* @param output
|
||||
* stream to which encrypted data will be written
|
||||
* @throws AES.InvalidKeyLengthException
|
||||
* if keyLength is not 128, 192, or 256
|
||||
* @throws AES.StrongEncryptionNotAvailableException
|
||||
* if keyLength is 192 or 256, but the Java runtime's jurisdiction
|
||||
* policy files do not allow 192- or 256-bit encryption
|
||||
* @throws IOException
|
||||
*/
|
||||
public static void encrypt(int keyLength, String password, InputStream input, OutputStream output)
|
||||
throws InvalidKeyLengthException, StrongEncryptionNotAvailableException, IOException {
|
||||
// Check validity of key length
|
||||
if (keyLength != 128 && keyLength != 192 && keyLength != 256) {
|
||||
throw new InvalidKeyLengthException(keyLength);
|
||||
}
|
||||
|
||||
// generate salt and derive keys for authentication and encryption
|
||||
byte[] salt = generateSalt(SALT_LENGTH);
|
||||
Keys keys = keygen(keyLength, password.toCharArray(), salt);
|
||||
|
||||
// initialize AES encryption
|
||||
Cipher encrypt = null;
|
||||
try {
|
||||
encrypt = Cipher.getInstance(CIPHER_SPEC);
|
||||
encrypt.init(Cipher.ENCRYPT_MODE, keys.encryption);
|
||||
} catch (NoSuchAlgorithmException | NoSuchPaddingException impossible) { }
|
||||
catch (InvalidKeyException e) { // 192 or 256-bit AES not available
|
||||
throw new StrongEncryptionNotAvailableException(keyLength);
|
||||
}
|
||||
|
||||
// get initialization vector
|
||||
byte[] iv = null;
|
||||
try {
|
||||
iv = encrypt.getParameters().getParameterSpec(IvParameterSpec.class).getIV();
|
||||
} catch (InvalidParameterSpecException impossible) { }
|
||||
|
||||
// write authentication and AES initialization data
|
||||
output.write(keyLength / 8);
|
||||
output.write(salt);
|
||||
output.write(keys.authentication.getEncoded());
|
||||
output.write(iv);
|
||||
|
||||
// read data from input into buffer, encrypt and write to output
|
||||
byte[] buffer = new byte[BUFFER_SIZE];
|
||||
int numRead;
|
||||
byte[] encrypted = null;
|
||||
while ((numRead = input.read(buffer)) > 0) {
|
||||
encrypted = encrypt.update(buffer, 0, numRead);
|
||||
if (encrypted != null) {
|
||||
output.write(encrypted);
|
||||
}
|
||||
}
|
||||
try { // finish encryption - do final block
|
||||
encrypted = encrypt.doFinal();
|
||||
} catch (IllegalBlockSizeException | BadPaddingException impossible) { }
|
||||
if (encrypted != null) {
|
||||
output.write(encrypted);
|
||||
}
|
||||
output.flush();
|
||||
}
|
||||
|
||||
/**
|
||||
* Encrypts a stream of data. The encrypted stream consists of a header
|
||||
* followed by the raw AES data. The header is broken down as follows:<br/>
|
||||
* <ul>
|
||||
* <li><b>keyLength</b>: AES key length in bytes (valid for 16, 24, 32) (1 byte)</li>
|
||||
* <li><b>salt</b>: pseudorandom salt used to derive keys from password (16 bytes)</li>
|
||||
* <li><b>authentication key</b> (derived from password and salt, used to
|
||||
* check validity of password upon decryption) (8 bytes)</li>
|
||||
* <li><b>IV</b>: pseudorandom AES initialization vector (16 bytes)</li>
|
||||
* </ul>
|
||||
*
|
||||
* @param keyLength
|
||||
* key length to use for AES encryption (must be 128, 192, or 256)
|
||||
* @param password
|
||||
* password to use for encryption
|
||||
* @param input
|
||||
* an arbitrary string to encrypt
|
||||
* @return
|
||||
* string containing the encrypted data
|
||||
* @throws AES.InvalidKeyLengthException
|
||||
* if keyLength is not 128, 192, or 256
|
||||
* @throws AES.StrongEncryptionNotAvailableException
|
||||
* if keyLength is 192 or 256, but the Java runtime's jurisdiction
|
||||
* policy files do not allow 192- or 256-bit encryption
|
||||
* @throws IOException
|
||||
*/
|
||||
public static byte[] encrypt(int keyLength, String password, String input) throws IOException, StrongEncryptionNotAvailableException, InvalidKeyLengthException {
|
||||
List<Byte> list = new LinkedList<Byte>();
|
||||
encrypt(keyLength, password, new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8)), new OutputStream() {
|
||||
@Override
|
||||
public void write(int b) throws IOException {
|
||||
list.add((byte) b);
|
||||
}
|
||||
});
|
||||
byte[] array = new byte[list.size()];
|
||||
for(int i = 0; i < list.size(); i++) array[i] = list.get(i);
|
||||
return array;
|
||||
}
|
||||
|
||||
/**
|
||||
* Decrypts a stream of data that was encrypted by {@link #encrypt}.
|
||||
* @param password
|
||||
* the password used to encrypt/decrypt the stream
|
||||
* @param input
|
||||
* stream of encrypted data to be decrypted
|
||||
* @param output
|
||||
* stream to which decrypted data will be written
|
||||
* @return the key length for the decrypted stream (128, 192, or 256)
|
||||
* @throws AES.InvalidPasswordException
|
||||
* if the given password was not used to encrypt the data
|
||||
* @throws AES.InvalidAESStreamException
|
||||
* if the given input stream is not a valid AES-encrypted stream
|
||||
* @throws AES.StrongEncryptionNotAvailableException
|
||||
* if the stream is 192 or 256-bit encrypted, and the Java runtime's
|
||||
* jurisdiction policy files do not allow for AES-192 or 256
|
||||
* @throws IOException
|
||||
*/
|
||||
public static int decrypt(String password, InputStream input, OutputStream output)
|
||||
throws InvalidPasswordException, InvalidAESStreamException, IOException,
|
||||
StrongEncryptionNotAvailableException {
|
||||
int keyLength = input.read() * 8;
|
||||
// Check validity of key length
|
||||
if (keyLength != 128 && keyLength != 192 && keyLength != 256) {
|
||||
throw new InvalidAESStreamException();
|
||||
}
|
||||
|
||||
// read salt, generate keys, and authenticate password
|
||||
byte[] salt = new byte[SALT_LENGTH];
|
||||
input.read(salt);
|
||||
Keys keys = keygen(keyLength, password.toCharArray(), salt);
|
||||
byte[] authRead = new byte[AUTH_KEY_LENGTH];
|
||||
input.read(authRead);
|
||||
if (!Arrays.equals(keys.authentication.getEncoded(), authRead)) {
|
||||
throw new InvalidPasswordException();
|
||||
}
|
||||
|
||||
// initialize AES decryption
|
||||
byte[] iv = new byte[16]; // 16-byte I.V. regardless of key size
|
||||
input.read(iv);
|
||||
Cipher decrypt = null;
|
||||
try {
|
||||
decrypt = Cipher.getInstance(CIPHER_SPEC);
|
||||
decrypt.init(Cipher.DECRYPT_MODE, keys.encryption, new IvParameterSpec(iv));
|
||||
} catch (NoSuchAlgorithmException | NoSuchPaddingException
|
||||
| InvalidAlgorithmParameterException impossible) { }
|
||||
catch (InvalidKeyException e) { // 192 or 256-bit AES not available
|
||||
throw new StrongEncryptionNotAvailableException(keyLength);
|
||||
}
|
||||
|
||||
// read data from input into buffer, decrypt and write to output
|
||||
byte[] buffer = new byte[BUFFER_SIZE];
|
||||
int numRead;
|
||||
byte[] decrypted;
|
||||
while ((numRead = input.read(buffer)) > 0) {
|
||||
decrypted = decrypt.update(buffer, 0, numRead);
|
||||
if (decrypted != null) {
|
||||
output.write(decrypted);
|
||||
}
|
||||
}
|
||||
try { // finish decryption - do final block
|
||||
decrypted = decrypt.doFinal();
|
||||
} catch (IllegalBlockSizeException | BadPaddingException e) {
|
||||
throw new InvalidAESStreamException(e);
|
||||
}
|
||||
if (decrypted != null) {
|
||||
output.write(decrypted);
|
||||
}
|
||||
|
||||
output.flush();
|
||||
return keyLength;
|
||||
}
|
||||
|
||||
/**
|
||||
* Decrypts a stream of data that was encrypted by {@link #encrypt}.
|
||||
* @param password
|
||||
* the password used to encrypt/decrypt the string
|
||||
* @param input
|
||||
* string of encrypted data to be decrypted
|
||||
* @return the key length for the decrypted string (128, 192, or 256) and the string of decrypted data
|
||||
* @throws AES.InvalidPasswordException
|
||||
* if the given password was not used to encrypt the data
|
||||
* @throws AES.InvalidAESStreamException
|
||||
* if the given input stream is not a valid AES-encrypted stream
|
||||
* @throws AES.StrongEncryptionNotAvailableException
|
||||
* if the stream is 192 or 256-bit encrypted, and the Java runtime's
|
||||
* jurisdiction policy files do not allow for AES-192 or 256
|
||||
* @throws IOException
|
||||
*/
|
||||
public static NamedContainer<Integer, String> decrypt(String password, byte[] input) throws IOException, StrongEncryptionNotAvailableException, InvalidAESStreamException, InvalidPasswordException {
|
||||
List<Byte> list = new LinkedList<Byte>();
|
||||
int keyLength = decrypt(password, new ByteArrayInputStream(input), new OutputStream() {
|
||||
@Override
|
||||
public void write(int b) throws IOException {
|
||||
list.add((byte) b);
|
||||
}
|
||||
});
|
||||
byte[] array = new byte[list.size()];
|
||||
for(int i = 0; i < list.size(); i++) array[i] = list.get(i);
|
||||
return new NamedContainer<>(keyLength, new String(array, StandardCharsets.UTF_8));
|
||||
}
|
||||
|
||||
/**
|
||||
* A tuple of encryption and authentication keys returned by {@link #keygen}
|
||||
*/
|
||||
private static class Keys {
|
||||
public final SecretKey encryption, authentication;
|
||||
public Keys(SecretKey encryption, SecretKey authentication) {
|
||||
this.encryption = encryption;
|
||||
this.authentication = authentication;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Thrown if an attempt is made to decrypt a stream with an incorrect password.
|
||||
*/
|
||||
public static class InvalidPasswordException extends Exception { }
|
||||
|
||||
/**
|
||||
* Thrown if an attempt is made to encrypt a stream with an invalid AES key length.
|
||||
*/
|
||||
public static class InvalidKeyLengthException extends Exception {
|
||||
InvalidKeyLengthException(int length) {
|
||||
super("Invalid AES key length: " + length);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Thrown if 192- or 256-bit AES encryption or decryption is attempted,
|
||||
* but not available on the particular Java platform.
|
||||
*/
|
||||
public static class StrongEncryptionNotAvailableException extends Exception {
|
||||
public StrongEncryptionNotAvailableException(int keySize) {
|
||||
super(keySize + "-bit AES encryption is not available on this Java platform.");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Thrown if an attempt is made to decrypt an invalid AES stream.
|
||||
*/
|
||||
public static class InvalidAESStreamException extends Exception {
|
||||
public InvalidAESStreamException() { super(); };
|
||||
public InvalidAESStreamException(Exception e) { super(e); }
|
||||
}
|
||||
|
||||
}
|
@ -3,18 +3,15 @@ package net.ME1312.SubServers.Bungee.Network;
|
||||
import net.ME1312.SubServers.Bungee.Library.Exception.IllegalPacketException;
|
||||
import net.ME1312.SubServers.Bungee.Library.Util;
|
||||
import net.ME1312.SubServers.Bungee.Network.Packet.PacketAuthorization;
|
||||
import net.ME1312.SubServers.Bungee.SubPlugin;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.io.PrintWriter;
|
||||
import java.io.*;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.net.InetSocketAddress;
|
||||
import java.net.Socket;
|
||||
import java.net.SocketException;
|
||||
import java.util.Base64;
|
||||
import java.util.Timer;
|
||||
import java.util.TimerTask;
|
||||
|
||||
@ -27,7 +24,7 @@ public class Client {
|
||||
private ClientHandler handler;
|
||||
private PrintWriter writer;
|
||||
private Timer authorized;
|
||||
protected SubDataServer subdata;
|
||||
private SubDataServer subdata;
|
||||
|
||||
/**
|
||||
* Network Client
|
||||
@ -41,7 +38,7 @@ public class Client {
|
||||
socket = client;
|
||||
writer = new PrintWriter(client.getOutputStream(), true);
|
||||
address = new InetSocketAddress(client.getInetAddress(), client.getPort());
|
||||
authorized = new Timer("__subdata_auth_" + client.getRemoteSocketAddress().toString());
|
||||
authorized = new Timer();
|
||||
authorized.schedule(new TimerTask() {
|
||||
@Override
|
||||
public void run() {
|
||||
@ -64,8 +61,19 @@ public class Client {
|
||||
BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
|
||||
String input;
|
||||
while ((input = in.readLine()) != null) {
|
||||
String decoded = null;
|
||||
try {
|
||||
JSONObject json = new JSONObject(input);
|
||||
switch (subdata.getEncryption()) {
|
||||
case AES:
|
||||
case AES_128:
|
||||
case AES_192:
|
||||
case AES_256:
|
||||
decoded = AES.decrypt(subdata.plugin.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), Base64.getDecoder().decode(input)).get();
|
||||
break;
|
||||
default:
|
||||
decoded = input;
|
||||
}
|
||||
JSONObject json = new JSONObject(decoded);
|
||||
for (PacketIn packet : SubDataServer.decodePacket(json)) {
|
||||
if (authorized == null || packet instanceof PacketAuthorization) {
|
||||
try {
|
||||
@ -82,7 +90,7 @@ public class Client {
|
||||
} else sendPacket(new PacketAuthorization(-1, "Unauthorized"));
|
||||
}
|
||||
} catch (JSONException e) {
|
||||
new IllegalPacketException("Unknown Packet Format: " + input).printStackTrace();
|
||||
new IllegalPacketException("Unknown Packet Format: " + ((decoded == null)?input:decoded)).printStackTrace();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
@ -122,8 +130,21 @@ public class Client {
|
||||
public void sendPacket(PacketOut packet) {
|
||||
if (Util.isNull(packet)) throw new NullPointerException();
|
||||
try {
|
||||
writer.println(SubDataServer.encodePacket(packet));
|
||||
} catch (IllegalPacketException e) {
|
||||
switch (subdata.getEncryption()) {
|
||||
case AES:
|
||||
case AES_128:
|
||||
writer.println(Base64.getEncoder().encodeToString(AES.encrypt(128, subdata.plugin.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), SubDataServer.encodePacket(packet).toString())));
|
||||
break;
|
||||
case AES_192:
|
||||
writer.println(Base64.getEncoder().encodeToString(AES.encrypt(192, subdata.plugin.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), SubDataServer.encodePacket(packet).toString())));
|
||||
break;
|
||||
case AES_256:
|
||||
writer.println(Base64.getEncoder().encodeToString(AES.encrypt(256, subdata.plugin.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), SubDataServer.encodePacket(packet).toString())));
|
||||
break;
|
||||
default:
|
||||
writer.println(SubDataServer.encodePacket(packet));
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
@ -165,24 +186,24 @@ public class Client {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the Handler<br>
|
||||
* <b>Warning:</b> This method should only be called by ClientHandler methods
|
||||
* Sets the Handler
|
||||
*
|
||||
* @see ClientHandler
|
||||
* @param obj Handler
|
||||
*/
|
||||
public void setHandler(ClientHandler obj) {
|
||||
if (handler != null) handler.setSubData(null);
|
||||
handler = obj;
|
||||
handler.setSubData(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Disconnects the Client
|
||||
* Disconnects the Client (does not remove them from the server)
|
||||
*
|
||||
* @throws IOException
|
||||
*/
|
||||
protected void disconnect() throws IOException {
|
||||
public void disconnect() throws IOException {
|
||||
if (!socket.isClosed()) getConnection().close();
|
||||
if (handler != null) handler.linkSubDataClient(null);
|
||||
if (handler != null) handler.setSubData(null);
|
||||
handler = null;
|
||||
|
||||
}
|
||||
|
@ -9,12 +9,13 @@ public interface ClientHandler {
|
||||
*
|
||||
* @return SubData Client (or null if not linked)
|
||||
*/
|
||||
Client getSubDataClient();
|
||||
Client getSubData();
|
||||
|
||||
/**
|
||||
* Link a SubData Client to this Object
|
||||
*
|
||||
* @see Client#setHandler(ClientHandler)
|
||||
* @param client Client to Link
|
||||
*/
|
||||
void linkSubDataClient(Client client);
|
||||
void setSubData(Client client);
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ public class PacketDownloadServerInfo implements PacketIn, PacketOut {
|
||||
info.put("restricted", server.isRestricted());
|
||||
info.put("hidden", server.isHidden());
|
||||
info.put("motd", server.getMotd());
|
||||
info.put("subdata", server.getSubDataClient() == null);
|
||||
info.put("subdata", server.getSubData() == null);
|
||||
info.put("extra", server.getExtra().toJSON());
|
||||
|
||||
JSONObject players = new JSONObject();
|
||||
|
@ -1,9 +1,6 @@
|
||||
package net.ME1312.SubServers.Bungee.Network.Packet;
|
||||
|
||||
import net.ME1312.SubServers.Bungee.Host.External.ExternalHost;
|
||||
import net.ME1312.SubServers.Bungee.Host.Host;
|
||||
import net.ME1312.SubServers.Bungee.Host.Server;
|
||||
import net.ME1312.SubServers.Bungee.Host.SubServer;
|
||||
import net.ME1312.SubServers.Bungee.Library.Util;
|
||||
import net.ME1312.SubServers.Bungee.Library.Version.Version;
|
||||
import net.ME1312.SubServers.Bungee.Network.Client;
|
||||
@ -60,8 +57,8 @@ public class PacketLinkExHost implements PacketIn, PacketOut {
|
||||
if (hosts.keySet().contains(data.getString("name").toLowerCase())) {
|
||||
Host host = hosts.get(data.getString("name").toLowerCase());
|
||||
if (host instanceof ClientHandler) {
|
||||
if (((ClientHandler) host).getSubDataClient() == null) {
|
||||
((ClientHandler) host).linkSubDataClient(client);
|
||||
if (((ClientHandler) host).getSubData() == null) {
|
||||
client.setHandler((ClientHandler) host);
|
||||
System.out.println("SubData > " + client.getAddress().toString() + " has been defined as Host: " + host.getName());
|
||||
client.sendPacket(new PacketLinkExHost(0, "Definition Successful"));
|
||||
} else {
|
||||
|
@ -56,8 +56,8 @@ public class PacketLinkServer implements PacketIn, PacketOut {
|
||||
Map<String, Server> servers = plugin.api.getServers();
|
||||
if (servers.keySet().contains(data.getString("name").toLowerCase())) {
|
||||
Server server = servers.get(data.getString("name").toLowerCase());
|
||||
if (server.getSubDataClient() == null) {
|
||||
server.linkSubDataClient(client);
|
||||
if (server.getSubData() == null) {
|
||||
client.setHandler(server);
|
||||
System.out.println("SubData > " + client.getAddress().toString() + " has been defined as " + ((server instanceof SubServer) ? "SubServer" : "Server") + ": " + server.getName());
|
||||
client.sendPacket(new PacketLinkServer(0, "Definition Successful"));
|
||||
if (server instanceof SubServer && !((SubServer) server).isRunning()) client.sendPacket(new PacketOutReset("Rogue SubServer Detected"));
|
||||
|
@ -67,7 +67,7 @@ public class PacketOutRunEvent implements Listener, PacketOut {
|
||||
if (!event.isCancelled()) {
|
||||
JSONObject args = new JSONObject();
|
||||
args.put("player", ((event.getPlayer() == null)?null:event.getPlayer().toString()));
|
||||
args.put("host", ((event.getHost() == null)?null:event.getHost()));
|
||||
args.put("host", ((event.getHost() == null)?null:event.getHost().getName()));
|
||||
args.put("server", event.getServer().getName());
|
||||
plugin.subdata.broadcastPacket(new PacketOutRunEvent(event.getClass(), args));
|
||||
}
|
||||
@ -127,7 +127,7 @@ public class PacketOutRunEvent implements Listener, PacketOut {
|
||||
if (!event.isCancelled()) {
|
||||
JSONObject args = new JSONObject();
|
||||
args.put("player", ((event.getPlayer() == null)?null:event.getPlayer().toString()));
|
||||
args.put("host", ((event.getHost() == null)?null:event.getHost()));
|
||||
args.put("host", ((event.getHost() == null)?null:event.getHost().getName()));
|
||||
args.put("server", event.getServer().getName());
|
||||
plugin.subdata.broadcastPacket(new PacketOutRunEvent(event.getClass(), args));
|
||||
}
|
||||
|
@ -24,8 +24,17 @@ public final class SubDataServer {
|
||||
private static boolean defaults = false;
|
||||
private HashMap<InetSocketAddress, Client> clients = new HashMap<InetSocketAddress, Client>();
|
||||
private ServerSocket server;
|
||||
private Encryption encryption;
|
||||
protected SubPlugin plugin;
|
||||
|
||||
public enum Encryption {
|
||||
NONE,
|
||||
AES,
|
||||
AES_128,
|
||||
AES_192,
|
||||
AES_256,
|
||||
}
|
||||
|
||||
/**
|
||||
* SubData Server Instance
|
||||
*
|
||||
@ -35,7 +44,7 @@ public final class SubDataServer {
|
||||
* @param address Bind Address
|
||||
* @throws IOException
|
||||
*/
|
||||
public SubDataServer(SubPlugin plugin, int port, int backlog, InetAddress address) throws IOException {
|
||||
public SubDataServer(SubPlugin plugin, int port, int backlog, InetAddress address, Encryption encryption) throws IOException {
|
||||
if (Util.isNull(plugin, port, backlog)) throw new NullPointerException();
|
||||
if (address == null) {
|
||||
server = new ServerSocket(port, backlog);
|
||||
@ -45,6 +54,7 @@ public final class SubDataServer {
|
||||
allowConnection(address);
|
||||
}
|
||||
this.plugin = plugin;
|
||||
this.encryption = encryption;
|
||||
|
||||
if (!defaults) loadDefaults();
|
||||
}
|
||||
@ -121,6 +131,15 @@ public final class SubDataServer {
|
||||
return server;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the Server's Encryption method
|
||||
*
|
||||
* @return Encryption method
|
||||
*/
|
||||
public Encryption getEncryption() {
|
||||
return encryption;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a Client to the Network
|
||||
*
|
||||
@ -164,7 +183,7 @@ public final class SubDataServer {
|
||||
}
|
||||
|
||||
/**
|
||||
* Grabs all the Clients from the Network
|
||||
* Grabs all the Clients on the Network
|
||||
*
|
||||
* @return Client List
|
||||
*/
|
||||
@ -213,8 +232,10 @@ public final class SubDataServer {
|
||||
public static void registerPacket(PacketIn packet, String handle) {
|
||||
if (Util.isNull(packet, handle)) throw new NullPointerException();
|
||||
List<PacketIn> list = (pIn.keySet().contains(handle))?pIn.get(handle):new ArrayList<PacketIn>();
|
||||
if (!list.contains(packet)) list.add(packet);
|
||||
pIn.put(handle, list);
|
||||
if (!list.contains(packet)) {
|
||||
list.add(packet);
|
||||
pIn.put(handle, list);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@ -224,7 +245,17 @@ public final class SubDataServer {
|
||||
*/
|
||||
public static void unregisterPacket(PacketIn packet) {
|
||||
if (Util.isNull(packet)) throw new NullPointerException();
|
||||
for (String handle : pIn.keySet()) if (pIn.get(handle).contains(packet)) pIn.get(handle).remove(packet);
|
||||
List<String> search = new ArrayList<String>();
|
||||
search.addAll(pIn.keySet());
|
||||
for (String handle : search) if (pIn.get(handle).contains(packet)) {
|
||||
List<PacketIn> list = pIn.get(handle);
|
||||
list.remove(packet);
|
||||
if (list.isEmpty()) {
|
||||
pIn.remove(handle);
|
||||
} else {
|
||||
pIn.put(handle, list);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -184,8 +184,17 @@ public final class SubPlugin extends BungeeCord {
|
||||
|
||||
config.reload();
|
||||
lang.reload();
|
||||
SubDataServer.Encryption encryption = SubDataServer.Encryption.NONE;
|
||||
if (config.get().getSection("Settings").getSection("SubData").getString("Password", "").length() == 0) {
|
||||
System.out.println("SubData > Cannot encrypt connection without a password");
|
||||
} else if (Util.isException(() -> SubDataServer.Encryption.valueOf(config.get().getSection("Settings").getSection("SubData").getRawString("Encryption", "NONE").replace('-', '_').replace(' ', '_').toUpperCase()))) {
|
||||
System.out.println("SubData > Unknown encryption type: " + SubDataServer.Encryption.valueOf(config.get().getSection("Settings").getSection("SubData").getRawString("Encryption", "None")));
|
||||
} else {
|
||||
encryption = SubDataServer.Encryption.valueOf(config.get().getSection("Settings").getSection("SubData").getRawString("Encryption", "NONE").replace('-', '_').replace(' ', '_').toUpperCase());
|
||||
}
|
||||
subdata = new SubDataServer(this, Integer.parseInt(config.get().getSection("Settings").getSection("SubData").getRawString("Address", "127.0.0.1:4391").split(":")[1]), 10,
|
||||
(config.get().getSection("Settings").getSection("SubData").getRawString("Address", "127.0.0.1:4391").split(":")[0].equals("0.0.0.0"))?null:InetAddress.getByName(config.get().getSection("Settings").getSection("SubData").getRawString("Address", "127.0.0.1:4391").split(":")[0]));
|
||||
(config.get().getSection("Settings").getSection("SubData").getRawString("Address", "127.0.0.1:4391").split(":")[0].equals("0.0.0.0"))?null:InetAddress.getByName(config.get().getSection("Settings").getSection("SubData").getRawString("Address", "127.0.0.1:4391").split(":")[0]),
|
||||
encryption);
|
||||
System.out.println("SubServers > SubData Direct Listening on /" + config.get().getSection("Settings").getSection("SubData").getRawString("Address", "127.0.0.1:4391"));
|
||||
loop();
|
||||
|
||||
|
@ -5,4 +5,5 @@ Settings:
|
||||
SubData:
|
||||
Name: 'undefined'
|
||||
Address: '127.0.0.1:4391'
|
||||
Password: ''
|
||||
Password: ''
|
||||
Encryption: 'AES'
|
@ -0,0 +1,354 @@
|
||||
package net.ME1312.SubServers.Client.Bukkit.Network;
|
||||
|
||||
import net.ME1312.SubServers.Client.Bukkit.Library.NamedContainer;
|
||||
|
||||
import javax.crypto.*;
|
||||
import javax.crypto.spec.IvParameterSpec;
|
||||
import javax.crypto.spec.PBEKeySpec;
|
||||
import javax.crypto.spec.SecretKeySpec;
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.security.InvalidAlgorithmParameterException;
|
||||
import java.security.InvalidKeyException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.security.SecureRandom;
|
||||
import java.security.spec.InvalidKeySpecException;
|
||||
import java.security.spec.InvalidParameterSpecException;
|
||||
import java.security.spec.KeySpec;
|
||||
import java.util.Arrays;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* A class to perform password-based AES encryption and decryption in CBC mode.
|
||||
* 128, 192, and 256-bit encryption are supported, provided that the latter two
|
||||
* are permitted by the Java runtime's jurisdiction policy files.
|
||||
* <br/>
|
||||
* The public interface for this class consists of the static methods
|
||||
* {@link #encrypt} and {@link #decrypt}, which encrypt and decrypt arbitrary
|
||||
* streams of data, respectively.
|
||||
*
|
||||
* @author dweymouth@gmail.com
|
||||
*/
|
||||
public class AES {
|
||||
|
||||
// AES specification
|
||||
private static final String CIPHER_SPEC = "AES/CBC/PKCS5Padding";
|
||||
|
||||
// Key derivation specification
|
||||
private static final String KEYGEN_SPEC = "PBKDF2WithHmacSHA1";
|
||||
private static final int SALT_LENGTH = 16; // in bytes
|
||||
private static final int AUTH_KEY_LENGTH = 8; // in bytes
|
||||
private static final int ITERATIONS = 32768;
|
||||
|
||||
// Process input/output streams in chunks
|
||||
private static final int BUFFER_SIZE = 1024;
|
||||
|
||||
|
||||
/**
|
||||
* @return a new pseudorandom salt of the specified length
|
||||
*/
|
||||
private static byte[] generateSalt(int length) {
|
||||
Random r = new SecureRandom();
|
||||
byte[] salt = new byte[length];
|
||||
r.nextBytes(salt);
|
||||
return salt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Derive an AES encryption key and authentication key from given password and salt,
|
||||
* using PBKDF2 key stretching. The authentication key is 64 bits long.
|
||||
* @param keyLength
|
||||
* length of the AES key in bits (128, 192, or 256)
|
||||
* @param password
|
||||
* the password from which to derive the keys
|
||||
* @param salt
|
||||
* the salt from which to derive the keys
|
||||
* @return a Keys object containing the two generated keys
|
||||
*/
|
||||
private static Keys keygen(int keyLength, char[] password, byte[] salt) {
|
||||
SecretKeyFactory factory;
|
||||
try {
|
||||
factory = SecretKeyFactory.getInstance(KEYGEN_SPEC);
|
||||
} catch (NoSuchAlgorithmException impossible) { return null; }
|
||||
// derive a longer key, then split into AES key and authentication key
|
||||
KeySpec spec = new PBEKeySpec(password, salt, ITERATIONS, keyLength + AUTH_KEY_LENGTH * 8);
|
||||
SecretKey tmp = null;
|
||||
try {
|
||||
tmp = factory.generateSecret(spec);
|
||||
} catch (InvalidKeySpecException impossible) { }
|
||||
byte[] fullKey = tmp.getEncoded();
|
||||
SecretKey authKey = new SecretKeySpec( // key for password authentication
|
||||
Arrays.copyOfRange(fullKey, 0, AUTH_KEY_LENGTH), "AES");
|
||||
SecretKey encKey = new SecretKeySpec( // key for AES encryption
|
||||
Arrays.copyOfRange(fullKey, AUTH_KEY_LENGTH, fullKey.length), "AES");
|
||||
return new Keys(encKey, authKey);
|
||||
}
|
||||
|
||||
/**
|
||||
* Encrypts a stream of data. The encrypted stream consists of a header
|
||||
* followed by the raw AES data. The header is broken down as follows:<br/>
|
||||
* <ul>
|
||||
* <li><b>keyLength</b>: AES key length in bytes (valid for 16, 24, 32) (1 byte)</li>
|
||||
* <li><b>salt</b>: pseudorandom salt used to derive keys from password (16 bytes)</li>
|
||||
* <li><b>authentication key</b> (derived from password and salt, used to
|
||||
* check validity of password upon decryption) (8 bytes)</li>
|
||||
* <li><b>IV</b>: pseudorandom AES initialization vector (16 bytes)</li>
|
||||
* </ul>
|
||||
*
|
||||
* @param keyLength
|
||||
* key length to use for AES encryption (must be 128, 192, or 256)
|
||||
* @param password
|
||||
* password to use for encryption
|
||||
* @param input
|
||||
* an arbitrary byte stream to encrypt
|
||||
* @param output
|
||||
* stream to which encrypted data will be written
|
||||
* @throws AES.InvalidKeyLengthException
|
||||
* if keyLength is not 128, 192, or 256
|
||||
* @throws AES.StrongEncryptionNotAvailableException
|
||||
* if keyLength is 192 or 256, but the Java runtime's jurisdiction
|
||||
* policy files do not allow 192- or 256-bit encryption
|
||||
* @throws IOException
|
||||
*/
|
||||
public static void encrypt(int keyLength, String password, InputStream input, OutputStream output)
|
||||
throws InvalidKeyLengthException, StrongEncryptionNotAvailableException, IOException {
|
||||
// Check validity of key length
|
||||
if (keyLength != 128 && keyLength != 192 && keyLength != 256) {
|
||||
throw new InvalidKeyLengthException(keyLength);
|
||||
}
|
||||
|
||||
// generate salt and derive keys for authentication and encryption
|
||||
byte[] salt = generateSalt(SALT_LENGTH);
|
||||
Keys keys = keygen(keyLength, password.toCharArray(), salt);
|
||||
|
||||
// initialize AES encryption
|
||||
Cipher encrypt = null;
|
||||
try {
|
||||
encrypt = Cipher.getInstance(CIPHER_SPEC);
|
||||
encrypt.init(Cipher.ENCRYPT_MODE, keys.encryption);
|
||||
} catch (NoSuchAlgorithmException | NoSuchPaddingException impossible) { }
|
||||
catch (InvalidKeyException e) { // 192 or 256-bit AES not available
|
||||
throw new StrongEncryptionNotAvailableException(keyLength);
|
||||
}
|
||||
|
||||
// get initialization vector
|
||||
byte[] iv = null;
|
||||
try {
|
||||
iv = encrypt.getParameters().getParameterSpec(IvParameterSpec.class).getIV();
|
||||
} catch (InvalidParameterSpecException impossible) { }
|
||||
|
||||
// write authentication and AES initialization data
|
||||
output.write(keyLength / 8);
|
||||
output.write(salt);
|
||||
output.write(keys.authentication.getEncoded());
|
||||
output.write(iv);
|
||||
|
||||
// read data from input into buffer, encrypt and write to output
|
||||
byte[] buffer = new byte[BUFFER_SIZE];
|
||||
int numRead;
|
||||
byte[] encrypted = null;
|
||||
while ((numRead = input.read(buffer)) > 0) {
|
||||
encrypted = encrypt.update(buffer, 0, numRead);
|
||||
if (encrypted != null) {
|
||||
output.write(encrypted);
|
||||
}
|
||||
}
|
||||
try { // finish encryption - do final block
|
||||
encrypted = encrypt.doFinal();
|
||||
} catch (IllegalBlockSizeException | BadPaddingException impossible) { }
|
||||
if (encrypted != null) {
|
||||
output.write(encrypted);
|
||||
}
|
||||
output.flush();
|
||||
}
|
||||
|
||||
/**
|
||||
* Encrypts a stream of data. The encrypted stream consists of a header
|
||||
* followed by the raw AES data. The header is broken down as follows:<br/>
|
||||
* <ul>
|
||||
* <li><b>keyLength</b>: AES key length in bytes (valid for 16, 24, 32) (1 byte)</li>
|
||||
* <li><b>salt</b>: pseudorandom salt used to derive keys from password (16 bytes)</li>
|
||||
* <li><b>authentication key</b> (derived from password and salt, used to
|
||||
* check validity of password upon decryption) (8 bytes)</li>
|
||||
* <li><b>IV</b>: pseudorandom AES initialization vector (16 bytes)</li>
|
||||
* </ul>
|
||||
*
|
||||
* @param keyLength
|
||||
* key length to use for AES encryption (must be 128, 192, or 256)
|
||||
* @param password
|
||||
* password to use for encryption
|
||||
* @param input
|
||||
* an arbitrary string to encrypt
|
||||
* @return
|
||||
* string containing the encrypted data
|
||||
* @throws AES.InvalidKeyLengthException
|
||||
* if keyLength is not 128, 192, or 256
|
||||
* @throws AES.StrongEncryptionNotAvailableException
|
||||
* if keyLength is 192 or 256, but the Java runtime's jurisdiction
|
||||
* policy files do not allow 192- or 256-bit encryption
|
||||
* @throws IOException
|
||||
*/
|
||||
public static byte[] encrypt(int keyLength, String password, String input) throws IOException, StrongEncryptionNotAvailableException, InvalidKeyLengthException {
|
||||
List<Byte> list = new LinkedList<Byte>();
|
||||
encrypt(keyLength, password, new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8)), new OutputStream() {
|
||||
@Override
|
||||
public void write(int b) throws IOException {
|
||||
list.add((byte) b);
|
||||
}
|
||||
});
|
||||
byte[] array = new byte[list.size()];
|
||||
for(int i = 0; i < list.size(); i++) array[i] = list.get(i);
|
||||
return array;
|
||||
}
|
||||
|
||||
/**
|
||||
* Decrypts a stream of data that was encrypted by {@link #encrypt}.
|
||||
* @param password
|
||||
* the password used to encrypt/decrypt the stream
|
||||
* @param input
|
||||
* stream of encrypted data to be decrypted
|
||||
* @param output
|
||||
* stream to which decrypted data will be written
|
||||
* @return the key length for the decrypted stream (128, 192, or 256)
|
||||
* @throws AES.InvalidPasswordException
|
||||
* if the given password was not used to encrypt the data
|
||||
* @throws AES.InvalidAESStreamException
|
||||
* if the given input stream is not a valid AES-encrypted stream
|
||||
* @throws AES.StrongEncryptionNotAvailableException
|
||||
* if the stream is 192 or 256-bit encrypted, and the Java runtime's
|
||||
* jurisdiction policy files do not allow for AES-192 or 256
|
||||
* @throws IOException
|
||||
*/
|
||||
public static int decrypt(String password, InputStream input, OutputStream output)
|
||||
throws InvalidPasswordException, InvalidAESStreamException, IOException,
|
||||
StrongEncryptionNotAvailableException {
|
||||
int keyLength = input.read() * 8;
|
||||
// Check validity of key length
|
||||
if (keyLength != 128 && keyLength != 192 && keyLength != 256) {
|
||||
throw new InvalidAESStreamException();
|
||||
}
|
||||
|
||||
// read salt, generate keys, and authenticate password
|
||||
byte[] salt = new byte[SALT_LENGTH];
|
||||
input.read(salt);
|
||||
Keys keys = keygen(keyLength, password.toCharArray(), salt);
|
||||
byte[] authRead = new byte[AUTH_KEY_LENGTH];
|
||||
input.read(authRead);
|
||||
if (!Arrays.equals(keys.authentication.getEncoded(), authRead)) {
|
||||
throw new InvalidPasswordException();
|
||||
}
|
||||
|
||||
// initialize AES decryption
|
||||
byte[] iv = new byte[16]; // 16-byte I.V. regardless of key size
|
||||
input.read(iv);
|
||||
Cipher decrypt = null;
|
||||
try {
|
||||
decrypt = Cipher.getInstance(CIPHER_SPEC);
|
||||
decrypt.init(Cipher.DECRYPT_MODE, keys.encryption, new IvParameterSpec(iv));
|
||||
} catch (NoSuchAlgorithmException | NoSuchPaddingException
|
||||
| InvalidAlgorithmParameterException impossible) { }
|
||||
catch (InvalidKeyException e) { // 192 or 256-bit AES not available
|
||||
throw new StrongEncryptionNotAvailableException(keyLength);
|
||||
}
|
||||
|
||||
// read data from input into buffer, decrypt and write to output
|
||||
byte[] buffer = new byte[BUFFER_SIZE];
|
||||
int numRead;
|
||||
byte[] decrypted;
|
||||
while ((numRead = input.read(buffer)) > 0) {
|
||||
decrypted = decrypt.update(buffer, 0, numRead);
|
||||
if (decrypted != null) {
|
||||
output.write(decrypted);
|
||||
}
|
||||
}
|
||||
try { // finish decryption - do final block
|
||||
decrypted = decrypt.doFinal();
|
||||
} catch (IllegalBlockSizeException | BadPaddingException e) {
|
||||
throw new InvalidAESStreamException(e);
|
||||
}
|
||||
if (decrypted != null) {
|
||||
output.write(decrypted);
|
||||
}
|
||||
|
||||
output.flush();
|
||||
return keyLength;
|
||||
}
|
||||
|
||||
/**
|
||||
* Decrypts a stream of data that was encrypted by {@link #encrypt}.
|
||||
* @param password
|
||||
* the password used to encrypt/decrypt the string
|
||||
* @param input
|
||||
* string of encrypted data to be decrypted
|
||||
* @return the key length for the decrypted string (128, 192, or 256) and the string of decrypted data
|
||||
* @throws AES.InvalidPasswordException
|
||||
* if the given password was not used to encrypt the data
|
||||
* @throws AES.InvalidAESStreamException
|
||||
* if the given input stream is not a valid AES-encrypted stream
|
||||
* @throws AES.StrongEncryptionNotAvailableException
|
||||
* if the stream is 192 or 256-bit encrypted, and the Java runtime's
|
||||
* jurisdiction policy files do not allow for AES-192 or 256
|
||||
* @throws IOException
|
||||
*/
|
||||
public static NamedContainer<Integer, String> decrypt(String password, byte[] input) throws IOException, StrongEncryptionNotAvailableException, InvalidAESStreamException, InvalidPasswordException {
|
||||
List<Byte> list = new LinkedList<Byte>();
|
||||
int keyLength = decrypt(password, new ByteArrayInputStream(input), new OutputStream() {
|
||||
@Override
|
||||
public void write(int b) throws IOException {
|
||||
list.add((byte) b);
|
||||
}
|
||||
});
|
||||
byte[] array = new byte[list.size()];
|
||||
for(int i = 0; i < list.size(); i++) array[i] = list.get(i);
|
||||
return new NamedContainer<>(keyLength, new String(array, StandardCharsets.UTF_8));
|
||||
}
|
||||
|
||||
/**
|
||||
* A tuple of encryption and authentication keys returned by {@link #keygen}
|
||||
*/
|
||||
private static class Keys {
|
||||
public final SecretKey encryption, authentication;
|
||||
public Keys(SecretKey encryption, SecretKey authentication) {
|
||||
this.encryption = encryption;
|
||||
this.authentication = authentication;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Thrown if an attempt is made to decrypt a stream with an incorrect password.
|
||||
*/
|
||||
public static class InvalidPasswordException extends Exception { }
|
||||
|
||||
/**
|
||||
* Thrown if an attempt is made to encrypt a stream with an invalid AES key length.
|
||||
*/
|
||||
public static class InvalidKeyLengthException extends Exception {
|
||||
InvalidKeyLengthException(int length) {
|
||||
super("Invalid AES key length: " + length);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Thrown if 192- or 256-bit AES encryption or decryption is attempted,
|
||||
* but not available on the particular Java platform.
|
||||
*/
|
||||
public static class StrongEncryptionNotAvailableException extends Exception {
|
||||
public StrongEncryptionNotAvailableException(int keySize) {
|
||||
super(keySize + "-bit AES encryption is not available on this Java platform.");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Thrown if an attempt is made to decrypt an invalid AES stream.
|
||||
*/
|
||||
public static class InvalidAESStreamException extends Exception {
|
||||
public InvalidAESStreamException() { super(); };
|
||||
public InvalidAESStreamException(Exception e) { super(e); }
|
||||
}
|
||||
|
||||
}
|
@ -1,6 +1,7 @@
|
||||
package net.ME1312.SubServers.Client.Bukkit.Network;
|
||||
|
||||
import net.ME1312.SubServers.Client.Bukkit.Event.SubNetworkDisconnectEvent;
|
||||
import net.ME1312.SubServers.Client.Bukkit.Library.Container;
|
||||
import net.ME1312.SubServers.Client.Bukkit.Library.Exception.IllegalPacketException;
|
||||
import net.ME1312.SubServers.Client.Bukkit.Library.Util;
|
||||
import net.ME1312.SubServers.Client.Bukkit.Library.Version.Version;
|
||||
@ -10,19 +11,13 @@ import org.bukkit.Bukkit;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.io.PrintWriter;
|
||||
import java.io.*;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.net.InetAddress;
|
||||
import java.net.InetSocketAddress;
|
||||
import java.net.Socket;
|
||||
import java.net.SocketException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* SubData Direct Client Class
|
||||
@ -34,9 +29,18 @@ public final class SubDataClient {
|
||||
private PrintWriter writer;
|
||||
private Socket socket;
|
||||
private String name;
|
||||
private Encryption encryption;
|
||||
private SubPlugin plugin;
|
||||
private LinkedList<PacketOut> queue;
|
||||
|
||||
public enum Encryption {
|
||||
NONE,
|
||||
AES,
|
||||
AES_128,
|
||||
AES_192,
|
||||
AES_256
|
||||
}
|
||||
|
||||
/**
|
||||
* SubServers Client Instance
|
||||
*
|
||||
@ -45,12 +49,13 @@ public final class SubDataClient {
|
||||
* @param port Port
|
||||
* @throws IOException
|
||||
*/
|
||||
public SubDataClient(SubPlugin plugin, String name, InetAddress address, int port) throws IOException {
|
||||
public SubDataClient(SubPlugin plugin, String name, InetAddress address, int port, Encryption encryption) throws IOException {
|
||||
if (Util.isNull(plugin, name, address, port)) throw new NullPointerException();
|
||||
socket = new Socket(address, port);
|
||||
this.plugin = plugin;
|
||||
this.name = name;
|
||||
this.writer = new PrintWriter(socket.getOutputStream(), true);
|
||||
this.encryption = encryption;
|
||||
this.queue = new LinkedList<PacketOut>();
|
||||
|
||||
if (!defaults) loadDefaults();
|
||||
@ -97,8 +102,19 @@ public final class SubDataClient {
|
||||
BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
|
||||
String input;
|
||||
while ((input = in.readLine()) != null) {
|
||||
String decoded = null;
|
||||
try {
|
||||
JSONObject json = new JSONObject(input);
|
||||
switch (getEncryption()) {
|
||||
case AES:
|
||||
case AES_128:
|
||||
case AES_192:
|
||||
case AES_256:
|
||||
decoded = AES.decrypt(plugin.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), Base64.getDecoder().decode(input)).get();
|
||||
break;
|
||||
default:
|
||||
decoded = input;
|
||||
}
|
||||
JSONObject json = new JSONObject(decoded);
|
||||
for (PacketIn packet : decodePacket(json)) {
|
||||
try {
|
||||
Bukkit.getScheduler().runTask(plugin, () -> packet.execute((json.keySet().contains("c"))?json.getJSONObject("c"):null));
|
||||
@ -106,10 +122,10 @@ public final class SubDataClient {
|
||||
new InvocationTargetException(e, "Exception while executing PacketIn").printStackTrace();
|
||||
}
|
||||
}
|
||||
} catch (IllegalPacketException e) {
|
||||
e.printStackTrace();
|
||||
} catch (JSONException e) {
|
||||
new IllegalPacketException("Unknown Packet Format: " + input).printStackTrace();
|
||||
new IllegalPacketException("Unknown Packet Format: " + ((decoded == null)?input:decoded)).printStackTrace();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
try {
|
||||
@ -146,6 +162,15 @@ public final class SubDataClient {
|
||||
return socket;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the Connection's Encryption method
|
||||
*
|
||||
* @return Encryption method
|
||||
*/
|
||||
public Encryption getEncryption() {
|
||||
return encryption;
|
||||
}
|
||||
|
||||
/**
|
||||
* Register PacketIn to the Network
|
||||
*
|
||||
@ -155,8 +180,10 @@ public final class SubDataClient {
|
||||
public static void registerPacket(PacketIn packet, String handle) {
|
||||
if (Util.isNull(packet, handle)) throw new NullPointerException();
|
||||
List<PacketIn> list = (pIn.keySet().contains(handle))?pIn.get(handle):new ArrayList<PacketIn>();
|
||||
if (!list.contains(packet)) list.add(packet);
|
||||
pIn.put(handle, list);
|
||||
if (!list.contains(packet)) {
|
||||
list.add(packet);
|
||||
pIn.put(handle, list);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@ -166,7 +193,17 @@ public final class SubDataClient {
|
||||
*/
|
||||
public static void unregisterPacket(PacketIn packet) {
|
||||
if (Util.isNull(packet)) throw new NullPointerException();
|
||||
for (String handle : pIn.keySet()) if (pIn.get(handle).contains(packet)) pIn.get(handle).remove(packet);
|
||||
List<String> search = new ArrayList<String>();
|
||||
search.addAll(pIn.keySet());
|
||||
for (String handle : search) if (pIn.get(handle).contains(packet)) {
|
||||
List<PacketIn> list = pIn.get(handle);
|
||||
list.remove(packet);
|
||||
if (list.isEmpty()) {
|
||||
pIn.remove(handle);
|
||||
} else {
|
||||
pIn.put(handle, list);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@ -212,8 +249,21 @@ public final class SubDataClient {
|
||||
queue.add(packet);
|
||||
} else {
|
||||
try {
|
||||
writer.println(encodePacket(packet));
|
||||
} catch (IllegalPacketException e) {
|
||||
switch (getEncryption()) {
|
||||
case AES:
|
||||
case AES_128:
|
||||
writer.println(Base64.getEncoder().encodeToString(AES.encrypt(128, plugin.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), encodePacket(packet).toString())));
|
||||
break;
|
||||
case AES_192:
|
||||
writer.println(Base64.getEncoder().encodeToString(AES.encrypt(192, plugin.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), encodePacket(packet).toString())));
|
||||
break;
|
||||
case AES_256:
|
||||
writer.println(Base64.getEncoder().encodeToString(AES.encrypt(256, plugin.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), encodePacket(packet).toString())));
|
||||
break;
|
||||
default:
|
||||
writer.println(encodePacket(packet));
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
@ -233,7 +283,24 @@ public final class SubDataClient {
|
||||
try {
|
||||
JSONObject json = encodePacket(packet);
|
||||
json.put("f", location.toString());
|
||||
writer.println(json);
|
||||
try {
|
||||
switch (getEncryption()) {
|
||||
case AES:
|
||||
case AES_128:
|
||||
writer.println(Base64.getEncoder().encodeToString(AES.encrypt(128, plugin.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), json.toString())));
|
||||
break;
|
||||
case AES_192:
|
||||
writer.println(Base64.getEncoder().encodeToString(AES.encrypt(192, plugin.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), json.toString())));
|
||||
break;
|
||||
case AES_256:
|
||||
writer.println(Base64.getEncoder().encodeToString(AES.encrypt(256, plugin.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), json.toString())));
|
||||
break;
|
||||
default:
|
||||
writer.println(json.toString());
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
} catch (IllegalPacketException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
@ -303,7 +370,7 @@ public final class SubDataClient {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
plugin.subdata = new SubDataClient(plugin, name, socket.getInetAddress(), socket.getPort());
|
||||
plugin.subdata = new SubDataClient(plugin, name, socket.getInetAddress(), socket.getPort(), encryption);
|
||||
while (queue.size() != 0) {
|
||||
plugin.subdata.sendPacket(queue.get(0));
|
||||
queue.remove(0);
|
||||
|
@ -62,9 +62,17 @@ public final class SubPlugin extends JavaPlugin {
|
||||
config.save();
|
||||
new UniversalFile(new File(System.getProperty("user.dir")), "subservers.client").delete();
|
||||
}
|
||||
SubDataClient.Encryption encryption = SubDataClient.Encryption.NONE;
|
||||
if (config.get().getSection("Settings").getSection("SubData").getString("Password", "").length() == 0) {
|
||||
System.out.println("SubData > Cannot encrypt connection without a password");
|
||||
} else if (Util.isException(() -> SubDataClient.Encryption.valueOf(config.get().getSection("Settings").getSection("SubData").getRawString("Encryption", "NONE").replace('-', '_').replace(' ', '_').toUpperCase()))) {
|
||||
System.out.println("SubData > Unknown encryption type: " + SubDataClient.Encryption.valueOf(config.get().getSection("Settings").getSection("SubData").getRawString("Encryption", "None")));
|
||||
} else {
|
||||
encryption = SubDataClient.Encryption.valueOf(config.get().getSection("Settings").getSection("SubData").getRawString("Encryption", "NONE").replace('-', '_').replace(' ', '_').toUpperCase());
|
||||
}
|
||||
subdata = new SubDataClient(this, config.get().getSection("Settings").getSection("SubData").getString("Name", "undefined"),
|
||||
InetAddress.getByName(config.get().getSection("Settings").getSection("SubData").getString("Address", "127.0.0.1:4391").split(":")[0]),
|
||||
Integer.parseInt(config.get().getSection("Settings").getSection("SubData").getString("Address", "127.0.0.1:4391").split(":")[1]));
|
||||
Integer.parseInt(config.get().getSection("Settings").getSection("SubData").getString("Address", "127.0.0.1:4391").split(":")[1]), encryption);
|
||||
|
||||
if (config.get().getSection("Settings").getBoolean("Ingame-Access", true)) {
|
||||
gui = new InternalHandler(this);
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: 'SubServers-Client-Bukkit'
|
||||
main: 'net.ME1312.SubServers.Client.Bukkit.SubPlugin'
|
||||
version: '2.11.2h'
|
||||
version: '2.12a'
|
||||
authors: [ME1312]
|
||||
softdepend: [Vault, TitleManager]
|
||||
website: 'http://www.ME1312.net/'
|
||||
|
@ -45,7 +45,7 @@ public final class ExHost {
|
||||
public YAMLSection lang = null;
|
||||
public SubDataClient subdata = null;
|
||||
|
||||
public final Version version = new Version("2.11.2c");
|
||||
public final Version version = new Version("2.12a");
|
||||
public final Version bversion = null;
|
||||
public final SubAPI api = new SubAPI(this);
|
||||
|
||||
@ -141,9 +141,17 @@ public final class ExHost {
|
||||
}
|
||||
|
||||
config = new YAMLConfig(new UniversalFile(dir, "config.yml"));
|
||||
SubDataClient.Encryption encryption = SubDataClient.Encryption.NONE;
|
||||
if (config.get().getSection("Settings").getSection("SubData").getString("Password", "").length() == 0) {
|
||||
log.info.println("Cannot encrypt connection without a password");
|
||||
} else if (Util.isException(() -> SubDataClient.Encryption.valueOf(config.get().getSection("Settings").getSection("SubData").getRawString("Encryption", "NONE").replace('-', '_').replace(' ', '_').toUpperCase()))) {
|
||||
log.info.println("Unknown encryption type: " + SubDataClient.Encryption.valueOf(config.get().getSection("Settings").getSection("SubData").getRawString("Encryption", "None")));
|
||||
} else {
|
||||
encryption = SubDataClient.Encryption.valueOf(config.get().getSection("Settings").getSection("SubData").getRawString("Encryption", "NONE").replace('-', '_').replace(' ', '_').toUpperCase());
|
||||
}
|
||||
subdata = new SubDataClient(this, config.get().getSection("Settings").getSection("SubData").getString("Name", "undefined"),
|
||||
InetAddress.getByName(config.get().getSection("Settings").getSection("SubData").getString("Address", "127.0.0.1:4391").split(":")[0]),
|
||||
Integer.parseInt(config.get().getSection("Settings").getSection("SubData").getString("Address", "127.0.0.1:4391").split(":")[1]));
|
||||
Integer.parseInt(config.get().getSection("Settings").getSection("SubData").getString("Address", "127.0.0.1:4391").split(":")[1]), encryption);
|
||||
creator = new SubCreator(this);
|
||||
|
||||
if (new UniversalFile(dir, "Templates").exists()) for (File file : new UniversalFile(dir, "Templates").listFiles()) {
|
||||
|
@ -330,11 +330,12 @@ public class SubCreator {
|
||||
// if (!new UniversalFile(dir, "plugins").exists()) new UniversalFile(dir, "mods").mkdirs();
|
||||
// Util.copyFromJar(SubPlugin.class.getClassLoader(), "net/ME1312/SubServers/Host/Library/Files/Client/sponge.jar", new UniversalFile(dir, "mods:SubServers.Client.jar").getPath());
|
||||
}
|
||||
JSONObject config = new JSONObject(Util.readAll(new FileReader(new UniversalFile(dir, "subservers.client"))));
|
||||
JSONObject config = new JSONObject();
|
||||
FileWriter writer = new FileWriter(new UniversalFile(dir, "subservers.client"), false);
|
||||
config.put("Name", name);
|
||||
config.put("Address", host.config.get().getSection("Settings").getSection("SubData").getRawString("Address"));
|
||||
config.put("Password", host.config.get().getSection("Settings").getSection("SubData").getRawString("Password"));
|
||||
config.put("Encryption", host.config.get().getSection("Settings").getSection("SubData").getRawString("Encryption", "NONE"));
|
||||
config.write(writer);
|
||||
writer.close();
|
||||
}
|
||||
|
@ -5,4 +5,5 @@ Settings:
|
||||
SubData:
|
||||
Name: 'undefined'
|
||||
Address: '127.0.0.1:4391'
|
||||
Password: ''
|
||||
Password: ''
|
||||
Encryption: 'AES'
|
354
SubServers.Host/src/net/ME1312/SubServers/Host/Network/AES.java
Normal file
354
SubServers.Host/src/net/ME1312/SubServers/Host/Network/AES.java
Normal file
@ -0,0 +1,354 @@
|
||||
package net.ME1312.SubServers.Host.Network;
|
||||
|
||||
import net.ME1312.SubServers.Host.Library.NamedContainer;
|
||||
|
||||
import javax.crypto.*;
|
||||
import javax.crypto.spec.IvParameterSpec;
|
||||
import javax.crypto.spec.PBEKeySpec;
|
||||
import javax.crypto.spec.SecretKeySpec;
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.security.InvalidAlgorithmParameterException;
|
||||
import java.security.InvalidKeyException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.security.SecureRandom;
|
||||
import java.security.spec.InvalidKeySpecException;
|
||||
import java.security.spec.InvalidParameterSpecException;
|
||||
import java.security.spec.KeySpec;
|
||||
import java.util.Arrays;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* A class to perform password-based AES encryption and decryption in CBC mode.
|
||||
* 128, 192, and 256-bit encryption are supported, provided that the latter two
|
||||
* are permitted by the Java runtime's jurisdiction policy files.
|
||||
* <br/>
|
||||
* The public interface for this class consists of the static methods
|
||||
* {@link #encrypt} and {@link #decrypt}, which encrypt and decrypt arbitrary
|
||||
* streams of data, respectively.
|
||||
*
|
||||
* @author dweymouth@gmail.com
|
||||
*/
|
||||
public class AES {
|
||||
|
||||
// AES specification
|
||||
private static final String CIPHER_SPEC = "AES/CBC/PKCS5Padding";
|
||||
|
||||
// Key derivation specification
|
||||
private static final String KEYGEN_SPEC = "PBKDF2WithHmacSHA1";
|
||||
private static final int SALT_LENGTH = 16; // in bytes
|
||||
private static final int AUTH_KEY_LENGTH = 8; // in bytes
|
||||
private static final int ITERATIONS = 32768;
|
||||
|
||||
// Process input/output streams in chunks
|
||||
private static final int BUFFER_SIZE = 1024;
|
||||
|
||||
|
||||
/**
|
||||
* @return a new pseudorandom salt of the specified length
|
||||
*/
|
||||
private static byte[] generateSalt(int length) {
|
||||
Random r = new SecureRandom();
|
||||
byte[] salt = new byte[length];
|
||||
r.nextBytes(salt);
|
||||
return salt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Derive an AES encryption key and authentication key from given password and salt,
|
||||
* using PBKDF2 key stretching. The authentication key is 64 bits long.
|
||||
* @param keyLength
|
||||
* length of the AES key in bits (128, 192, or 256)
|
||||
* @param password
|
||||
* the password from which to derive the keys
|
||||
* @param salt
|
||||
* the salt from which to derive the keys
|
||||
* @return a Keys object containing the two generated keys
|
||||
*/
|
||||
private static Keys keygen(int keyLength, char[] password, byte[] salt) {
|
||||
SecretKeyFactory factory;
|
||||
try {
|
||||
factory = SecretKeyFactory.getInstance(KEYGEN_SPEC);
|
||||
} catch (NoSuchAlgorithmException impossible) { return null; }
|
||||
// derive a longer key, then split into AES key and authentication key
|
||||
KeySpec spec = new PBEKeySpec(password, salt, ITERATIONS, keyLength + AUTH_KEY_LENGTH * 8);
|
||||
SecretKey tmp = null;
|
||||
try {
|
||||
tmp = factory.generateSecret(spec);
|
||||
} catch (InvalidKeySpecException impossible) { }
|
||||
byte[] fullKey = tmp.getEncoded();
|
||||
SecretKey authKey = new SecretKeySpec( // key for password authentication
|
||||
Arrays.copyOfRange(fullKey, 0, AUTH_KEY_LENGTH), "AES");
|
||||
SecretKey encKey = new SecretKeySpec( // key for AES encryption
|
||||
Arrays.copyOfRange(fullKey, AUTH_KEY_LENGTH, fullKey.length), "AES");
|
||||
return new Keys(encKey, authKey);
|
||||
}
|
||||
|
||||
/**
|
||||
* Encrypts a stream of data. The encrypted stream consists of a header
|
||||
* followed by the raw AES data. The header is broken down as follows:<br/>
|
||||
* <ul>
|
||||
* <li><b>keyLength</b>: AES key length in bytes (valid for 16, 24, 32) (1 byte)</li>
|
||||
* <li><b>salt</b>: pseudorandom salt used to derive keys from password (16 bytes)</li>
|
||||
* <li><b>authentication key</b> (derived from password and salt, used to
|
||||
* check validity of password upon decryption) (8 bytes)</li>
|
||||
* <li><b>IV</b>: pseudorandom AES initialization vector (16 bytes)</li>
|
||||
* </ul>
|
||||
*
|
||||
* @param keyLength
|
||||
* key length to use for AES encryption (must be 128, 192, or 256)
|
||||
* @param password
|
||||
* password to use for encryption
|
||||
* @param input
|
||||
* an arbitrary byte stream to encrypt
|
||||
* @param output
|
||||
* stream to which encrypted data will be written
|
||||
* @throws AES.InvalidKeyLengthException
|
||||
* if keyLength is not 128, 192, or 256
|
||||
* @throws AES.StrongEncryptionNotAvailableException
|
||||
* if keyLength is 192 or 256, but the Java runtime's jurisdiction
|
||||
* policy files do not allow 192- or 256-bit encryption
|
||||
* @throws IOException
|
||||
*/
|
||||
public static void encrypt(int keyLength, String password, InputStream input, OutputStream output)
|
||||
throws InvalidKeyLengthException, StrongEncryptionNotAvailableException, IOException {
|
||||
// Check validity of key length
|
||||
if (keyLength != 128 && keyLength != 192 && keyLength != 256) {
|
||||
throw new InvalidKeyLengthException(keyLength);
|
||||
}
|
||||
|
||||
// generate salt and derive keys for authentication and encryption
|
||||
byte[] salt = generateSalt(SALT_LENGTH);
|
||||
Keys keys = keygen(keyLength, password.toCharArray(), salt);
|
||||
|
||||
// initialize AES encryption
|
||||
Cipher encrypt = null;
|
||||
try {
|
||||
encrypt = Cipher.getInstance(CIPHER_SPEC);
|
||||
encrypt.init(Cipher.ENCRYPT_MODE, keys.encryption);
|
||||
} catch (NoSuchAlgorithmException | NoSuchPaddingException impossible) { }
|
||||
catch (InvalidKeyException e) { // 192 or 256-bit AES not available
|
||||
throw new StrongEncryptionNotAvailableException(keyLength);
|
||||
}
|
||||
|
||||
// get initialization vector
|
||||
byte[] iv = null;
|
||||
try {
|
||||
iv = encrypt.getParameters().getParameterSpec(IvParameterSpec.class).getIV();
|
||||
} catch (InvalidParameterSpecException impossible) { }
|
||||
|
||||
// write authentication and AES initialization data
|
||||
output.write(keyLength / 8);
|
||||
output.write(salt);
|
||||
output.write(keys.authentication.getEncoded());
|
||||
output.write(iv);
|
||||
|
||||
// read data from input into buffer, encrypt and write to output
|
||||
byte[] buffer = new byte[BUFFER_SIZE];
|
||||
int numRead;
|
||||
byte[] encrypted = null;
|
||||
while ((numRead = input.read(buffer)) > 0) {
|
||||
encrypted = encrypt.update(buffer, 0, numRead);
|
||||
if (encrypted != null) {
|
||||
output.write(encrypted);
|
||||
}
|
||||
}
|
||||
try { // finish encryption - do final block
|
||||
encrypted = encrypt.doFinal();
|
||||
} catch (IllegalBlockSizeException | BadPaddingException impossible) { }
|
||||
if (encrypted != null) {
|
||||
output.write(encrypted);
|
||||
}
|
||||
output.flush();
|
||||
}
|
||||
|
||||
/**
|
||||
* Encrypts a stream of data. The encrypted stream consists of a header
|
||||
* followed by the raw AES data. The header is broken down as follows:<br/>
|
||||
* <ul>
|
||||
* <li><b>keyLength</b>: AES key length in bytes (valid for 16, 24, 32) (1 byte)</li>
|
||||
* <li><b>salt</b>: pseudorandom salt used to derive keys from password (16 bytes)</li>
|
||||
* <li><b>authentication key</b> (derived from password and salt, used to
|
||||
* check validity of password upon decryption) (8 bytes)</li>
|
||||
* <li><b>IV</b>: pseudorandom AES initialization vector (16 bytes)</li>
|
||||
* </ul>
|
||||
*
|
||||
* @param keyLength
|
||||
* key length to use for AES encryption (must be 128, 192, or 256)
|
||||
* @param password
|
||||
* password to use for encryption
|
||||
* @param input
|
||||
* an arbitrary string to encrypt
|
||||
* @return
|
||||
* string containing the encrypted data
|
||||
* @throws AES.InvalidKeyLengthException
|
||||
* if keyLength is not 128, 192, or 256
|
||||
* @throws AES.StrongEncryptionNotAvailableException
|
||||
* if keyLength is 192 or 256, but the Java runtime's jurisdiction
|
||||
* policy files do not allow 192- or 256-bit encryption
|
||||
* @throws IOException
|
||||
*/
|
||||
public static byte[] encrypt(int keyLength, String password, String input) throws IOException, StrongEncryptionNotAvailableException, InvalidKeyLengthException {
|
||||
List<Byte> list = new LinkedList<Byte>();
|
||||
encrypt(keyLength, password, new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8)), new OutputStream() {
|
||||
@Override
|
||||
public void write(int b) throws IOException {
|
||||
list.add((byte) b);
|
||||
}
|
||||
});
|
||||
byte[] array = new byte[list.size()];
|
||||
for(int i = 0; i < list.size(); i++) array[i] = list.get(i);
|
||||
return array;
|
||||
}
|
||||
|
||||
/**
|
||||
* Decrypts a stream of data that was encrypted by {@link #encrypt}.
|
||||
* @param password
|
||||
* the password used to encrypt/decrypt the stream
|
||||
* @param input
|
||||
* stream of encrypted data to be decrypted
|
||||
* @param output
|
||||
* stream to which decrypted data will be written
|
||||
* @return the key length for the decrypted stream (128, 192, or 256)
|
||||
* @throws AES.InvalidPasswordException
|
||||
* if the given password was not used to encrypt the data
|
||||
* @throws AES.InvalidAESStreamException
|
||||
* if the given input stream is not a valid AES-encrypted stream
|
||||
* @throws AES.StrongEncryptionNotAvailableException
|
||||
* if the stream is 192 or 256-bit encrypted, and the Java runtime's
|
||||
* jurisdiction policy files do not allow for AES-192 or 256
|
||||
* @throws IOException
|
||||
*/
|
||||
public static int decrypt(String password, InputStream input, OutputStream output)
|
||||
throws InvalidPasswordException, InvalidAESStreamException, IOException,
|
||||
StrongEncryptionNotAvailableException {
|
||||
int keyLength = input.read() * 8;
|
||||
// Check validity of key length
|
||||
if (keyLength != 128 && keyLength != 192 && keyLength != 256) {
|
||||
throw new InvalidAESStreamException();
|
||||
}
|
||||
|
||||
// read salt, generate keys, and authenticate password
|
||||
byte[] salt = new byte[SALT_LENGTH];
|
||||
input.read(salt);
|
||||
Keys keys = keygen(keyLength, password.toCharArray(), salt);
|
||||
byte[] authRead = new byte[AUTH_KEY_LENGTH];
|
||||
input.read(authRead);
|
||||
if (!Arrays.equals(keys.authentication.getEncoded(), authRead)) {
|
||||
throw new InvalidPasswordException();
|
||||
}
|
||||
|
||||
// initialize AES decryption
|
||||
byte[] iv = new byte[16]; // 16-byte I.V. regardless of key size
|
||||
input.read(iv);
|
||||
Cipher decrypt = null;
|
||||
try {
|
||||
decrypt = Cipher.getInstance(CIPHER_SPEC);
|
||||
decrypt.init(Cipher.DECRYPT_MODE, keys.encryption, new IvParameterSpec(iv));
|
||||
} catch (NoSuchAlgorithmException | NoSuchPaddingException
|
||||
| InvalidAlgorithmParameterException impossible) { }
|
||||
catch (InvalidKeyException e) { // 192 or 256-bit AES not available
|
||||
throw new StrongEncryptionNotAvailableException(keyLength);
|
||||
}
|
||||
|
||||
// read data from input into buffer, decrypt and write to output
|
||||
byte[] buffer = new byte[BUFFER_SIZE];
|
||||
int numRead;
|
||||
byte[] decrypted;
|
||||
while ((numRead = input.read(buffer)) > 0) {
|
||||
decrypted = decrypt.update(buffer, 0, numRead);
|
||||
if (decrypted != null) {
|
||||
output.write(decrypted);
|
||||
}
|
||||
}
|
||||
try { // finish decryption - do final block
|
||||
decrypted = decrypt.doFinal();
|
||||
} catch (IllegalBlockSizeException | BadPaddingException e) {
|
||||
throw new InvalidAESStreamException(e);
|
||||
}
|
||||
if (decrypted != null) {
|
||||
output.write(decrypted);
|
||||
}
|
||||
|
||||
output.flush();
|
||||
return keyLength;
|
||||
}
|
||||
|
||||
/**
|
||||
* Decrypts a stream of data that was encrypted by {@link #encrypt}.
|
||||
* @param password
|
||||
* the password used to encrypt/decrypt the string
|
||||
* @param input
|
||||
* string of encrypted data to be decrypted
|
||||
* @return the key length for the decrypted string (128, 192, or 256) and the string of decrypted data
|
||||
* @throws AES.InvalidPasswordException
|
||||
* if the given password was not used to encrypt the data
|
||||
* @throws AES.InvalidAESStreamException
|
||||
* if the given input stream is not a valid AES-encrypted stream
|
||||
* @throws AES.StrongEncryptionNotAvailableException
|
||||
* if the stream is 192 or 256-bit encrypted, and the Java runtime's
|
||||
* jurisdiction policy files do not allow for AES-192 or 256
|
||||
* @throws IOException
|
||||
*/
|
||||
public static NamedContainer<Integer, String> decrypt(String password, byte[] input) throws IOException, StrongEncryptionNotAvailableException, InvalidAESStreamException, InvalidPasswordException {
|
||||
List<Byte> list = new LinkedList<Byte>();
|
||||
int keyLength = decrypt(password, new ByteArrayInputStream(input), new OutputStream() {
|
||||
@Override
|
||||
public void write(int b) throws IOException {
|
||||
list.add((byte) b);
|
||||
}
|
||||
});
|
||||
byte[] array = new byte[list.size()];
|
||||
for(int i = 0; i < list.size(); i++) array[i] = list.get(i);
|
||||
return new NamedContainer<>(keyLength, new String(array, StandardCharsets.UTF_8));
|
||||
}
|
||||
|
||||
/**
|
||||
* A tuple of encryption and authentication keys returned by {@link #keygen}
|
||||
*/
|
||||
private static class Keys {
|
||||
public final SecretKey encryption, authentication;
|
||||
public Keys(SecretKey encryption, SecretKey authentication) {
|
||||
this.encryption = encryption;
|
||||
this.authentication = authentication;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Thrown if an attempt is made to decrypt a stream with an incorrect password.
|
||||
*/
|
||||
public static class InvalidPasswordException extends Exception { }
|
||||
|
||||
/**
|
||||
* Thrown if an attempt is made to encrypt a stream with an invalid AES key length.
|
||||
*/
|
||||
public static class InvalidKeyLengthException extends Exception {
|
||||
InvalidKeyLengthException(int length) {
|
||||
super("Invalid AES key length: " + length);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Thrown if 192- or 256-bit AES encryption or decryption is attempted,
|
||||
* but not available on the particular Java platform.
|
||||
*/
|
||||
public static class StrongEncryptionNotAvailableException extends Exception {
|
||||
public StrongEncryptionNotAvailableException(int keySize) {
|
||||
super(keySize + "-bit AES encryption is not available on this Java platform.");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Thrown if an attempt is made to decrypt an invalid AES stream.
|
||||
*/
|
||||
public static class InvalidAESStreamException extends Exception {
|
||||
public InvalidAESStreamException() { super(); };
|
||||
public InvalidAESStreamException(Exception e) { super(e); }
|
||||
}
|
||||
|
||||
}
|
@ -34,9 +34,18 @@ public final class SubDataClient {
|
||||
private PrintWriter writer;
|
||||
private Socket socket;
|
||||
private String name;
|
||||
private Encryption encryption;
|
||||
private ExHost host;
|
||||
private LinkedList<PacketOut> queue;
|
||||
|
||||
public enum Encryption {
|
||||
NONE,
|
||||
AES,
|
||||
AES_128,
|
||||
AES_192,
|
||||
AES_256
|
||||
}
|
||||
|
||||
/**
|
||||
* SubServers Client Instance
|
||||
*
|
||||
@ -45,12 +54,13 @@ public final class SubDataClient {
|
||||
* @param port Port
|
||||
* @throws IOException
|
||||
*/
|
||||
public SubDataClient(ExHost host, String name, InetAddress address, int port) throws IOException {
|
||||
public SubDataClient(ExHost host, String name, InetAddress address, int port, Encryption encryption) throws IOException {
|
||||
if (Util.isNull(host, name, address, port)) throw new NullPointerException();
|
||||
socket = new Socket(address, port);
|
||||
this.host = host;
|
||||
this.name = name;
|
||||
this.writer = new PrintWriter(socket.getOutputStream(), true);
|
||||
this.encryption = encryption;
|
||||
this.queue = new LinkedList<PacketOut>();
|
||||
|
||||
if (!defaults) loadDefaults();
|
||||
@ -118,8 +128,19 @@ public final class SubDataClient {
|
||||
BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
|
||||
String input;
|
||||
while ((input = in.readLine()) != null) {
|
||||
String decoded = null;
|
||||
try {
|
||||
JSONObject json = new JSONObject(input);
|
||||
switch (getEncryption()) {
|
||||
case AES:
|
||||
case AES_128:
|
||||
case AES_192:
|
||||
case AES_256:
|
||||
decoded = AES.decrypt(host.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), Base64.getDecoder().decode(input)).get();
|
||||
break;
|
||||
default:
|
||||
decoded = input;
|
||||
}
|
||||
JSONObject json = new JSONObject(decoded);
|
||||
for (PacketIn packet : decodePacket(json)) {
|
||||
try {
|
||||
packet.execute((json.keySet().contains("c"))?json.getJSONObject("c"):null);
|
||||
@ -127,10 +148,10 @@ public final class SubDataClient {
|
||||
log.error.println(new InvocationTargetException(e, "Exception while executing PacketIn"));
|
||||
}
|
||||
}
|
||||
} catch (IllegalPacketException e) {
|
||||
log.error.println(e);
|
||||
} catch (JSONException e) {
|
||||
log.error.println(new IllegalPacketException("Unknown Packet Format: " + input));
|
||||
} catch (Exception e) {
|
||||
log.error.println(e);
|
||||
}
|
||||
}
|
||||
try {
|
||||
@ -167,6 +188,15 @@ public final class SubDataClient {
|
||||
return socket;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the Connection's Encryption method
|
||||
*
|
||||
* @return Encryption method
|
||||
*/
|
||||
public Encryption getEncryption() {
|
||||
return encryption;
|
||||
}
|
||||
|
||||
/**
|
||||
* Register PacketIn to the Network
|
||||
*
|
||||
@ -233,8 +263,21 @@ public final class SubDataClient {
|
||||
queue.add(packet);
|
||||
} else {
|
||||
try {
|
||||
writer.println(encodePacket(packet));
|
||||
} catch (IllegalPacketException e) {
|
||||
switch (getEncryption()) {
|
||||
case AES:
|
||||
case AES_128:
|
||||
writer.println(Base64.getEncoder().encodeToString(AES.encrypt(128, host.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), encodePacket(packet).toString())));
|
||||
break;
|
||||
case AES_192:
|
||||
writer.println(Base64.getEncoder().encodeToString(AES.encrypt(192, host.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), encodePacket(packet).toString())));
|
||||
break;
|
||||
case AES_256:
|
||||
writer.println(Base64.getEncoder().encodeToString(AES.encrypt(256, host.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), encodePacket(packet).toString())));
|
||||
break;
|
||||
default:
|
||||
writer.println(encodePacket(packet));
|
||||
}
|
||||
} catch (Exception e) {
|
||||
log.error.println(e);
|
||||
}
|
||||
}
|
||||
@ -254,8 +297,21 @@ public final class SubDataClient {
|
||||
try {
|
||||
JSONObject json = encodePacket(packet);
|
||||
json.put("f", location.toString());
|
||||
writer.println(json);
|
||||
} catch (IllegalPacketException e) {
|
||||
switch (getEncryption()) {
|
||||
case AES:
|
||||
case AES_128:
|
||||
writer.println(Base64.getEncoder().encodeToString(AES.encrypt(128, host.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), json.toString())));
|
||||
break;
|
||||
case AES_192:
|
||||
writer.println(Base64.getEncoder().encodeToString(AES.encrypt(192, host.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), json.toString())));
|
||||
break;
|
||||
case AES_256:
|
||||
writer.println(Base64.getEncoder().encodeToString(AES.encrypt(256, host.config.get().getSection("Settings").getSection("SubData").getRawString("Password"), json.toString())));
|
||||
break;
|
||||
default:
|
||||
writer.println(json.toString());
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
@ -326,7 +382,7 @@ public final class SubDataClient {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
host.subdata = new SubDataClient(host, name, socket.getInetAddress(), socket.getPort());
|
||||
host.subdata = new SubDataClient(host, name, socket.getInetAddress(), socket.getPort(), encryption);
|
||||
timer.cancel();
|
||||
while (queue.size() != 0) {
|
||||
host.subdata.sendPacket(queue.get(0));
|
||||
|
Loading…
Reference in New Issue
Block a user