Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationModel ¶
type AuthorizationModel interface { Refresh() error Authorization() types.Authorization UpdateChallenge(challengeResponse types.ChallengeResponding) error SaveChallengeData(challengeResponse types.ChallengeResponding) error }
type CertificateModel ¶
type Controller ¶
type Controller interface { GetDirectory(rootURL string, refresh bool) (DirectoryModel, error) LoadRegistration(name string) (RegistrationModel, error) }
func MakeController ¶
func MakeController(storage storage_interface.Storage) Controller
type DirectoryModel ¶
type DirectoryModel interface { Refresh() error Directory() types.Directory NewRegistration(name string, signingKey types.SigningKey, contact []string) (RegistrationModel, error) }
type RegistrationModel ¶
type RegistrationModel interface { Registration() types.Registration Refresh() error Update(contact []string, AgreementURL *string) error AuthorizationInfos() (storage_interface.AuthorizationInfos, error) AuthorizationInfosWithStatus(status types.AuthorizationStatus) (storage_interface.AuthorizationInfos, error) Authorizations() ([]AuthorizationModel, error) LoadAuthorizationByURL(authURL string) (AuthorizationModel, error) FetchAllAuthorizations(updateAll bool) error ImportAuthorizationByURL(authURL string, refresh bool) (AuthorizationModel, error) GetAuthorizationByDNS(dnsIdentifier string, refresh bool) (AuthorizationModel, error) NewAuthorization(dnsIdentifier string) (AuthorizationModel, error) AuthorizeDNS(dnsIdentifier string) (AuthorizationModel, error) CertificateInfos() ([]storage_interface.CertificateInfo, error) CertificateInfosAll() ([]storage_interface.CertificateInfo, error) Certificates() ([]CertificateModel, error) CertificatesAll() ([]CertificateModel, error) LoadCertificate(locationOrName string) (CertificateModel, error) FetchAllCertificates(updateAll bool) error ImportCertificate(certURL string, refresh bool) (CertificateModel, error) NewCertificate(name string, csr pem.Block) (CertificateModel, error) }
Click to show internal directories.
Click to hide internal directories.