Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The concept of the masterKeyId will be added to the cache keys encryption process in EncryptionSpi:

Current methodsNew 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.

...