|
Bouncy Castle Cryptography Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.crypto.KeyGeneratorSpi org.bouncycastle.jce.provider.JCEKeyGenerator org.bouncycastle.jce.provider.JCEKeyGenerator.DESede
public 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). If you give it a size, you'll get just what you asked for.
Nested Class Summary |
---|
Field Summary |
---|
Fields inherited from class org.bouncycastle.jce.provider.JCEKeyGenerator |
---|
algName, defaultKeySize, engine, keySize, uninitialised |
Constructor Summary | |
---|---|
JCEKeyGenerator.DESede()
|
Method Summary | |
---|---|
protected javax.crypto.SecretKey |
engineGenerateKey()
|
protected void |
engineInit(int keySize,
java.security.SecureRandom random)
|
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.DESede()
Method Detail |
---|
protected void engineInit(int keySize, java.security.SecureRandom random)
engineInit
in class JCEKeyGenerator
protected javax.crypto.SecretKey engineGenerateKey()
engineGenerateKey
in class JCEKeyGenerator
|
Bouncy Castle Cryptography Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |