Certbot v0.5.1 Certbot.CertificateStore behaviour View Source

Stores and look ups certificates by hostname

Behaviour that can be reimplemented for other storage mechanisms, e.g. redis, database or mnesia

Link to this section Summary

Link to this section Callbacks

Link to this callback

find_certificate(hostname)

View Source
find_certificate(hostname :: String.t()) :: Certbot.Certificate.t() | nil
Link to this callback

insert(hostname, certificate)

View Source
insert(hostname :: String.t(), certificate :: Certbot.Certificate.t()) :: :ok