public class BlockCipherFactory extends Object
Constructor and Description |
---|
BlockCipherFactory() |
Modifier and Type | Method and Description |
---|---|
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) |
public static String[] getDefaultCipherList()
public static void checkCipherList(String[] cipherCandidates)
public static BlockCipher createCipher(String type, boolean encrypt, byte[] key, byte[] iv)
public static int getBlockSize(String type)
public static int getKeySize(String type)
Copyright © 2024. All rights reserved.