-
Encrypts and decrypts the private half of signing keys with AES-256-GCM (Spring Security's
Encryptors.stronger).
A JSON Web Key set loaded lazily and kept in memory for a short time, so that verifying or signing a token does not
read the database every time.
Inputs of the encryption of private signing keys at rest.
Derives, from the key-encryption secret (
KeyEncryptionProperties), a distinct salt and key for each purpose
other than the encryption of signing keys, so no two uses share a key: a key exposed or misused for one purpose
says nothing about the others.
Maps the domain
SigningKey onto Nimbus JSON Web Keys: the public set lists the public half of every key it
is given, whereas the signing set holds the single active key with its private half, decrypted with the
AesGcmKeyCipher.