All Packages Class Hierarchy This Package Previous Next Index
Class au.net.aba.crypto.provider.DESedeKeyGenerator
java.lang.Object
|
+----javax.crypto.KeyGeneratorSpi
|
+----au.net.aba.crypto.provider.DESKeyGenerator
|
+----au.net.aba.crypto.provider.DESedeKeyGenerator
- public class DESedeKeyGenerator
- extends DESKeyGenerator
This class is used for generating random DESede keys. This class
should not be instantiated directly, instead use the
javax.crypto.KeyGenerator interface.
There is no AlgorithmParameterSpec class defined for DESede so this
generator can only be initialised using the keysize,random
initialisation.
The returned key will be a non-weak key with odd parity.
-
ident
-
-
DESedeKeyGenerator()
-
-
engineGenerateKey()
- Generates a secret key, setting odd parity and checking that the
key is not a weak key.
ident
public static final String ident
DESedeKeyGenerator
public DESedeKeyGenerator()
engineGenerateKey
protected SecretKey engineGenerateKey()
- Generates a secret key, setting odd parity and checking that the
key is not a weak key.
- Returns:
- a DESede key object.
- Overrides:
- engineGenerateKey in class DESKeyGenerator
All Packages Class Hierarchy This Package Previous Next Index