public class CryptoEnginesFactories extends Object implements EncryptionEnginesFactories
Factories for engines that use Java standard API (javax.crypto) as encryption implementations. This factory creates these algorithms:
Note that if you use AES-256 and stronger ciphers, JCE installation is required for this factory.
You can check whether it is installed by isJceInstalled().
| Constructor and Description |
|---|
CryptoEnginesFactories() |
| Modifier and Type | Method and Description |
|---|---|
SymmetricEncryptionEngineFactory |
aes()
Creates a new engine factory for AES (128 bits).
|
SymmetricEncryptionEngineFactory |
aes256()
Creates a new engine factory for AES (256 bits).
|
static boolean |
isJceInstalled()
Checks whether Java Cryptography Extension (JCE) is installed.
|
RSACryptoEngineFactory |
rsa()
Creates a new engine factory for RSA.
|
SymmetricEncryptionEngineFactory |
tripleDes()
Creates a new engine factory for Triple DES.
|
public SymmetricEncryptionEngineFactory aes()
EncryptionEnginesFactoriesaes in interface EncryptionEnginesFactoriespublic SymmetricEncryptionEngineFactory aes256()
EncryptionEnginesFactoriesaes256 in interface EncryptionEnginesFactoriespublic SymmetricEncryptionEngineFactory tripleDes()
EncryptionEnginesFactoriestripleDes in interface EncryptionEnginesFactoriespublic RSACryptoEngineFactory rsa()
EncryptionEnginesFactoriesrsa in interface EncryptionEnginesFactoriespublic static boolean isJceInstalled()
Copyright © 2016. All rights reserved.