public class JCEKeyGenerator extends KeyGeneratorSpi
Modifier and Type | Class and Description |
---|---|
static class |
JCEKeyGenerator.DES
DES
|
static class |
JCEKeyGenerator.GOST28147
GOST28147
|
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.RIPEMD128HMAC
RIPE128HMAC
|
static class |
JCEKeyGenerator.RIPEMD160HMAC
RIPE160HMAC
|
Modifier and Type | Field and Description |
---|---|
protected String |
algName |
protected int |
defaultKeySize |
protected CipherKeyGenerator |
engine |
protected int |
keySize |
protected boolean |
uninitialised |
Modifier | Constructor and Description |
---|---|
protected |
JCEKeyGenerator(String algName,
int defaultKeySize,
CipherKeyGenerator engine) |
Modifier and Type | Method and Description |
---|---|
protected SecretKey |
engineGenerateKey() |
protected void |
engineInit(AlgorithmParameterSpec params,
SecureRandom random) |
protected void |
engineInit(int keySize,
SecureRandom random) |
protected void |
engineInit(SecureRandom random) |
protected String algName
protected int keySize
protected int defaultKeySize
protected CipherKeyGenerator engine
protected boolean uninitialised
protected JCEKeyGenerator(String algName, int defaultKeySize, CipherKeyGenerator engine)
protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException
engineInit
in class KeyGeneratorSpi
InvalidAlgorithmParameterException
protected void engineInit(SecureRandom random)
engineInit
in class KeyGeneratorSpi
protected void engineInit(int keySize, SecureRandom random)
engineInit
in class KeyGeneratorSpi
protected SecretKey engineGenerateKey()
engineGenerateKey
in class KeyGeneratorSpi
Copyright © 2015. All rights reserved.