|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.crypto.KeyGeneratorSpi
|
+--de.flexiprovider.api.keys.SecretKeyGenerator
|
+--de.flexiprovider.core.mac.HMacKeyGenerator
| Inner Class Summary | |
static class |
HMacKeyGenerator.DHA256
|
static class |
HMacKeyGenerator.FORK256
|
static class |
HMacKeyGenerator.MD4
|
static class |
HMacKeyGenerator.MD5
|
static class |
HMacKeyGenerator.RIPEMD128
|
static class |
HMacKeyGenerator.RIPEMD160
|
static class |
HMacKeyGenerator.RIPEMD256
|
static class |
HMacKeyGenerator.RIPEMD320
|
static class |
HMacKeyGenerator.SHA1
|
static class |
HMacKeyGenerator.SHA224
|
static class |
HMacKeyGenerator.SHA256
|
static class |
HMacKeyGenerator.SHA384
|
static class |
HMacKeyGenerator.SHA512
|
static class |
HMacKeyGenerator.Tiger
|
| Constructor Summary | |
protected |
HMacKeyGenerator(int keySize)
Constructor. |
| Method Summary | |
SecretKey |
generateKey()
Generate an HMac key. |
void |
init(AlgorithmParameterSpec params,
SecureRandom random)
Initialize the key generator. |
void |
init(int keySize,
SecureRandom random)
Initialize the key generator. |
void |
init(SecureRandom random)
Initialize the key generator with a source of randomness. |
| Methods inherited from class de.flexiprovider.api.keys.SecretKeyGenerator |
engineGenerateKey, engineInit, engineInit, engineInit, init, init, init |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
protected HMacKeyGenerator(int keySize)
keySize - the key size in bits| Method Detail |
public void init(AlgorithmParameterSpec params,
SecureRandom random)
init in class SecretKeyGeneratorparams - the parameters (not used)random - the source of randomness
public void init(int keySize,
SecureRandom random)
init in class SecretKeyGeneratorkeySize - the key size (not used)random - the source of randomnesspublic void init(SecureRandom random)
init in class SecretKeyGeneratorrandom - the source of randomnesspublic SecretKey generateKey()
generateKey in class SecretKeyGeneratorHMacKey
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||