Save This Page
Home » openjdk-7 » com.sun.crypto » provider » [javadoc | source]
com.sun.crypto.provider
final class: KeyGeneratorCore [javadoc | source]
java.lang.Object
   com.sun.crypto.provider.KeyGeneratorCore
KeyGeneratore core implementation and individual key generator implementations. Because of US export regulations, we cannot use subclassing to achieve code sharing between the key generator implementations for our various algorithms. Instead, we have the core implementation in this KeyGeneratorCore class, which is used by the individual implementations. See those further down in this file.
Nested Class Summary:
public static final class  KeyGeneratorCore.HmacSHA256KG   
public static final class  KeyGeneratorCore.HmacSHA384KG   
public static final class  KeyGeneratorCore.HmacSHA512KG   
public static final class  KeyGeneratorCore.RC2KeyGenerator   
public static final class  KeyGeneratorCore.ARCFOURKeyGenerator   
Constructor:
 KeyGeneratorCore(String name,
    int defaultKeySize) 
    Construct a new KeyGeneratorCore object with the specified name and defaultKeySize. Initialize to default key size in case the application does not call any of the init() methods.
Method from com.sun.crypto.provider.KeyGeneratorCore Summary:
implGenerateKey,   implInit,   implInit,   implInit
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.crypto.provider.KeyGeneratorCore Detail:
 SecretKey implGenerateKey() 
  void implInit(SecureRandom random) 
  void implInit(AlgorithmParameterSpec params,
    SecureRandom random) throws InvalidAlgorithmParameterException 
  void implInit(int keysize,
    SecureRandom random)