com.maverick.ssh2.gss
Class Gss_group1_sha1_KeyExchange
java.lang.Object
com.maverick.ssh.SshKeyExchangeClient
com.maverick.ssh2.gss.Gss_group1_sha1_KeyExchange
- All Implemented Interfaces:
- SshComponent, SshKeyExchange
public class Gss_group1_sha1_KeyExchange
- extends SshKeyExchangeClient
Implementation of the SSH Transport Protocol key exchange method
"gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==".
- Author:
- David Hodgins.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gss_group1_sha1_KeyEx
public static final String gss_group1_sha1_KeyEx
- Constant for the algorithm name "gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==".
- See Also:
- Constant Field Values
Gss_group1_sha1_KeyExchange
public Gss_group1_sha1_KeyExchange()
- Contruct an uninitialized instance.
getLoginContext
public LoginContext getLoginContext()
isKeyExchangeMessage
public boolean isKeyExchangeMessage(int messageid)
- Specified by:
isKeyExchangeMessage in class SshKeyExchangeClient
getName
public String getName()
- Get the algorithm name for this key exchange
- Specified by:
getName in interface SshComponent- Specified by:
getName in class SshKeyExchangeClient
- Returns:
- "gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g=="
performClientExchange
public void performClientExchange(String clientId,
String serverId,
byte[] clientKexInit,
byte[] serverKexInit)
throws SshException
- Specified by:
performClientExchange in class SshKeyExchangeClient
- Throws:
SshException
getGSSContext
public GSSContext getGSSContext()
Copyright © 2012. All Rights Reserved.