func (a *Account) GetPrivateKey() crypto.PrivateKey {
	return a.key
}
GetPrivateKey returns the private RSA account key.
package cmd
import (
	"crypto"
	"github.com/go-acme/lego/v4/registration"
)
type Account struct {
	Email        string                 `json:"email"`
	Registration *registration.Resource `json:"registration"`
	key          crypto.PrivateKey
}
func (a *Account) GetEmail() string {
	return a.Email
}