Uses of Class
com.maverick.ssh.SshException

Packages that use SshException
com.maverick.ssh This package contains a set of general interface contracts for SSH communication that provide the core set of functionality available in both the SSH1 and SSH2 protocol specifications. 
com.maverick.ssh.components This package contains an abstract cryptographic provider for the SSH protocol. 
com.maverick.ssh.components.jce This package contains a set of algoritm implementations that enable the Maverick API to use a Java Cryptography Extension provider. 
com.maverick.ssh.components.standalone This package contains a set of algoritm implementations that use an internal cryptographic provider. 
com.maverick.sshd This package contains the base implementation of the SSH server. 
com.maverick.sshd.components This package contains the specific server components required by the Maverick SSHD server. 
com.maverick.sshd.components.jce This package contains a set of algoritm implementations that enable the Maverick SSHD to use a Java Cryptography Extension provider. 
com.maverick.sshd.components.standalone This package contains a set of algoritm implementations that enable the Maverick SSHD to use the internal cryptographic provider. 
com.sshtools.publickey This package contains utility classes for loading/storing public/private keys and is based on the SSHTools key format architecture. 
 

Uses of SshException in com.maverick.ssh
 

Methods in com.maverick.ssh that return SshException
 SshException SshIOException.getRealException()
          Get the real exception
 

Methods in com.maverick.ssh that throw SshException
static java.lang.String SshKeyFingerprint.getFingerprint(byte[] encoded)
          Generate an SSH key fingerprint as defined in draft-ietf-secsh-fingerprint-00.txt.
static java.lang.String SshKeyFingerprint.getFingerprint(byte[] encoded, java.lang.String algorithm)
          Generate an SSH key fingerprint with a specific algorithm.
 

Constructors in com.maverick.ssh with parameters of type SshException
SshIOException(SshException realEx)
          Construct the exception with the real exception.
 

Uses of SshException in com.maverick.ssh.components
 

Methods in com.maverick.ssh.components that throw SshException
 java.lang.String ComponentFactory.changePositionofAlgorithm(java.lang.String name, int position)
           
abstract  SshDsaPrivateKey ComponentManager.createDsaPrivateKey(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger x, java.math.BigInteger y)
          Create an instance of a DSA private key.
abstract  SshDsaPublicKey ComponentManager.createDsaPublicKey(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger y)
          Create an instance of a DSA public key.
 java.lang.String ComponentFactory.createNewOrdering(int[] ordering)
           
abstract  SshRsaPrivateCrtKey ComponentManager.createRsaPrivateCrtKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger crtCoefficient)
          Create an instance of an RSA co-effecient private key.
abstract  SshRsaPrivateCrtKey ComponentManager.createRsaPrivateCrtKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger primeExponentP, java.math.BigInteger primeExponentQ, java.math.BigInteger crtCoefficient)
          Create an instance of an RSA co-efficent private key.
abstract  SshRsaPrivateKey ComponentManager.createRsaPrivateKey(java.math.BigInteger modulus, java.math.BigInteger privateExponent)
          Create an instance of an RSA private key.
abstract  SshRsaPublicKey ComponentManager.createRsaPublicKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, int version)
          Create an instance of an RSA public key.
abstract  SshRsaPublicKey ComponentManager.createSsh2RsaPublicKey()
          Create an instance of an SSH2 RSA public key.
 java.math.BigInteger SshRsaPrivateCrtKey.doPrivate(java.math.BigInteger input)
           
 java.math.BigInteger SshRsaPublicKey.doPublic(java.math.BigInteger input)
           
abstract  SshKeyPair ComponentManager.generateDsaKeyPair(int bits)
          Generate a new DSA public/private key pair.
abstract  SshKeyPair ComponentManager.generateRsaKeyPair(int bits, int version)
          Generate an RSA public/private pair.
 byte[] SshPublicKey.getEncoded()
          Encode the public key into a blob of binary data, the encoded result will be passed into init to recreate the key.
 java.lang.String SshPublicKey.getFingerprint()
          Return an SSH fingerprint of the public key
 java.lang.Object ComponentFactory.getInstance(java.lang.String name)
          Get a new instance of a supported component.
abstract  SshSecureRandomGenerator ComponentManager.getRND()
          Get the secure random number generator.
protected  void ComponentManager.init()
           
 void SshHmac.init(byte[] keydata)
           
 void SshPublicKey.init(byte[] blob, int start, int len)
          Initialize the public key from a blob of binary data.
 void SshSecureRandomGenerator.nextBytes(byte[] bytes, int off, int len)
           
 boolean SshPublicKey.verifySignature(byte[] signature, byte[] data)
          Verify the signature.
 

Uses of SshException in com.maverick.ssh.components.jce
 

Methods in com.maverick.ssh.components.jce that throw SshException
 SshDsaPrivateKey JCEComponentManager.createDsaPrivateKey(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger x, java.math.BigInteger y)
           
 SshDsaPublicKey JCEComponentManager.createDsaPublicKey(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger y)
           
 SshRsaPrivateCrtKey JCEComponentManager.createRsaPrivateCrtKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger crtCoefficient)
           
 SshRsaPrivateCrtKey JCEComponentManager.createRsaPrivateCrtKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger primeExponentP, java.math.BigInteger primeExponentQ, java.math.BigInteger crtCoefficient)
           
 SshRsaPrivateKey JCEComponentManager.createRsaPrivateKey(java.math.BigInteger modulus, java.math.BigInteger privateExponent)
           
 SshRsaPublicKey JCEComponentManager.createRsaPublicKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, int version)
           
 SshRsaPublicKey JCEComponentManager.createSsh2RsaPublicKey()
           
 java.math.BigInteger Ssh2RsaPrivateCrtKey.doPrivate(java.math.BigInteger input)
           
 java.math.BigInteger Ssh2RsaPublicKey.doPublic(java.math.BigInteger input)
           
 SshKeyPair JCEComponentManager.generateDsaKeyPair(int bits)
           
 SshKeyPair JCEComponentManager.generateRsaKeyPair(int bits, int version)
           
 byte[] Ssh2DsaPublicKey.getEncoded()
          Encode the public key into a blob of binary data, the encoded result will be passed into init to recreate the key.
 byte[] Ssh2RsaPublicKey.getEncoded()
           
 byte[] Ssh1RsaPublicKey.getEncoded()
          Get the encoded format required by SSH1
 byte[] SshX509RsaSha1PublicKey.getEncoded()
          Encode the public key into a blob of binary data, the encoded result will be passed into init to recreate the key.
 byte[] SshX509DsaPublicKey.getEncoded()
          Encode the public key into a blob of binary data, the encoded result will be passed into init to recreate the key.
 byte[] SshX509RsaPublicKey.getEncoded()
          Encode the public key into a blob of binary data, the encoded result will be passed into init to recreate the key.
 java.lang.String Ssh2DsaPublicKey.getFingerprint()
           
 java.lang.String Ssh2RsaPublicKey.getFingerprint()
           
 SshSecureRandomGenerator JCEComponentManager.getRND()
           
 void HmacSha196.init(byte[] keydata)
           
 void HmacSha256.init(byte[] keydata)
           
 void HmacSha1.init(byte[] keydata)
           
 void HmacSha512.init(byte[] keydata)
           
 void AbstractHmac.init(byte[] keydata)
           
 void Ssh2DsaPublicKey.init(byte[] blob, int start, int len)
          Initialize the public key from a blob of binary data.
 void Ssh2RsaPublicKey.init(byte[] blob, int start, int len)
           
 void SshX509RsaSha1PublicKey.init(byte[] blob, int start, int len)
          Initialize the public key from a blob of binary data.
 void SshX509DsaPublicKey.init(byte[] blob, int start, int len)
          Initialize the public key from a blob of binary data.
 void SshX509RsaPublicKey.init(byte[] blob, int start, int len)
          Initialize the public key from a blob of binary data.
 void SecureRND.nextBytes(byte[] bytes, int off, int len)
           
 boolean Ssh2DsaPublicKey.verifySignature(byte[] signature, byte[] data)
          Verify the signature.
 boolean Ssh2RsaPublicKey.verifySignature(byte[] signature, byte[] data)
           
 

Constructors in com.maverick.ssh.components.jce that throw SshException
Ssh2DsaPrivateKey(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger x, java.math.BigInteger y)
           
 

Uses of SshException in com.maverick.ssh.components.standalone
 

Methods in com.maverick.ssh.components.standalone that throw SshException
 SshRsaPublicKey StandaloneComponentManager.createSsh2RsaPublicKey()
           
 byte[] Ssh2DsaPublicKey.getEncoded()
          Returns the key encoded into a byte array as defined in the SSH Transport Protocol.
 byte[] Ssh2RsaPublicKey.getEncoded()
           
 byte[] Ssh1RsaPublicKey.getEncoded()
          Get the encoded format required by SSH1
 java.lang.String Ssh2DsaPublicKey.getFingerprint()
           
 java.lang.String Ssh2RsaPublicKey.getFingerprint()
           
 java.lang.String Ssh1RsaPublicKey.getFingerprint()
           
 void SHA1HMac96.init(byte[] keydata)
           
 void SHA1HMac.init(byte[] keydata)
           
 void AbstractHmac.init(byte[] keydata)
          Initialize the MAC
 void Ssh2DsaPublicKey.init(byte[] blob, int start, int len)
          Initialize the public key from an SSH2 key blob
 void Ssh2RsaPublicKey.init(byte[] blob, int start, int len)
           
 

Uses of SshException in com.maverick.sshd
 

Methods in com.maverick.sshd that throw SshException
static SshKeyPair SshContext.GenerateKeyFiles(java.io.File keyFilename, java.lang.String type, int bitlength, int privateKeyFormat, int publicKeyFormat)
          Generate a public and private key pair, save them to keyFilename and keyFilename.pub, return the key pair
 void SshContext.loadHostKey(java.io.InputStream in, java.lang.String type, int bitlength)
           
 void SshContext.loadHostKey(java.io.InputStream in, java.lang.String type, int bitlength, int privateKeyFormat, int publicKeyFormat, java.lang.String passPhrase)
           
 void SshContext.loadHostKey(java.io.InputStream in, java.lang.String type, int bitlength, java.lang.String passPhrase)
           
 void SshContext.loadOrGenerateHostKey(java.io.File key, java.lang.String type, int bitlength)
          Load a host key from file, if the file does not exist then generate the key.
 void SshContext.loadOrGenerateHostKey(java.io.File key, java.lang.String type, int bitlength, int privateKeyFormat, int publicKeyFormat, java.lang.String passPhrase)
          Load a host key from file, if the file does not exist then generate the key.
 void SshContext.loadOrGenerateHostKey(java.io.File key, java.lang.String type, int bitlength, java.lang.String passPhrase)
           
 void SshContext.setCipherPreferredPositionCS(java.lang.String name, int position)
           
 void SshContext.setCipherPreferredPositionSC(java.lang.String name, int position)
           
 void SshContext.setKeyExchangePreferredPosition(java.lang.String name, int position)
           
 void SshContext.setMacPreferredPositionCS(java.lang.String name, int position)
           
 void SshContext.setMacPreferredPositionSC(java.lang.String name, int position)
           
 void SshContext.setPreferredCipherCS(int[] order)
          Set the preferred SC cipher order
 void SshContext.setPreferredCipherCS(java.lang.String name)
           Set the preferred cipher for the Client->Server stream.
 void SshContext.setPreferredCipherSC(int[] order)
          Set the preferred SC cipher order
 void SshContext.setPreferredCipherSC(java.lang.String name)
           Set the preferred cipher for the Server->Client stream.
 void SshContext.setPreferredKeyExchange(java.lang.String name)
           Set the preferred key exchange method.
 void SshContext.setPreferredMacCS(int[] order)
          Set the preferred CS Mac order
 void SshContext.setPreferredMacCS(java.lang.String name)
           Set the preferred MAC for the Client->Server stream.
 void SshContext.setPreferredMacSC(int[] order)
          Set the preferred SC Mac order
 void SshContext.setPreferredMacSC(java.lang.String name)
           Set the preferred mac for the Server->Client stream.
 void SshContext.setPreferredPublicKey(java.lang.String name)
           Set the preferred public key algorithm.
 void SshContext.setPublicKeyPreferredPosition(java.lang.String name, int position)
           
 

Uses of SshException in com.maverick.sshd.components
 

Methods in com.maverick.sshd.components that throw SshException
abstract  SshDsaPrivateKey ServerComponentManager.createDsaPrivateKey(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger x, java.math.BigInteger y)
          Create a DSA private key from DSA parameters.
abstract  SshDsaPublicKey ServerComponentManager.createDsaPublicKey(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger y)
          Create an instance of an DSA public key.
abstract  SshRsaPrivateCrtKey ServerComponentManager.createRsaPrivateCrtKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger crtCoefficient)
          Create a RSA co-efficient key from RSA parameters.
abstract  SshRsaPrivateCrtKey ServerComponentManager.createRsaPrivateCrtKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger primeExponentP, java.math.BigInteger primeExponentQ, java.math.BigInteger crtCoefficient)
          Create an RSA co-efficient key from RSA parameters.
abstract  SshRsaPrivateKey ServerComponentManager.createRsaPrivateKey(java.math.BigInteger modulus, java.math.BigInteger privateExponent)
          Create an RSA private key from RSA parameters
abstract  SshRsaPublicKey ServerComponentManager.createRsaPublicKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, int version)
          Create an instance of an RSA public key from RSA parameters.
abstract  SshRsaPublicKey ServerComponentManager.createSsh2RsaPublicKey()
          Create an uninitialized instance of an RSA public key
abstract  SshKeyPair ServerComponentManager.generateDsaKeyPair(int bits)
          Generate a DSA key pair.
abstract  SshKeyPair ServerComponentManager.generateRsaKeyPair(int bits)
          Generate an RSA key pair.
abstract  SshSecureRandomGenerator ServerComponentManager.getRND()
          Get the secure number generator implementation.
protected  void ServerComponentManager.init()
           
abstract  boolean SshKeyExchangeServer.processMessage(byte[] msg)
          Process a key exchange message
 

Uses of SshException in com.maverick.sshd.components.jce
 

Methods in com.maverick.sshd.components.jce that throw SshException
protected  void DiffieHellmanGroupExchangeSha1JCE.calculateExchangeHash()
          Calculates the exchange hash as an SHA1 hash of the following data.
protected  void DiffieHellmanGroup1Sha1JCE.calculateExchangeHash()
          Calculates the exchange hash as an SHA1 hash of the following data.
protected  void DiffieHellmanGroup14Sha1JCE.calculateExchangeHash()
          Calculates the exchange hash as an SHA1 hash of the following data.
 SshDsaPrivateKey JCEServerComponentManager.createDsaPrivateKey(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger x, java.math.BigInteger y)
           
 SshDsaPublicKey JCEServerComponentManager.createDsaPublicKey(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger y)
           
 SshRsaPrivateCrtKey JCEServerComponentManager.createRsaPrivateCrtKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger crtCoefficient)
           
 SshRsaPrivateCrtKey JCEServerComponentManager.createRsaPrivateCrtKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger primeExponentP, java.math.BigInteger primeExponentQ, java.math.BigInteger crtCoefficient)
           
 SshRsaPrivateKey JCEServerComponentManager.createRsaPrivateKey(java.math.BigInteger modulus, java.math.BigInteger privateExponent)
           
 SshRsaPublicKey JCEServerComponentManager.createRsaPublicKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, int version)
           
 SshRsaPublicKey JCEServerComponentManager.createSsh2RsaPublicKey()
           
 boolean DiffieHellmanGroupExchangeSha1JCE.exchangeGroup(byte[] msg)
           
 SshKeyPair JCEServerComponentManager.generateDsaKeyPair(int bits)
           
 SshKeyPair JCEServerComponentManager.generateRsaKeyPair(int bits)
           
 SshSecureRandomGenerator JCEServerComponentManager.getRND()
           
 boolean DiffieHellmanGroupExchangeSha1JCE.processMessage(byte[] msg)
           
 boolean DiffieHellmanGroup1Sha1JCE.processMessage(byte[] msg)
           
 boolean DiffieHellmanGroup14Sha1JCE.processMessage(byte[] msg)
           
 

Uses of SshException in com.maverick.sshd.components.standalone
 

Methods in com.maverick.sshd.components.standalone that throw SshException
protected  void DiffieHellmanGroup14Sha1Server.calculateExchangeHash()
          Calculates the exchange hash as an SHA1 hash of the following data.
protected  void DiffieHellmanGroup1Sha1Server.calculateExchangeHash()
          Calculates the exchange hash as an SHA1 hash of the following data.
protected  void DiffieHellmanGroupExchangeSha1Server.calculateExchangeHash()
          Calculates the exchange hash as an SHA1 hash of the following data.
 SshRsaPublicKey StandaloneServerComponentManager.createSsh2RsaPublicKey()
           
 boolean DiffieHellmanGroupExchangeSha1Server.exchangeGroup(byte[] msg)
           
 boolean DiffieHellmanGroup14Sha1Server.processMessage(byte[] msg)
           
 boolean DiffieHellmanGroup1Sha1Server.processMessage(byte[] msg)
           
 boolean DiffieHellmanGroupExchangeSha1Server.processMessage(byte[] msg)
           
 

Uses of SshException in com.sshtools.publickey
 

Methods in com.sshtools.publickey that throw SshException
static SshKeyPair SshKeyPairGenerator.generateKeyPair(java.lang.String algorithm, int bits)
          Generates a new key pair.
 



Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.