Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CertFolder string
Functions ¶
func LoadCertResource ¶
func LoadCertResource(domain string) (*certificate.Resource, error)
func ObtainCert ¶
func ObtainCert(email string, domain []string) (*certificate.Resource, error)
Types ¶
type Cert ¶
type Cert struct { CertID string `json:"SerialNumber"` DNSNames []string `json:"DNSNames"` NotBefore time.Time `json:"NotBefore"` NotAfter time.Time `json:"NotAfter"` }
func GetCertInfo ¶
func GetCertInfo(cert certificate.Resource) (*Cert, error)
type User ¶
type User struct { Email string Registration *registration.Resource // contains filtered or unexported fields }
func (User) GetPrivateKey ¶
func (u User) GetPrivateKey() crypto.PrivateKey
func (User) GetRegistration ¶
func (u User) GetRegistration() *registration.Resource
Click to show internal directories.
Click to hide internal directories.