tikhomirov@696: Copyright (c) 2007-2008 Trilead AG (http://www.trilead.com) tikhomirov@696: tikhomirov@696: All rights reserved. tikhomirov@696: tikhomirov@696: Redistribution and use in source and binary forms, with or without tikhomirov@696: modification, are permitted provided that the following conditions tikhomirov@696: are met: tikhomirov@696: tikhomirov@696: a.) Redistributions of source code must retain the above copyright tikhomirov@696: notice, this list of conditions and the following disclaimer. tikhomirov@696: b.) Redistributions in binary form must reproduce the above copyright tikhomirov@696: notice, this list of conditions and the following disclaimer in the tikhomirov@696: documentation and/or other materials provided with the distribution. tikhomirov@696: c.) Neither the name of Trilead nor the names of its contributors may tikhomirov@696: be used to endorse or promote products derived from this software tikhomirov@696: without specific prior written permission. tikhomirov@696: tikhomirov@696: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" tikhomirov@696: AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE tikhomirov@696: IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE tikhomirov@696: ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE tikhomirov@696: LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR tikhomirov@696: CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF tikhomirov@696: SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS tikhomirov@696: INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN tikhomirov@696: CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) tikhomirov@696: ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE tikhomirov@696: POSSIBILITY OF SUCH DAMAGE. tikhomirov@696: tikhomirov@696: Trilead SSH-2 for Java includes code that was written by Dr. Christian Plattner tikhomirov@696: during his PhD at ETH Zurich. The license states the following: tikhomirov@696: tikhomirov@696: Copyright (c) 2005 - 2006 Swiss Federal Institute of Technology (ETH Zurich), tikhomirov@696: Department of Computer Science (http://www.inf.ethz.ch), tikhomirov@696: Christian Plattner. All rights reserved. tikhomirov@696: tikhomirov@696: Redistribution and use in source and binary forms, with or without tikhomirov@696: modification, are permitted provided that the following conditions tikhomirov@696: are met: tikhomirov@696: tikhomirov@696: a.) Redistributions of source code must retain the above copyright tikhomirov@696: notice, this list of conditions and the following disclaimer. tikhomirov@696: b.) Redistributions in binary form must reproduce the above copyright tikhomirov@696: notice, this list of conditions and the following disclaimer in the tikhomirov@696: documentation and/or other materials provided with the distribution. tikhomirov@696: c.) Neither the name of ETH Zurich nor the names of its contributors may tikhomirov@696: be used to endorse or promote products derived from this software tikhomirov@696: without specific prior written permission. tikhomirov@696: tikhomirov@696: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" tikhomirov@696: AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE tikhomirov@696: IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE tikhomirov@696: ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE tikhomirov@696: LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR tikhomirov@696: CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF tikhomirov@696: SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS tikhomirov@696: INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN tikhomirov@696: CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) tikhomirov@696: ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE tikhomirov@696: POSSIBILITY OF SUCH DAMAGE. tikhomirov@696: tikhomirov@696: The Java implementations of the AES, Blowfish and 3DES ciphers have been tikhomirov@696: taken (and slightly modified) from the cryptography package released by tikhomirov@696: "The Legion Of The Bouncy Castle". tikhomirov@696: tikhomirov@696: Their license states the following: tikhomirov@696: tikhomirov@696: Copyright (c) 2000 - 2004 The Legion Of The Bouncy Castle tikhomirov@696: (http://www.bouncycastle.org) tikhomirov@696: tikhomirov@696: Permission is hereby granted, free of charge, to any person obtaining a copy tikhomirov@696: of this software and associated documentation files (the "Software"), to deal tikhomirov@696: in the Software without restriction, including without limitation the rights tikhomirov@696: to use, copy, modify, merge, publish, distribute, sublicense, and/or sell tikhomirov@696: copies of the Software, and to permit persons to whom the Software is tikhomirov@696: furnished to do so, subject to the following conditions: tikhomirov@696: tikhomirov@696: The above copyright notice and this permission notice shall be included in tikhomirov@696: all copies or substantial portions of the Software. tikhomirov@696: tikhomirov@696: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR tikhomirov@696: IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, tikhomirov@696: FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE tikhomirov@696: AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER tikhomirov@696: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, tikhomirov@696: OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN tikhomirov@696: THE SOFTWARE. tikhomirov@696: