| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.crypto.KeyGeneratorSpi
org.bouncycastle.jce.provider.JCEKeyGenerator
public class JCEKeyGenerator
| Nested Class Summary | |
|---|---|
| static class | JCEKeyGenerator.BlowfishBlowfish | 
| static class | JCEKeyGenerator.CAST6CAST6 | 
| static class | JCEKeyGenerator.DESDES | 
| static class | JCEKeyGenerator.DESedeDESede - the default for this is to generate a key in a-b-a format that's 24 bytes long but has 16 bytes of key material (the first 8 bytes is repeated as the last 8 bytes). | 
| static class | JCEKeyGenerator.DESede3generate a desEDE key in the a-b-c format. | 
| static class | JCEKeyGenerator.GOST28147GOST28147 | 
| static class | JCEKeyGenerator.HC128HC128 | 
| static class | JCEKeyGenerator.HC256HC256 | 
| static class | JCEKeyGenerator.HMACSHA1HMACSHA1 | 
| static class | JCEKeyGenerator.HMACSHA224HMACSHA224 | 
| static class | JCEKeyGenerator.HMACSHA256HMACSHA256 | 
| static class | JCEKeyGenerator.HMACSHA384HMACSHA384 | 
| static class | JCEKeyGenerator.HMACSHA512HMACSHA512 | 
| static class | JCEKeyGenerator.HMACTIGERHMACTIGER | 
| static class | JCEKeyGenerator.IDEAIDEA | 
| static class | JCEKeyGenerator.MD2HMACMD2HMAC | 
| static class | JCEKeyGenerator.MD4HMACMD4HMAC | 
| static class | JCEKeyGenerator.MD5HMACMD5HMAC | 
| static class | JCEKeyGenerator.RC2RC2 | 
| static class | JCEKeyGenerator.RC4RC4 | 
| static class | JCEKeyGenerator.RC5RC5 | 
| static class | JCEKeyGenerator.RC564RC5 | 
| static class | JCEKeyGenerator.RC6RC6 | 
| static class | JCEKeyGenerator.RijndaelRijndael | 
| static class | JCEKeyGenerator.RIPEMD128HMACRIPE128HMAC | 
| static class | JCEKeyGenerator.RIPEMD160HMACRIPE160HMAC | 
| static class | JCEKeyGenerator.Salsa20Salsa20 | 
| static class | JCEKeyGenerator.SerpentSerpent | 
| static class | JCEKeyGenerator.SkipjackSKIPJACK | 
| static class | JCEKeyGenerator.TEATEA | 
| static class | JCEKeyGenerator.TwofishTwofish | 
| static class | JCEKeyGenerator.XTEAXTEA | 
| Field Summary | |
|---|---|
| protected  java.lang.String | algName | 
| protected  int | defaultKeySize | 
| protected  CipherKeyGenerator | engine | 
| protected  int | keySize | 
| protected  boolean | uninitialised | 
| Constructor Summary | |
|---|---|
| protected  | JCEKeyGenerator(java.lang.String algName,
                int defaultKeySize,
                CipherKeyGenerator engine) | 
| Method Summary | |
|---|---|
| protected  javax.crypto.SecretKey | engineGenerateKey() | 
| protected  void | engineInit(java.security.spec.AlgorithmParameterSpec params,
           java.security.SecureRandom random) | 
| protected  void | engineInit(int keySize,
           java.security.SecureRandom random) | 
| protected  void | engineInit(java.security.SecureRandom random) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected java.lang.String algName
protected int keySize
protected int defaultKeySize
protected CipherKeyGenerator engine
protected boolean uninitialised
| Constructor Detail | 
|---|
protected JCEKeyGenerator(java.lang.String algName,
                          int defaultKeySize,
                          CipherKeyGenerator engine)
| Method Detail | 
|---|
protected void engineInit(java.security.spec.AlgorithmParameterSpec params,
                          java.security.SecureRandom random)
                   throws java.security.InvalidAlgorithmParameterException
engineInit in class javax.crypto.KeyGeneratorSpijava.security.InvalidAlgorithmParameterExceptionprotected void engineInit(java.security.SecureRandom random)
engineInit in class javax.crypto.KeyGeneratorSpiprotected void engineInit(int keySize,
                          java.security.SecureRandom random)
engineInit in class javax.crypto.KeyGeneratorSpiprotected javax.crypto.SecretKey engineGenerateKey()
engineGenerateKey in class javax.crypto.KeyGeneratorSpi| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||