mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 15:22:38 -04:00
add deploy_ocsp_prefetch to API
This commit is contained in:
parent
eca207f658
commit
c4b75b1bbd
1 changed files with 11 additions and 0 deletions
|
|
@ -191,6 +191,17 @@ class OCSPPrefetchEnhancement(object):
|
|||
to finalize the plugin initialization.
|
||||
"""
|
||||
|
||||
@abc.abstractmethod
|
||||
def deploy_ocsp_prefetch(self, lineage, *args, **kwargs):
|
||||
"""
|
||||
Gets called for a lineage when its certificate is successfully renewed.
|
||||
This method is used to prefetch the OCSP response before configuring
|
||||
the server to use the renewed certificates.
|
||||
|
||||
:param lineage: Certificate lineage object
|
||||
:type lineage: certbot.interfaces.RenewableCert
|
||||
"""
|
||||
|
||||
@abc.abstractmethod
|
||||
def enable_ocsp_prefetch(self, lineage, domains, *args, **kwargs):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue