Package org.alfresco.encryption
Interface EncryptionKeysRegistry
public interface EncryptionKeysRegistry
Stores registered encryption keys.
- Since:
- 4.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionCheck the validity of the key against the registry.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.
-
Method Details
-
isKeyRegistered
Is the key with alias 'keyAlias' registered?- Parameters:
keyAlias
- String- Returns:
- boolean
-
registerKey
Register the key.- Parameters:
keyAlias
- Stringkey
- Key
-
unregisterKey
Unregister the key.- Parameters:
keyAlias
- String
-
checkKey
Check the validity of the key against the registry.- Parameters:
keyAlias
- Stringkey
- Key- Returns:
- KEY_STATUS
-
removeRegisteredKeys
Remove the set of keys from the registry.- Parameters:
keys
- Set
-
getRegisteredKeys
Return those keys in the set that have been registered.- Parameters:
keys
- Set- Returns:
- List
-