Skip navigation links 
 
oracle.security.crypto.jce.provider
Class PhaosKeyGeneratorSpi
java.lang.Object
  
javax.crypto.KeyGeneratorSpi
      
oracle.security.crypto.jce.provider.PhaosKeyGeneratorSpi
- Direct Known Subclasses:
 
- AESKeyGeneratorSpi, BlowfishKeyGeneratorSpi, DESedeKeyGeneratorSpi, DESKeyGeneratorSpi, HmacSecretKeyGeneratorSpi, RC2KeyGeneratorSpi, RC4KeyGeneratorSpi
 
- 
public abstract class PhaosKeyGeneratorSpi
 
- extends javax.crypto.KeyGeneratorSpi
 
 
| Field Summary | 
protected  java.lang.String | 
algName 
            | 
protected  boolean | 
initialized 
            | 
protected  int | 
length 
            | 
protected  oracle.security.crypto.core.RandomBitsSource | 
random 
            | 
protected  oracle.security.crypto.core.SymmetricKeyGenerator | 
skg 
            | 
  
 
| Constructor Summary | 
protected | 
PhaosKeyGeneratorSpi(oracle.security.crypto.core.SymmetricKeyGenerator skg, java.lang.String algName) 
          Constructor that takes the Phaos instance to be wrapped. | 
  
 
| Method Summary | 
 javax.crypto.SecretKey | 
engineGenerateKey() 
            | 
 void | 
engineInit(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random) 
            | 
 void | 
engineInit(int keysize, java.security.SecureRandom random) 
            | 
 void | 
engineInit(java.security.SecureRandom random) 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
skg
protected oracle.security.crypto.core.SymmetricKeyGenerator skg
algName
protected java.lang.String algName
initialized
protected boolean initialized
length
protected int length
random
protected oracle.security.crypto.core.RandomBitsSource random
PhaosKeyGeneratorSpi
protected PhaosKeyGeneratorSpi(oracle.security.crypto.core.SymmetricKeyGenerator skg,
                               java.lang.String algName)
- Constructor that takes the Phaos instance to be wrapped.
 
engineInit
public void engineInit(java.security.SecureRandom random)
- 
- Specified by:
 
engineInit in class javax.crypto.KeyGeneratorSpi 
 
engineInit
public void engineInit(int keysize,
                       java.security.SecureRandom random)
- 
- Specified by:
 
engineInit in class javax.crypto.KeyGeneratorSpi 
 
engineInit
public void engineInit(java.security.spec.AlgorithmParameterSpec params,
                       java.security.SecureRandom random)
                throws java.security.InvalidAlgorithmParameterException
- 
- Specified by:
 
engineInit in class javax.crypto.KeyGeneratorSpi 
 
- 
- Throws:
 
java.security.InvalidAlgorithmParameterException 
 
engineGenerateKey
public javax.crypto.SecretKey engineGenerateKey()
- 
- Specified by:
 
engineGenerateKey in class javax.crypto.KeyGeneratorSpi 
 
Skip navigation links 
 
Copyright © 2005, 2009, Oracle. All rights reserved.