Interface AcmeAccountStorage

  • All Known Implementing Classes:
    AcmeAccountStorageImpl

    public interface AcmeAccountStorage
    Storage for authorized ACME server account
    Author:
    Daniil Boger
    • Method Detail

      • saveAccount

        void saveAccount​(@NotNull
                         KeyPair accountKeyPair)
        Saves account on disk.
        Parameters:
        accountKeyPair - key pair belonging to account
      • getAccount

        @Nullable
        KeyPair getAccount()
        Retrieves account from disk
        Returns:
        KeyPair representing account, or null, if not found
      • removeAccount

        void removeAccount()
        Removes account from disk