Interface KeyStorageProvider


  • public interface KeyStorageProvider
    A service provider interface for KeyStorage.
    Author:
    Carl Harris
    • Method Detail

      • getName

        java.lang.String getName()
        Gets the name of this provider.
        Returns:
        provider name
      • isMutable

        boolean isMutable()
        Tests whether this provider supports the MutableKeyStorage interface.
        Returns:
        true if this provider supports the mutable API
      • getInstance

        KeyStorage getInstance​(java.util.Properties properties)
                        throws java.lang.Exception
        Gets a key storage instance from this provider.
        Parameters:
        properties - configuration properties
        Returns:
        key storage instance
        Throws:
        java.lang.Exception - to indicate that an instance could not be initialized