Interface KeyReader


public interface KeyReader
  • Method Summary

    Modifier and Type
    Method
    Description
    fromKeyStore(KeyStore keyStore, Function<String,char[]> keyPassword)
    Creates key view that supports adding/removing/updating key entries through it.
  • Method Details

    • fromKeyStore

      KeyStoreView fromKeyStore(KeyStore keyStore, Function<String,char[]> keyPassword)
      Creates key view that supports adding/removing/updating key entries through it. All updating operations will be propagated to underlying KeyStore.
      Parameters:
      keyStore - KeyStore from which to extract keys and create view.
      keyPassword - Per alias key password provider (key alias - its password).
      Returns:
      Modifiable KeyStore view.