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 KeyPair
getAccount()
Retrieves account from diskvoid
removeAccount()
Removes account from diskvoid
saveAccount(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:AcmeAccountStorage
Saves account on disk.- Specified by:
saveAccount
in interfaceAcmeAccountStorage
- Parameters:
accountKeyPair
- key pair belonging to account
-
getAccount
@Nullable public KeyPair getAccount()
Description copied from interface:AcmeAccountStorage
Retrieves account from disk- Specified by:
getAccount
in interfaceAcmeAccountStorage
- Returns:
KeyPair
representing account, or null, if not found
-
removeAccount
public void removeAccount()
Description copied from interface:AcmeAccountStorage
Removes account from disk- Specified by:
removeAccount
in interfaceAcmeAccountStorage
-
-