Class au.net.aba.crypto.provider.DESedeKeyGenerator
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.


Variable Index

 o ident

Constructor Index

 o DESedeKeyGenerator()

Method Index

 o engineGenerateKey()
Generates a secret key, setting odd parity and checking that the key is not a weak key.

Variables

 o ident
  public final static String ident

Constructors

 o DESedeKeyGenerator
  public DESedeKeyGenerator()

Methods

 o 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