THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The concept of the masterKeyId will be added to the cache keys encryption process in EncryptionSpi:
...
New methods
...
byte[] masterKeyDigest();
...
byte[] masterKeyDigest(String masterKeyId);
...
byte[] encryptKey(Serializable key);
...
byte[] encryptKey(Serializable key, String masterKeyId);
...
Serializable decryptKey(byte[] key);
will be introduced:
Follow methods will work with master key that setted by previous method:
...
...
...
...
This is necessary so that ignite can decrypt cache keys with the old master key and encrypt with the new one.
New methods will be added to the IgniteConfiguration:
...
.
...
Meta storage will store master key id.
...