|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gudy.bouncycastle.crypto.CipherKeyGenerator
public class CipherKeyGenerator
The base class for symmetric, or secret, cipher key generators.
| Field Summary | |
|---|---|
protected java.security.SecureRandom |
random
|
protected int |
strength
|
| Constructor Summary | |
|---|---|
CipherKeyGenerator()
|
|
| Method Summary | |
|---|---|
byte[] |
generateKey()
generate a secret key. |
void |
init(KeyGenerationParameters param)
initialise the key generator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.security.SecureRandom random
protected int strength
| Constructor Detail |
|---|
public CipherKeyGenerator()
| Method Detail |
|---|
public void init(KeyGenerationParameters param)
param - the parameters to be used for key generationpublic byte[] generateKey()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||