ch.ethz.ssh2.crypto.cipher
Class BlockCipherFactory

java.lang.Object
  extended by ch.ethz.ssh2.crypto.cipher.BlockCipherFactory

public class BlockCipherFactory
extends Object

BlockCipherFactory.

Version:
$Id$
Author:
Christian Plattner

Constructor Summary
BlockCipherFactory()
           
 
Method Summary
static void checkCipherList(String[] cipherCandidates)
           
static BlockCipher createCipher(String type, boolean encrypt, byte[] key, byte[] iv)
           
static int getBlockSize(String type)
           
static String[] getDefaultCipherList()
           
static int getKeySize(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockCipherFactory

public BlockCipherFactory()
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)


Copyright © 2011. All Rights Reserved.