Class KeyStorage.NoopKeyStorage

java.lang.Object
org.gridgain.internal.encryption.storage.KeyStorage.NoopKeyStorage
All Implemented Interfaces:
KeyStorage
Enclosing interface:
KeyStorage

public static class KeyStorage.NoopKeyStorage extends Object implements KeyStorage
No-op key chains storage implementation.
  • Field Details

    • INSTANCE

      public static final KeyStorage INSTANCE
  • Method Details

    • getKeyChain

      @Nullable public @Nullable KeyChain getKeyChain(String id)
      Description copied from interface: KeyStorage
      Returns key chain for provided identifier.
      Specified by:
      getKeyChain in interface KeyStorage
      Parameters:
      id - Key chain identifier.
    • getKeyChains

      public Map<String,KeyChain> getKeyChains()
      Description copied from interface: KeyStorage
      Returns all key chains.
      Specified by:
      getKeyChains in interface KeyStorage
    • store

      public void store(String id, KeyChain keyChain)
      Description copied from interface: KeyStorage
      Stores provided key chain with identifier.
      Specified by:
      store in interface KeyStorage
      Parameters:
      id - Key chain identifier.
      keyChain - Key chain.
    • storeAll

      public void storeAll(Map<String,KeyChain> keyChains)
      Description copied from interface: KeyStorage
      Stores all provided key chains with associated identifiers.
      Specified by:
      storeAll in interface KeyStorage
      Parameters:
      keyChains - Key chains.
    • remove

      public void remove(String id)
      Description copied from interface: KeyStorage
      Removes key chain from storage associated with provided identifier.
      Specified by:
      remove in interface KeyStorage
      Parameters:
      id - Key chain identifier.