public class BlockCipherFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
BlockCipherFactory.CipherEntry |
Modifier and Type | Field and Description |
---|---|
(package private) static java.util.Vector |
ciphers |
Constructor and Description |
---|
BlockCipherFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
checkCipherList(java.lang.String[] cipherCandidates) |
static BlockCipher |
createCipher(java.lang.String type,
boolean encrypt,
byte[] key,
byte[] iv) |
static int |
getBlockSize(java.lang.String type) |
static java.lang.String[] |
getDefaultCipherList() |
private static BlockCipherFactory.CipherEntry |
getEntry(java.lang.String type) |
static int |
getKeySize(java.lang.String type) |
public static java.lang.String[] getDefaultCipherList()
public static void checkCipherList(java.lang.String[] cipherCandidates)
public static BlockCipher createCipher(java.lang.String type, boolean encrypt, byte[] key, byte[] iv)
private static BlockCipherFactory.CipherEntry getEntry(java.lang.String type)
public static int getBlockSize(java.lang.String type)
public static int getKeySize(java.lang.String type)