Versions in this module Expand all Collapse all v0 v0.1.1 Jan 16, 2023 v0.1.0 Jan 11, 2023 Changes in this version + type Cert struct + Private []byte + Public []byte + func NewCert(c Config, hash crypto.Hash, bits int, headers ...string) (*Cert, error) + func NewCertSHA512(c Config, headers ...string) (*Cert, error) + type Config struct + Comment string + Email string + Name string + type Signer interface + PublicKey func() ([]byte, error) + PublicKeyBase64 func() ([]byte, error) + SetHash func(hash crypto.Hash, bits int) + SetKey func(b []byte, passwd string) error + SetKeyFromFile func(filename string, passwd string) error + Sign func(in io.Reader, out io.Writer) error + func New() Signer