mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-07 18:25:23 +00:00
- This will allow a keystore to be checked in (.keystore) and specified by installer - Algorithm parameters embedded in SealedObject but also supported by other Cipher methods ALF-8646: RINF 38: Text data encryption ALF-8956: RINF 38: Encryption key password specified by installer ALF-9055: RINF 38: Support encryption against existing data git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28438 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
22 lines
442 B
Java
22 lines
442 B
Java
package org.alfresco.repo.security.encryption;
|
|
|
|
import java.security.Key;
|
|
|
|
import org.alfresco.util.ParameterCheck;
|
|
|
|
/**
|
|
* Basic support for key providers
|
|
*
|
|
* @author Derek Hulley
|
|
* @since 4.0
|
|
*/
|
|
public abstract class AbstractKeyProvider implements KeyProvider
|
|
{
|
|
@Override
|
|
public Key getKey(AlfrescoKeyAlias keyAlias)
|
|
{
|
|
ParameterCheck.mandatory("keyAlias", keyAlias);
|
|
return getKey(keyAlias.name());
|
|
}
|
|
}
|