public class CryptoRSAEngineFactory extends Object implements AsymmetricEncryptionEngineFactory<RSAKeyParams,RSAKeyParams>
EncryptionEngine implementation for RSA algorithm from javax.crypto.| Constructor and Description |
|---|
CryptoRSAEngineFactory(String algorithmName) |
| Modifier and Type | Method and Description |
|---|---|
EncryptionEngine |
newEngine(RSAKeyParams publicKey,
RSAKeyParams privateKey)
Creates a new encryption engine.
|
public CryptoRSAEngineFactory(String algorithmName)
public EncryptionEngine newEngine(RSAKeyParams publicKey, RSAKeyParams privateKey)
AsymmetricEncryptionEngineFactorynewEngine in interface AsymmetricEncryptionEngineFactory<RSAKeyParams,RSAKeyParams>publicKey - public key for encryptionprivateKey - private key for decryptionCopyright © 2019. All rights reserved.