public interface EncryptionKeysRegistry
Modifier and Type | Interface and Description |
---|---|
static class |
EncryptionKeysRegistry.KEY_STATUS |
Modifier and Type | Method and Description |
---|---|
EncryptionKeysRegistry.KEY_STATUS |
checkKey(String keyAlias,
Key key)
Check the validity of the key against the registry.
|
List<String> |
getRegisteredKeys(Set<String> keys)
Return those keys in the set that have been registered.
|
boolean |
isKeyRegistered(String keyAlias)
Is the key with alias 'keyAlias' registered?
|
void |
registerKey(String keyAlias,
Key key)
Register the key.
|
void |
removeRegisteredKeys(Set<String> keys)
Remove the set of keys from the registry.
|
void |
unregisterKey(String keyAlias)
Unregister the key.
|
boolean isKeyRegistered(String keyAlias)
keyAlias
- Stringvoid registerKey(String keyAlias, Key key)
keyAlias
- Stringkey
- Keyvoid unregisterKey(String keyAlias)
keyAlias
- StringEncryptionKeysRegistry.KEY_STATUS checkKey(String keyAlias, Key key)
keyAlias
- Stringkey
- Keyvoid removeRegisteredKeys(Set<String> keys)
keys
- SetCopyright © 2005–2018 Alfresco Software. All rights reserved.