|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.sshtools.j2ssh.transport.cipher.SshCipherFactory
Creates instances of all available ciphers. All the standard ciphers described within the SSH transport protocol are reserved for implementation by sshtools.com. Additional ciphers can be implemented by using the SshCipher interface and adding a CipherAlgorithm element into the CipherConfiguraton element of the SSH API configuraiton file ssh.xml.
All additional cipher names are required to follow the name@domain syntax as described in the SSH transport protocol. The factory will not register cipher names that do not follow the extensibility rules.
If a standard cipher is not currently available then email the sshtools development team or alternatvly implement it and send it to us! we will include your source and credit you.
Field Summary | |
static java.lang.String |
CIPHER_3DES
The standard TripleDes cipher |
Constructor Summary | |
protected |
SshCipherFactory()
Constructor for the SshCipherFactory object |
Method Summary | |
static java.lang.String |
getDefaultCipher()
Returns the configurations default cipher. |
static java.util.List |
getSupportedCiphers()
Returns the list of supported ciphers. |
static SshCipher |
newInstance(java.lang.String algorithmName)
Creates a new instance of the algorithm. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String CIPHER_3DES
Constructor Detail |
protected SshCipherFactory()
Method Detail |
public static java.lang.String getDefaultCipher()
Returns the configurations default cipher.
public static java.util.List getSupportedCiphers()
Returns the list of supported ciphers.
public static SshCipher newInstance(java.lang.String algorithmName) throws AlgorithmNotSupportedException
Creates a new instance of the algorithm.
algorithmName
- The name of the algorithm to
create
AlgorithmNotSupportedException
- Thrown if the algorithm is not
supported
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |