Documentation ¶
Index ¶
- func CertExists() (bool, bool, bool)
- func ChangeToDefault(https, wss bool)
- func GetACMEFileNames(domainName string, dirName string) (string, string, string, string)
- func NewCertManager() (*certManager, error)
- func PrepareCerts() (chan struct{}, chan struct{})
- func VerifyCertificate(certPath, keyPath, domain string) (bool, error)
- func VerifyLocalCertificate(certPath string, keyPath string, domain string) (bool, error)
- func VerifyOCSP(bundle []byte) (bool, error)
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertExists ¶
func ChangeToDefault ¶
func ChangeToDefault(https, wss bool)
func GetACMEFileNames ¶
func NewCertManager ¶
func NewCertManager() (*certManager, error)
func PrepareCerts ¶
func PrepareCerts() (chan struct{}, chan struct{})
func VerifyCertificate ¶
func VerifyLocalCertificate ¶
func VerifyOCSP ¶
Types ¶
type User ¶
type User struct { Domain string Email string Registration *registration.Resource Key *rsa.PrivateKey }
You'll need a User or account type that implements acme.User
func (*User) GetPrivateKey ¶
func (u *User) GetPrivateKey() crypto.PrivateKey
func (User) GetRegistration ¶
func (u User) GetRegistration() *registration.Resource
func (*User) SaveToDisk ¶
Click to show internal directories.
Click to hide internal directories.