Class AcmeMemoryStorageEngine
java.lang.Object
com.predic8.membrane.core.transport.ssl.acme.AcmeMemoryStorageEngine
- All Implemented Interfaces:
AcmeSynchronizedStorageEngine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacquireLease(long durationMillis) voidarchiveOAL(String[] hosts) getCertChain(String[] hosts) getOALError(String[] hosts) getPrivateKey(String[] hosts) getPublicKey(String[] hosts) booleanprolongLease(long durationMillis) voidvoidsetAccountContacts(String contacts) voidsetAccountKey(String key) voidsetAccountURL(String url) voidsetCertChain(String[] hosts, String caChain) voidsetKeyPair(String[] hosts, AcmeKeyPair key) voidvoidsetOALError(String[] hosts, String oalError) voidvoid
-
Constructor Details
-
AcmeMemoryStorageEngine
public AcmeMemoryStorageEngine()
-
-
Method Details
-
getAccountKey
- Specified by:
getAccountKeyin interfaceAcmeSynchronizedStorageEngine
-
setAccountKey
- Specified by:
setAccountKeyin interfaceAcmeSynchronizedStorageEngine
-
setKeyPair
- Specified by:
setKeyPairin interfaceAcmeSynchronizedStorageEngine
-
getPublicKey
- Specified by:
getPublicKeyin interfaceAcmeSynchronizedStorageEngine
-
getPrivateKey
- Specified by:
getPrivateKeyin interfaceAcmeSynchronizedStorageEngine
-
setCertChain
- Specified by:
setCertChainin interfaceAcmeSynchronizedStorageEngine
-
getCertChain
- Specified by:
getCertChainin interfaceAcmeSynchronizedStorageEngine
-
setToken
- Specified by:
setTokenin interfaceAcmeSynchronizedStorageEngine
-
getToken
- Specified by:
getTokenin interfaceAcmeSynchronizedStorageEngine
-
getAccountURL
- Specified by:
getAccountURLin interfaceAcmeSynchronizedStorageEngine
-
setAccountURL
- Specified by:
setAccountURLin interfaceAcmeSynchronizedStorageEngine
-
getAccountContacts
- Specified by:
getAccountContactsin interfaceAcmeSynchronizedStorageEngine
-
setAccountContacts
- Specified by:
setAccountContactsin interfaceAcmeSynchronizedStorageEngine
-
getOAL
- Specified by:
getOALin interfaceAcmeSynchronizedStorageEngine
-
setOAL
- Specified by:
setOALin interfaceAcmeSynchronizedStorageEngine
-
getOALError
- Specified by:
getOALErrorin interfaceAcmeSynchronizedStorageEngine
-
setOALError
- Specified by:
setOALErrorin interfaceAcmeSynchronizedStorageEngine
-
getOALKey
- Specified by:
getOALKeyin interfaceAcmeSynchronizedStorageEngine
-
setOALKey
- Specified by:
setOALKeyin interfaceAcmeSynchronizedStorageEngine
-
archiveOAL
- Specified by:
archiveOALin interfaceAcmeSynchronizedStorageEngine
-
acquireLease
public boolean acquireLease(long durationMillis) - Specified by:
acquireLeasein interfaceAcmeSynchronizedStorageEngine
-
prolongLease
public boolean prolongLease(long durationMillis) - Specified by:
prolongLeasein interfaceAcmeSynchronizedStorageEngine
-
releaseLease
public void releaseLease()- Specified by:
releaseLeasein interfaceAcmeSynchronizedStorageEngine
-