public class

BlockCipherFactory

extends Object
java.lang.Object
   ↳ com.trilead.ssh2.crypto.cipher.BlockCipherFactory

Class Overview

BlockCipherFactory.

Summary

Fields
static Vector ciphers
Public Constructors
BlockCipherFactory()
Public Methods
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)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

static Vector ciphers

Public Constructors

public BlockCipherFactory ()

Public Methods

public static void checkCipherList (String[] cipherCandidates)

Parameters
cipherCandidates

public static BlockCipher createCipher (String type, boolean encrypt, byte[] key, byte[] iv)

Parameters
type
encrypt
key
iv

public static int getBlockSize (String type)

Parameters
type

public static String[] getDefaultCipherList ()

public static int getKeySize (String type)

Parameters
type