Package org.alfresco.encryption
Interface KeyProvider
- All Known Implementing Classes:
AbstractKeyProvider
,KeystoreKeyProvider
public interface KeyProvider
A key provider returns the secret keys for different use cases.
- Since:
- 4.0
-
Field Details
-
ALIAS_METADATA
Constant representing the keystore alias for keys to encrypt/decrypt node metadata- See Also:
-
ALIAS_SOLR
Constant representing the keystore alias for keys to encrypt/decrypt SOLR transfer data- See Also:
-
-
Method Details
-
getKey
Get an encryption key if available.- Parameters:
keyAlias
- the key alias- Returns:
- the encryption key and a timestamp of when it was last changed
-