Package com.trilead.ssh2.crypto.cipher
Class BlockCipherFactory
- java.lang.Object
-
- com.trilead.ssh2.crypto.cipher.BlockCipherFactory
-
public class BlockCipherFactory extends Object
BlockCipherFactory.- Version:
- $Id: BlockCipherFactory.java,v 1.2 2008/04/01 12:38:09 cplattne Exp $
- Author:
- Christian Plattner, plattner@trilead.com
-
-
Constructor Summary
Constructors Constructor Description BlockCipherFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheckCipherList(String[] cipherCandidates)static BlockCiphercreateCipher(String type, boolean encrypt, byte[] key, byte[] iv)static intgetBlockSize(String type)static String[]getDefaultCipherList()static intgetKeySize(String type)
-
-
-
Method Detail
-
getDefaultCipherList
public static String[] getDefaultCipherList()
-
checkCipherList
public static void checkCipherList(String[] cipherCandidates)
-
createCipher
public static BlockCipher createCipher(String type, boolean encrypt, byte[] key, byte[] iv)
-
getBlockSize
public static int getBlockSize(String type)
-
getKeySize
public static int getKeySize(String type)
-
-