public class EncryptionKeysRegistryImpl extends Object implements org.alfresco.encryption.EncryptionKeysRegistry
Modifier and Type | Field and Description |
---|---|
static String |
TOP_LEVEL_KEY |
Constructor and Description |
---|
EncryptionKeysRegistryImpl() |
Modifier and Type | Method and Description |
---|---|
org.alfresco.encryption.EncryptionKeysRegistry.KEY_STATUS |
checkKey(String keyAlias,
Key key) |
protected org.alfresco.encryption.Encryptor |
getEncryptor(org.alfresco.encryption.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)
protected org.alfresco.encryption.Encryptor getEncryptor(org.alfresco.encryption.KeyMap keys)
public void init()
public void registerKey(String keyAlias, Key key)
registerKey
in interface org.alfresco.encryption.EncryptionKeysRegistry
public void unregisterKey(String keyAlias)
unregisterKey
in interface org.alfresco.encryption.EncryptionKeysRegistry
public boolean isKeyRegistered(String keyAlias)
isKeyRegistered
in interface org.alfresco.encryption.EncryptionKeysRegistry
public List<String> getRegisteredKeys(Set<String> keyStoreKeys)
getRegisteredKeys
in interface org.alfresco.encryption.EncryptionKeysRegistry
public org.alfresco.encryption.EncryptionKeysRegistry.KEY_STATUS checkKey(String keyAlias, Key key)
checkKey
in interface org.alfresco.encryption.EncryptionKeysRegistry
Copyright © 2005–2017 Alfresco Software. All rights reserved.