public class EncryptionKeysRegistryImpl extends Object implements EncryptionKeysRegistry
EncryptionKeysRegistry.KEY_STATUS| Modifier and Type | Field and Description |
|---|---|
static String |
TOP_LEVEL_KEY |
| Constructor and Description |
|---|
EncryptionKeysRegistryImpl() |
| Modifier and Type | Method and Description |
|---|---|
EncryptionKeysRegistry.KEY_STATUS |
checkKey(String keyAlias,
Key key) |
protected Encryptor |
getEncryptor(KeyMap keys) |
List<String> |
getRegisteredKeys(Set<String> keyStoreKeys) |
void |
init() |
boolean |
isKeyRegistered(String keyAlias) |
void |
registerKey(String keyAlias,
Key key) |
void |
removeRegisteredKeys(Set<String> keys) |
void |
setAttributeService(AttributeService attributeService) |
void |
setCipherAlgorithm(String cipherAlgorithm) |
void |
setCipherProvider(String cipherProvider) |
void |
setTransactionService(TransactionService transactionService) |
void |
unregisterKey(String keyAlias) |
public static String TOP_LEVEL_KEY
public void setAttributeService(AttributeService attributeService)
public void setCipherAlgorithm(String cipherAlgorithm)
public void setCipherProvider(String cipherProvider)
public void setTransactionService(TransactionService transactionService)
public void init()
public void registerKey(String keyAlias, Key key)
registerKey in interface EncryptionKeysRegistrypublic void unregisterKey(String keyAlias)
unregisterKey in interface EncryptionKeysRegistrypublic boolean isKeyRegistered(String keyAlias)
isKeyRegistered in interface EncryptionKeysRegistrypublic List<String> getRegisteredKeys(Set<String> keyStoreKeys)
getRegisteredKeys in interface EncryptionKeysRegistrypublic EncryptionKeysRegistry.KEY_STATUS checkKey(String keyAlias, Key key)
checkKey in interface EncryptionKeysRegistrypublic void removeRegisteredKeys(Set<String> keys)
removeRegisteredKeys in interface EncryptionKeysRegistryCopyright © 2005–2021 Alfresco Software. All rights reserved.