com.maverick.ssh2.gss
Class Gss_group1_sha1_KeyExchange

java.lang.Object
  extended by com.maverick.ssh.SshKeyExchangeClient
      extended by 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.

Field Summary
static java.lang.String gss_group1_sha1_KeyEx
          Constant for the algorithm name "gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==".
 
Fields inherited from class com.maverick.ssh.SshKeyExchangeClient
exchangeHash, hostKey, secret, signature, transport
 
Constructor Summary
Gss_group1_sha1_KeyExchange()
          Contruct an uninitialized instance.
 
Method Summary
 org.ietf.jgss.GSSContext getGSSContext()
           
 javax.security.auth.login.LoginContext getLoginContext()
           
 java.lang.String getName()
          Get the algorithm name for this key exchange
 boolean isKeyExchangeMessage(int messageid)
           
 void performClientExchange(java.lang.String clientId, java.lang.String serverId, byte[] clientKexInit, byte[] serverKexInit)
           
 
Methods inherited from class com.maverick.ssh.SshKeyExchangeClient
getExchangeHash, getHostKey, getSecret, getSignature, init, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gss_group1_sha1_KeyEx

public static final java.lang.String gss_group1_sha1_KeyEx
Constant for the algorithm name "gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==".

See Also:
Constant Field Values
Constructor Detail

Gss_group1_sha1_KeyExchange

public Gss_group1_sha1_KeyExchange()
Contruct an uninitialized instance.

Method Detail

getLoginContext

public javax.security.auth.login.LoginContext getLoginContext()

isKeyExchangeMessage

public boolean isKeyExchangeMessage(int messageid)
Specified by:
isKeyExchangeMessage in class SshKeyExchangeClient

getName

public java.lang.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(java.lang.String clientId,
                                  java.lang.String serverId,
                                  byte[] clientKexInit,
                                  byte[] serverKexInit)
                           throws SshException
Specified by:
performClientExchange in class SshKeyExchangeClient
Throws:
SshException

getGSSContext

public org.ietf.jgss.GSSContext getGSSContext()


Copyright © 2012. All Rights Reserved.