Interface AcmeAccountStorage
-
- All Known Implementing Classes:
AcmeAccountStorageImpl
public interface AcmeAccountStorage
Storage for authorized ACME server account- Author:
- Daniil Boger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyPair
getAccount()
Retrieves account from diskvoid
removeAccount()
Removes account from diskvoid
saveAccount(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:
KeyPair
representing account, or null, if not found
-
removeAccount
void removeAccount()
Removes account from disk
-
-