Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + func MustEC256() *ecdsa.PrivateKey + func MustEC384() *ecdsa.PrivateKey + func MustRSA2048() *rsa.PrivateKey + func MustRSA4096() *rsa.PrivateKey + func NewEC256(tb testing.TB) *ecdsa.PrivateKey + func NewEC384(tb testing.TB) *ecdsa.PrivateKey + func NewRSA2048(tb testing.TB) *rsa.PrivateKey + func NewRSA4096(tb testing.TB) *rsa.PrivateKey + type Generator struct + func (g *Generator) GenerateEC256Key() (*ecdsa.PrivateKey, error) + func (g *Generator) GenerateEC384Key() (*ecdsa.PrivateKey, error) + func (g *Generator) GenerateRSA2048Key() (*rsa.PrivateKey, error) + func (g *Generator) GenerateRSA4096Key() (*rsa.PrivateKey, error) + type Keys struct + func (ks *Keys) MustEC256() *ecdsa.PrivateKey + func (ks *Keys) MustEC384() *ecdsa.PrivateKey + func (ks *Keys) MustRSA2048() *rsa.PrivateKey + func (ks *Keys) MustRSA4096() *rsa.PrivateKey + func (ks *Keys) NewEC256(tb testing.TB) *ecdsa.PrivateKey + func (ks *Keys) NewEC384(tb testing.TB) *ecdsa.PrivateKey + func (ks *Keys) NewRSA2048(tb testing.TB) *rsa.PrivateKey + func (ks *Keys) NewRSA4096(tb testing.TB) *rsa.PrivateKey + func (ks *Keys) NextEC256() (*ecdsa.PrivateKey, error) + func (ks *Keys) NextEC384() (*ecdsa.PrivateKey, error) + func (ks *Keys) NextRSA2048() (*rsa.PrivateKey, error) + func (ks *Keys) NextRSA4096() (*rsa.PrivateKey, error)