org.bouncycastle.jce.provider
public class JCEKeyGenerator extends javax.crypto.KeyGeneratorSpi
| Modifier and Type | Class and Description |
|---|---|
static class |
JCEKeyGenerator.Blowfish
Blowfish
|
static class |
JCEKeyGenerator.CAST6
CAST6
|
static class |
JCEKeyGenerator.DES
DES
|
static class |
JCEKeyGenerator.DESede
DESede - the default for this is to generate a key in
a-b-a format that's 24 bytes long but has 16 bytes of
key material (the first 8 bytes is repeated as the last
8 bytes).
|
static class |
JCEKeyGenerator.DESede3
generate a desEDE key in the a-b-c format.
|
static class |
JCEKeyGenerator.GOST28147
GOST28147
|
static class |
JCEKeyGenerator.HC128
HC128
|
static class |
JCEKeyGenerator.HC256
HC256
|
static class |
JCEKeyGenerator.HMACSHA1
HMACSHA1
|
static class |
JCEKeyGenerator.HMACSHA224
HMACSHA224
|
static class |
JCEKeyGenerator.HMACSHA256
HMACSHA256
|
static class |
JCEKeyGenerator.HMACSHA384
HMACSHA384
|
static class |
JCEKeyGenerator.HMACSHA512
HMACSHA512
|
static class |
JCEKeyGenerator.HMACTIGER
HMACTIGER
|
static class |
JCEKeyGenerator.MD2HMAC
MD2HMAC
|
static class |
JCEKeyGenerator.MD4HMAC
MD4HMAC
|
static class |
JCEKeyGenerator.MD5HMAC
MD5HMAC
|
static class |
JCEKeyGenerator.RC2
RC2
|
static class |
JCEKeyGenerator.RC4
RC4
|
static class |
JCEKeyGenerator.RC5
RC5
|
static class |
JCEKeyGenerator.RC564
RC5
|
static class |
JCEKeyGenerator.RC6
RC6
|
static class |
JCEKeyGenerator.Rijndael
Rijndael
|
static class |
JCEKeyGenerator.RIPEMD128HMAC
RIPE128HMAC
|
static class |
JCEKeyGenerator.RIPEMD160HMAC
RIPE160HMAC
|
static class |
JCEKeyGenerator.Salsa20
Salsa20
|
static class |
JCEKeyGenerator.Serpent
Serpent
|
static class |
JCEKeyGenerator.Skipjack
SKIPJACK
|
static class |
JCEKeyGenerator.TEA
TEA
|
static class |
JCEKeyGenerator.Twofish
Twofish
|
static class |
JCEKeyGenerator.VMPC
VMPC
|
static class |
JCEKeyGenerator.VMPCKSA3
VMPC-KSA3
|
static class |
JCEKeyGenerator.XTEA
XTEA
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
algName |
protected int |
defaultKeySize |
protected CipherKeyGenerator |
engine |
protected int |
keySize |
protected boolean |
uninitialised |
| Modifier | Constructor and Description |
|---|---|
protected |
JCEKeyGenerator(java.lang.String algName,
int defaultKeySize,
CipherKeyGenerator engine) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.crypto.SecretKey |
engineGenerateKey() |
protected void |
engineInit(java.security.spec.AlgorithmParameterSpec params,
java.security.SecureRandom random) |
protected void |
engineInit(int keySize,
java.security.SecureRandom random) |
protected void |
engineInit(java.security.SecureRandom random) |
protected java.lang.String algName
protected int keySize
protected int defaultKeySize
protected CipherKeyGenerator engine
protected boolean uninitialised
protected JCEKeyGenerator(java.lang.String algName,
int defaultKeySize,
CipherKeyGenerator engine)
protected void engineInit(java.security.spec.AlgorithmParameterSpec params,
java.security.SecureRandom random)
throws java.security.InvalidAlgorithmParameterException
engineInit in class javax.crypto.KeyGeneratorSpijava.security.InvalidAlgorithmParameterExceptionprotected void engineInit(java.security.SecureRandom random)
engineInit in class javax.crypto.KeyGeneratorSpiprotected void engineInit(int keySize,
java.security.SecureRandom random)
engineInit in class javax.crypto.KeyGeneratorSpiprotected javax.crypto.SecretKey engineGenerateKey()
engineGenerateKey in class javax.crypto.KeyGeneratorSpi