public class AsymmetricKeyEncryptionService extends Object implements EncryptionService
| Constructor and Description |
|---|
AsymmetricKeyEncryptionService() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] data)
Decrypt the input data.
|
byte[] |
encrypt(byte[] data)
Encrypt the input data.
|
void |
init()
For initialization operations.
|
void |
setKeyPair(KeyPair keyPair)
Set the public private key pair.
|
String |
toString() |
public void setKeyPair(KeyPair keyPair)
keyPair - Key pair of Public and Private key.public void init()
throws IgniteException
EncryptionService.encrypt(byte[]) and EncryptionService.decrypt(byte[]) are used.init in interface EncryptionServiceIgniteExceptionpublic byte[] encrypt(byte[] data)
encrypt in interface EncryptionServicedata - Data. bytes to be encrypted.public byte[] decrypt(byte[] data)
decrypt in interface EncryptionServicedata - Encrypted data.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025