com.maverick.sshd.components.standalone
Class StandaloneServerComponentManager
java.lang.Object
com.maverick.sshd.components.ServerComponentManager
com.maverick.sshd.components.standalone.StandaloneServerComponentManager
public class StandaloneServerComponentManager
- extends ServerComponentManager
Standalone component manager provides a
ServerComponentManager implementation
that uses the internal cryptographic provider.
- Author:
- Lee David Painter
|
Method Summary |
com.maverick.ssh.components.SshDsaPrivateKey |
createDsaPrivateKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger x,
BigInteger y)
|
com.maverick.ssh.components.SshDsaPublicKey |
createDsaPublicKey()
|
com.maverick.ssh.components.SshDsaPublicKey |
createDsaPublicKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger y)
|
com.maverick.ssh.components.SshRsaPrivateCrtKey |
createRsaPrivateCrtKey(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger crtCoefficient)
|
com.maverick.ssh.components.SshRsaPrivateCrtKey |
createRsaPrivateCrtKey(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger primeExponentP,
BigInteger primeExponentQ,
BigInteger crtCoefficient)
|
com.maverick.ssh.components.SshRsaPrivateKey |
createRsaPrivateKey(BigInteger modulus,
BigInteger privateExponent)
|
com.maverick.ssh.components.SshRsaPublicKey |
createRsaPublicKey(BigInteger modulus,
BigInteger publicExponent,
int version)
|
com.maverick.ssh.components.SshRsaPublicKey |
createSsh2RsaPublicKey()
|
com.maverick.ssh.components.SshKeyPair |
generateDsaKeyPair(int bits)
|
com.maverick.ssh.components.SshKeyPair |
generateRsaKeyPair(int bits)
|
com.maverick.ssh.components.SshSecureRandomGenerator |
getRND()
|
protected void |
initializeDigestFactory(com.maverick.ssh.components.ComponentFactory digests)
|
void |
initializeHmacFactory(com.maverick.ssh.components.ComponentFactory hmacs)
|
protected void |
initializeKeyExchangeFactory(com.maverick.ssh.components.ComponentFactory keyexchange)
|
void |
initializePublicKeyFactory(com.maverick.ssh.components.ComponentFactory publickeys)
|
void |
initializeSsh2CipherFactory(com.maverick.ssh.components.ComponentFactory ciphers)
|
void |
loadKeystore(File keystoreFile,
String alias,
String storePassphrase,
String keyPassphrase,
SshContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandaloneServerComponentManager
public StandaloneServerComponentManager()
getRND
public com.maverick.ssh.components.SshSecureRandomGenerator getRND()
- Specified by:
getRND in class ServerComponentManager
createDsaPublicKey
public com.maverick.ssh.components.SshDsaPublicKey createDsaPublicKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger y)
- Specified by:
createDsaPublicKey in class ServerComponentManager
createDsaPublicKey
public com.maverick.ssh.components.SshDsaPublicKey createDsaPublicKey()
- Specified by:
createDsaPublicKey in class ServerComponentManager
createRsaPublicKey
public com.maverick.ssh.components.SshRsaPublicKey createRsaPublicKey(BigInteger modulus,
BigInteger publicExponent,
int version)
- Specified by:
createRsaPublicKey in class ServerComponentManager
createSsh2RsaPublicKey
public com.maverick.ssh.components.SshRsaPublicKey createSsh2RsaPublicKey()
throws com.maverick.ssh.SshException
- Specified by:
createSsh2RsaPublicKey in class ServerComponentManager
- Throws:
com.maverick.ssh.SshException
initializeSsh2CipherFactory
public void initializeSsh2CipherFactory(com.maverick.ssh.components.ComponentFactory ciphers)
- Specified by:
initializeSsh2CipherFactory in class ServerComponentManager
initializeHmacFactory
public void initializeHmacFactory(com.maverick.ssh.components.ComponentFactory hmacs)
- Specified by:
initializeHmacFactory in class ServerComponentManager
initializePublicKeyFactory
public void initializePublicKeyFactory(com.maverick.ssh.components.ComponentFactory publickeys)
- Specified by:
initializePublicKeyFactory in class ServerComponentManager
initializeKeyExchangeFactory
protected void initializeKeyExchangeFactory(com.maverick.ssh.components.ComponentFactory keyexchange)
- Specified by:
initializeKeyExchangeFactory in class ServerComponentManager
createDsaPrivateKey
public com.maverick.ssh.components.SshDsaPrivateKey createDsaPrivateKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger x,
BigInteger y)
- Specified by:
createDsaPrivateKey in class ServerComponentManager
createRsaPrivateCrtKey
public com.maverick.ssh.components.SshRsaPrivateCrtKey createRsaPrivateCrtKey(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger crtCoefficient)
- Specified by:
createRsaPrivateCrtKey in class ServerComponentManager
createRsaPrivateCrtKey
public com.maverick.ssh.components.SshRsaPrivateCrtKey createRsaPrivateCrtKey(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger primeExponentP,
BigInteger primeExponentQ,
BigInteger crtCoefficient)
- Specified by:
createRsaPrivateCrtKey in class ServerComponentManager
createRsaPrivateKey
public com.maverick.ssh.components.SshRsaPrivateKey createRsaPrivateKey(BigInteger modulus,
BigInteger privateExponent)
- Specified by:
createRsaPrivateKey in class ServerComponentManager
generateDsaKeyPair
public com.maverick.ssh.components.SshKeyPair generateDsaKeyPair(int bits)
- Specified by:
generateDsaKeyPair in class ServerComponentManager
generateRsaKeyPair
public com.maverick.ssh.components.SshKeyPair generateRsaKeyPair(int bits)
- Specified by:
generateRsaKeyPair in class ServerComponentManager
initializeDigestFactory
protected void initializeDigestFactory(com.maverick.ssh.components.ComponentFactory digests)
- Specified by:
initializeDigestFactory in class ServerComponentManager
loadKeystore
public void loadKeystore(File keystoreFile,
String alias,
String storePassphrase,
String keyPassphrase,
SshContext context)
throws IOException
- Specified by:
loadKeystore in class ServerComponentManager
- Throws:
IOException
Copyright © 2012. All Rights Reserved.