Interface EntryView<Q>

Type Parameters:
Q - query
All Superinterfaces:
UpdatingView<Q,KeyEntry,String>, View<Q,KeyEntry>

public interface EntryView<Q> extends UpdatingView<Q,KeyEntry,String>
This view uses key entries as source objects
  • Method Details

    • retrieve

      QueryResult<KeyEntry> retrieve(Q query)
      Note that client who calls this should close the result.
      Specified by:
      retrieve in interface View<Q,KeyEntry>
      Parameters:
      query - understandable to implementation query.
      Returns:
      key entries which match queried criteria
    • retrieve

      QueryResult<KeyEntry> retrieve(String query)
      Note that client who calls this should close the result.
      Specified by:
      retrieve in interface View<Q,KeyEntry>
      Parameters:
      query - understandable to implementation query.
      Returns:
      key entries which match queried criteria
    • all

      Retrieves all available key entries
      Specified by:
      all in interface View<Q,KeyEntry>
      Returns:
      collection of key entries
    • secretKeys

      QueryResult<KeyEntry> secretKeys()
      Filters only secret keys
      Returns:
      secret key entries
    • privateKeys

      QueryResult<KeyEntry> privateKeys()
      Filters only private keys
      Returns:
      private key entries
    • trustedCerts

      QueryResult<KeyEntry> trustedCerts()
      Filters only certificates
      Returns:
      certificate entries
    • getSource

      KeySource getSource()
      Access to key source
      Returns:
      key source object