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:
Current methods | New methods instead of current ones |
---|---|
byte[] masterKeyDigest(); | byte[] masterKeyDigest(String masterKeyId); |
byte[] encryptKey(Serializable key); | byte[] encryptKey(Serializable key, String masterKeyId); |
Serializable decryptKey(byte[] key); | Serializable decryptKey(byte[] key, String masterKeyId); |
where masterKeyId - master key id. If null the default key will be used for compatibility reason.
...