Interface AcmeAccountStorage
-
- All Known Implementing Classes:
AcmeAccountStorageImpl
public interface AcmeAccountStorageStorage for authorized ACME server account- Author:
- Daniil Boger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyPairgetAccount()Retrieves account from diskvoidremoveAccount()Removes account from diskvoidsaveAccount(KeyPair accountKeyPair)Saves account on disk.
-
-
-
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:
KeyPairrepresenting account, or null, if not found
-
removeAccount
void removeAccount()
Removes account from disk
-
-