Save This Page
Home » openjdk-7 » com.sun.crypto » provider » [javadoc | source]
com.sun.crypto.provider
public final class: DESKeyGenerator [javadoc | source]
java.lang.Object
   javax.crypto.KeyGeneratorSpi
      com.sun.crypto.provider.DESKeyGenerator
This class generates a DES key.
Constructor:
 public DESKeyGenerator() 
Method from com.sun.crypto.provider.DESKeyGenerator Summary:
engineGenerateKey,   engineInit,   engineInit,   engineInit,   setParityBit
Methods from javax.crypto.KeyGeneratorSpi:
engineGenerateKey,   engineInit,   engineInit,   engineInit
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.crypto.provider.DESKeyGenerator Detail:
 protected SecretKey engineGenerateKey() 
    Generates the DES key.
 protected  void engineInit(SecureRandom random) 
    Initializes this key generator.
 protected  void engineInit(AlgorithmParameterSpec params,
    SecureRandom random) throws InvalidAlgorithmParameterException 
    Initializes this key generator with the specified parameter set and a user-provided source of randomness.
 protected  void engineInit(int keysize,
    SecureRandom random) 
    Initializes this key generator for a certain keysize, using the given source of randomness.
 static  void setParityBit(byte[] key,
    int offset)