Interface TrustedKeyService

  • All Known Implementing Classes:
    TrustedKeyServiceImpl

    @Internal
    public interface TrustedKeyService
    Since:
    5.10.1
    • Method Detail

      • delete

        void delete​(long trustedKeyId)
      • save

        boolean save​(@NotNull
                     @NotNull TrustedKey trustedKey)
        Persists the given trusted key.
        Returns:
        true, if trusted key was saved successfully; false if the key was not saved, because another key with the same host/ssh key combination already exists