Interface EncryptionKeysRegistry


  • public interface EncryptionKeysRegistry
    Stores registered encryption keys.
    Since:
    4.0
    • Method Detail

      • isKeyRegistered

        boolean isKeyRegistered​(String keyAlias)
        Is the key with alias 'keyAlias' registered?
        Parameters:
        keyAlias - String
        Returns:
        boolean
      • registerKey

        void registerKey​(String keyAlias,
                         Key key)
        Register the key.
        Parameters:
        keyAlias - String
        key - Key
      • unregisterKey

        void unregisterKey​(String keyAlias)
        Unregister the key.
        Parameters:
        keyAlias - String
      • removeRegisteredKeys

        void removeRegisteredKeys​(Set<String> keys)
        Remove the set of keys from the registry.
        Parameters:
        keys - Set
      • getRegisteredKeys

        List<String> getRegisteredKeys​(Set<String> keys)
        Return those keys in the set that have been registered.
        Parameters:
        keys - Set
        Returns:
        List