public class KeyFactory extends Object
| Constructor and Description |
|---|
KeyFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected static SecretKey |
newAESKey()
Generates an AES key
|
protected static SecretKey |
newDESKey()
Generates a DESede key
|
protected static SecretKey |
newRijndaelKey()
Generates a Rijndael key
|
protected static SecretKey |
newTripleDESKey()
Generates a TripleDES key
|
protected static SecretKey newAESKey() throws Exception
Exceptionprotected static SecretKey newTripleDESKey() throws Exception
Exceptionprotected static SecretKey newRijndaelKey() throws Exception
ExceptionCopyright © 2016. All Rights Reserved.