Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodePrivate ¶
func EncodePrivate(privKey *ecdsa.PrivateKey) (string, error)
Types ¶
type Lego ¶
type Lego struct {
// contains filtered or unexported fields
}
func (*Lego) CreateCert ¶
func (*Lego) SetProvider ¶
type User ¶
type User struct { Email string `json:"Email"` Registration *registration.Resource `json:"Registration"` KeyEncoded string `json:"Key"` // contains filtered or unexported fields }
func (*User) DecodePrivate ¶
func (u *User) DecodePrivate(pemEncodedPriv string) (*ecdsa.PrivateKey, error)
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.