Class AcmeAccountStorageImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.ssl.acme.AcmeAccountStorageImpl
-
- All Implemented Interfaces:
AcmeAccountStorage
public class AcmeAccountStorageImpl extends Object implements AcmeAccountStorage
-
-
Constructor Summary
Constructors Constructor Description AcmeAccountStorageImpl(TeamCityDataDirectoryManager dataDirectoryManager, EncryptionManager encryptionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyPairgetAccount()Retrieves account from diskvoidremoveAccount()Removes account from diskvoidsaveAccount(KeyPair accountKeyPair)Saves account on disk.
-
-
-
Constructor Detail
-
AcmeAccountStorageImpl
public AcmeAccountStorageImpl(@NotNull TeamCityDataDirectoryManager dataDirectoryManager, @NotNull EncryptionManager encryptionManager)
-
-
Method Detail
-
saveAccount
public void saveAccount(@NotNull KeyPair accountKeyPair)Description copied from interface:AcmeAccountStorageSaves account on disk.- Specified by:
saveAccountin interfaceAcmeAccountStorage- Parameters:
accountKeyPair- key pair belonging to account
-
getAccount
@Nullable public KeyPair getAccount()
Description copied from interface:AcmeAccountStorageRetrieves account from disk- Specified by:
getAccountin interfaceAcmeAccountStorage- Returns:
KeyPairrepresenting account, or null, if not found
-
removeAccount
public void removeAccount()
Description copied from interface:AcmeAccountStorageRemoves account from disk- Specified by:
removeAccountin interfaceAcmeAccountStorage
-
-