|
Bouncy Castle Cryptography 1.20 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.crypto.KeyGeneratorSpi | +--org.bouncycastle.jce.provider.JCEKeyGenerator | +--org.bouncycastle.jce.provider.JCEKeyGenerator.DESede3
generate a desEDE key in the a-b-c format.
Fields inherited from class org.bouncycastle.jce.provider.JCEKeyGenerator |
algName, defaultKeySize, engine, keySize, uninitialised |
Constructor Summary | |
JCEKeyGenerator.DESede3()
|
Method Summary | |
protected SecretKey |
engineGenerateKey()
Generates a secret key. |
protected void |
engineInit(int keySize,
java.security.SecureRandom random)
Initializes this key generator for a certain keysize, using the given source of randomness. |
Methods inherited from class org.bouncycastle.jce.provider.JCEKeyGenerator |
engineInit, engineInit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JCEKeyGenerator.DESede3()
Method Detail |
protected void engineInit(int keySize, java.security.SecureRandom random)
KeyGeneratorSpi
engineInit
in class JCEKeyGenerator
javax.crypto.KeyGeneratorSpi
keysize
- the keysize. This is an algorithm-specific metric, specified in number of bits.random
- the source of randomness for this key generator.java.security.InvalidParameterException
- if keysize is wrong or not supported.protected SecretKey engineGenerateKey()
KeyGeneratorSpi
engineGenerateKey
in class JCEKeyGenerator
javax.crypto.KeyGeneratorSpi
|
Bouncy Castle Cryptography 1.20 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |