Interface TrustedKeyDao

    • Method Detail

      • findById

        @Nullable
        @Nullable TrustedKey findById​(long id)
      • findByHostAndKey

        @Nullable
        @Nullable TrustedKey findByHostAndKey​(@NotNull
                                              @NotNull String host,
                                              @NotNull
                                              @NotNull String key)
      • delete

        boolean delete​(long id)
        Deletes the trusted key with given id.
        Returns:
        true if trusted key with given id was found was deleted, false otherwise