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 Summary
Fields Modifier and Type Field Description static java.lang.String
ALIAS_METADATA
Constant representing the keystore alias for keys to encrypt/decrypt node metadatastatic java.lang.String
ALIAS_SOLR
Constant representing the keystore alias for keys to encrypt/decrypt SOLR transfer data
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.security.Key
getKey(java.lang.String keyAlias)
Get an encryption key if available.
-
-
-
Field Detail
-
ALIAS_METADATA
static final java.lang.String ALIAS_METADATA
Constant representing the keystore alias for keys to encrypt/decrypt node metadata- See Also:
- Constant Field Values
-
ALIAS_SOLR
static final java.lang.String ALIAS_SOLR
Constant representing the keystore alias for keys to encrypt/decrypt SOLR transfer data- See Also:
- Constant Field Values
-
-