blob: 32d17e21802341378cc2a189d7a4df7797fdb14b [file] [log] [blame]
<!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 (1.8.0_66) on Fri Jan 15 14:33:41 CET 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DHGClient (Apache Mina SSHD :: Core 1.1.0 API)</title>
<meta name="date" content="2016-01-15">
<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="DHGClient (Apache Mina SSHD :: Core 1.1.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":9,"i4":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance 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="class-use/DHGClient.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-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="../../../../../org/apache/sshd/client/kex/AbstractDHClientKeyExchange.html" title="class in org.apache.sshd.client.kex"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/sshd/client/kex/DHGEXClient.html" title="class in org.apache.sshd.client.kex"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/sshd/client/kex/DHGClient.html" target="_top">Frames</a></li>
<li><a href="DHGClient.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.sshd.client.kex</div>
<h2 title="Class DHGClient" class="title">Class DHGClient</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/sshd/common/util/logging/AbstractLoggingBean.html" title="class in org.apache.sshd.common.util.logging">org.apache.sshd.common.util.logging.AbstractLoggingBean</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html" title="class in org.apache.sshd.common.kex.dh">org.apache.sshd.common.kex.dh.AbstractDHKeyExchange</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/sshd/client/kex/AbstractDHClientKeyExchange.html" title="class in org.apache.sshd.client.kex">org.apache.sshd.client.kex.AbstractDHClientKeyExchange</a></li>
<li>
<ul class="inheritance">
<li>org.apache.sshd.client.kex.DHGClient</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../org/apache/sshd/client/session/ClientSessionHolder.html" title="interface in org.apache.sshd.client.session">ClientSessionHolder</a>, <a href="../../../../../org/apache/sshd/common/kex/KeyExchange.html" title="interface in org.apache.sshd.common.kex">KeyExchange</a>, <a href="../../../../../org/apache/sshd/common/NamedResource.html" title="interface in org.apache.sshd.common">NamedResource</a>, <a href="../../../../../org/apache/sshd/common/session/SessionHolder.html" title="interface in org.apache.sshd.common.session">SessionHolder</a>&lt;<a href="../../../../../org/apache/sshd/common/session/AbstractSession.html" title="class in org.apache.sshd.common.session">AbstractSession</a>&gt;</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">DHGClient</span>
extends <a href="../../../../../org/apache/sshd/client/kex/AbstractDHClientKeyExchange.html" title="class in org.apache.sshd.client.kex">AbstractDHClientKeyExchange</a></pre>
<div class="block">Base class for DHG key exchange algorithms.
Implementations will only have to configure the required data on the
<a href="../../../../../org/apache/sshd/common/kex/DHG.html" title="class in org.apache.sshd.common.kex"><code>DHG</code></a> class in the <a href="../../../../../org/apache/sshd/client/kex/DHGClient.html#getDH--"><code>getDH()</code></a> method.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd><a href="mailto:dev@mina.apache.org">Apache MINA SSHD Project</a></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>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.sshd.common.kex.KeyExchange">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.apache.sshd.common.kex.<a href="../../../../../org/apache/sshd/common/kex/KeyExchange.html" title="interface in org.apache.sshd.common.kex">KeyExchange</a></h3>
<code><a href="../../../../../org/apache/sshd/common/kex/KeyExchange.Utils.html" title="class in org.apache.sshd.common.kex">KeyExchange.Utils</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/kex/AbstractDH.html" title="class in org.apache.sshd.common.kex">AbstractDH</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/client/kex/DHGClient.html#dh">dh</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/kex/DHFactory.html" title="interface in org.apache.sshd.common.kex">DHFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/client/kex/DHGClient.html#factory">factory</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.client.kex.AbstractDHClientKeyExchange">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.sshd.client.kex.<a href="../../../../../org/apache/sshd/client/kex/AbstractDHClientKeyExchange.html" title="class in org.apache.sshd.client.kex">AbstractDHClientKeyExchange</a></h3>
<code><a href="../../../../../org/apache/sshd/client/kex/AbstractDHClientKeyExchange.html#serverKey">serverKey</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.common.kex.dh.AbstractDHKeyExchange">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.sshd.common.kex.dh.<a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html" title="class in org.apache.sshd.common.kex.dh">AbstractDHKeyExchange</a></h3>
<code><a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html#e">e</a>, <a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html#f">f</a>, <a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html#h">h</a>, <a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html#hash">hash</a>, <a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html#i_c">i_c</a>, <a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html#i_s">i_s</a>, <a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html#k">k</a>, <a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html#v_c">v_c</a>, <a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html#v_s">v_s</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.common.util.logging.AbstractLoggingBean">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.sshd.common.util.logging.<a href="../../../../../org/apache/sshd/common/util/logging/AbstractLoggingBean.html" title="class in org.apache.sshd.common.util.logging">AbstractLoggingBean</a></h3>
<code><a href="../../../../../org/apache/sshd/common/util/logging/AbstractLoggingBean.html#log">log</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.common.NamedResource">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.sshd.common.<a href="../../../../../org/apache/sshd/common/NamedResource.html" title="interface in org.apache.sshd.common">NamedResource</a></h3>
<code><a href="../../../../../org/apache/sshd/common/NamedResource.html#BY_NAME_COMPARATOR">BY_NAME_COMPARATOR</a>, <a href="../../../../../org/apache/sshd/common/NamedResource.html#NAME_EXTRACTOR">NAME_EXTRACTOR</a></code></li>
</ul>
</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">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/client/kex/DHGClient.html#DHGClient-org.apache.sshd.common.kex.DHFactory-">DHGClient</a></span>(<a href="../../../../../org/apache/sshd/common/kex/DHFactory.html" title="interface in org.apache.sshd.common.kex">DHFactory</a>&nbsp;factory)</code>&nbsp;</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">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</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>protected <a href="../../../../../org/apache/sshd/common/kex/AbstractDH.html" title="class in org.apache.sshd.common.kex">AbstractDH</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/client/kex/DHGClient.html#getDH--">getDH</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/client/kex/DHGClient.html#getName--">getName</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/client/kex/DHGClient.html#init-org.apache.sshd.common.session.Session-byte:A-byte:A-byte:A-byte:A-">init</a></span>(<a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a>&nbsp;s,
byte[]&nbsp;v_s,
byte[]&nbsp;v_c,
byte[]&nbsp;i_s,
byte[]&nbsp;i_c)</code>
<div class="block">Initialize the key exchange algorithm.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/sshd/common/kex/KeyExchangeFactory.html" title="interface in org.apache.sshd.common.kex">KeyExchangeFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/client/kex/DHGClient.html#newFactory-org.apache.sshd.common.kex.DHFactory-">newFactory</a></span>(<a href="../../../../../org/apache/sshd/common/kex/DHFactory.html" title="interface in org.apache.sshd.common.kex">DHFactory</a>&nbsp;delegate)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/client/kex/DHGClient.html#next-int-org.apache.sshd.common.util.buffer.Buffer-">next</a></span>(int&nbsp;cmd,
<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a>&nbsp;buffer)</code>
<div class="block">Process the next packet</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.client.kex.AbstractDHClientKeyExchange">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.sshd.client.kex.<a href="../../../../../org/apache/sshd/client/kex/AbstractDHClientKeyExchange.html" title="class in org.apache.sshd.client.kex">AbstractDHClientKeyExchange</a></h3>
<code><a href="../../../../../org/apache/sshd/client/kex/AbstractDHClientKeyExchange.html#getClientSession--">getClientSession</a>, <a href="../../../../../org/apache/sshd/client/kex/AbstractDHClientKeyExchange.html#getServerKey--">getServerKey</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.kex.dh.AbstractDHKeyExchange">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.sshd.common.kex.dh.<a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html" title="class in org.apache.sshd.common.kex.dh">AbstractDHKeyExchange</a></h3>
<code><a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html#getH--">getH</a>, <a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html#getHash--">getHash</a>, <a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html#getK--">getK</a>, <a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html#getSession--">getSession</a>, <a href="../../../../../org/apache/sshd/common/kex/dh/AbstractDHKeyExchange.html#toString--">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="factory">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>factory</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/sshd/common/kex/DHFactory.html" title="interface in org.apache.sshd.common.kex">DHFactory</a> factory</pre>
</li>
</ul>
<a name="dh">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>dh</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/sshd/common/kex/AbstractDH.html" title="class in org.apache.sshd.common.kex">AbstractDH</a> dh</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="DHGClient-org.apache.sshd.common.kex.DHFactory-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DHGClient</h4>
<pre>protected&nbsp;DHGClient(<a href="../../../../../org/apache/sshd/common/kex/DHFactory.html" title="interface in org.apache.sshd.common.kex">DHFactory</a>&nbsp;factory)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre>public final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getName()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The resource name</dd>
</dl>
</li>
</ul>
<a name="newFactory-org.apache.sshd.common.kex.DHFactory-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newFactory</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/sshd/common/kex/KeyExchangeFactory.html" title="interface in org.apache.sshd.common.kex">KeyExchangeFactory</a>&nbsp;newFactory(<a href="../../../../../org/apache/sshd/common/kex/DHFactory.html" title="interface in org.apache.sshd.common.kex">DHFactory</a>&nbsp;delegate)</pre>
</li>
</ul>
<a name="init-org.apache.sshd.common.session.Session-byte:A-byte:A-byte:A-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>public&nbsp;void&nbsp;init(<a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a>&nbsp;s,
byte[]&nbsp;v_s,
byte[]&nbsp;v_c,
byte[]&nbsp;i_s,
byte[]&nbsp;i_c)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/sshd/common/kex/KeyExchange.html#init-org.apache.sshd.common.session.Session-byte:A-byte:A-byte:A-byte:A-">KeyExchange</a></code></span></div>
<div class="block">Initialize the key exchange algorithm.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/sshd/common/kex/KeyExchange.html#init-org.apache.sshd.common.session.Session-byte:A-byte:A-byte:A-byte:A-">init</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/sshd/common/kex/KeyExchange.html" title="interface in org.apache.sshd.common.kex">KeyExchange</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/sshd/client/kex/AbstractDHClientKeyExchange.html#init-org.apache.sshd.common.session.Session-byte:A-byte:A-byte:A-byte:A-">init</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/sshd/client/kex/AbstractDHClientKeyExchange.html" title="class in org.apache.sshd.client.kex">AbstractDHClientKeyExchange</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>s</code> - the session using this algorithm</dd>
<dd><code>v_s</code> - the server identification string</dd>
<dd><code>v_c</code> - the client identification string</dd>
<dd><code>i_s</code> - the server key init packet</dd>
<dd><code>i_c</code> - the client key init packet</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - if an error occurs</dd>
</dl>
</li>
</ul>
<a name="getDH--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDH</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/sshd/common/kex/AbstractDH.html" title="class in org.apache.sshd.common.kex">AbstractDH</a>&nbsp;getDH()
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="next-int-org.apache.sshd.common.util.buffer.Buffer-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>next</h4>
<pre>public&nbsp;boolean&nbsp;next(int&nbsp;cmd,
<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a>&nbsp;buffer)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/sshd/common/kex/KeyExchange.html#next-int-org.apache.sshd.common.util.buffer.Buffer-">KeyExchange</a></code></span></div>
<div class="block">Process the next packet</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cmd</code> - the command</dd>
<dd><code>buffer</code> - the packet contents positioned after the command</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a boolean indicating if the processing is complete or if more packets are to be received</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - if an error occurs</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="class-use/DHGClient.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-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="../../../../../org/apache/sshd/client/kex/AbstractDHClientKeyExchange.html" title="class in org.apache.sshd.client.kex"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/sshd/client/kex/DHGEXClient.html" title="class in org.apache.sshd.client.kex"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/sshd/client/kex/DHGClient.html" target="_top">Frames</a></li>
<li><a href="DHGClient.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>