Package com.trilead.ssh2.crypto.cipher
Class BlockCipherFactory
java.lang.Object
com.trilead.ssh2.crypto.cipher.BlockCipherFactory
BlockCipherFactory.
- Version:
- $Id: BlockCipherFactory.java,v 1.2 2008/04/01 12:38:09 cplattne Exp $
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkCipherList
(String[] cipherCandidates) static BlockCipher
createCipher
(String type, boolean encrypt, byte[] key, byte[] iv) static int
getBlockSize
(String type) static String[]
private static BlockCipherFactory.CipherEntry
static int
getKeySize
(String type)
-
Field Details
-
ciphers
-
-
Constructor Details
-
BlockCipherFactory
public BlockCipherFactory()
-
-
Method Details
-
getDefaultCipherList
-
checkCipherList
-
createCipher
-
getEntry
-
getBlockSize
-
getKeySize
-