Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECDSAGenerator ¶
type ECDSAGenerator struct {
// contains filtered or unexported fields
}
func (*ECDSAGenerator) Generate ¶
func (g *ECDSAGenerator) Generate() (*KeyPair, error)
type Ed25519Generator ¶
type Ed25519Generator struct{}
func (*Ed25519Generator) Generate ¶
func (g *Ed25519Generator) Generate() (*KeyPair, error)
type KeyPairGenerator ¶
func NewECDSAGenerator ¶
func NewECDSAGenerator(c elliptic.Curve) KeyPairGenerator
func NewEd25519Generator ¶
func NewEd25519Generator() KeyPairGenerator
func NewRSAGenerator ¶
func NewRSAGenerator(bits int) KeyPairGenerator
type RSAGenerator ¶
type RSAGenerator struct {
// contains filtered or unexported fields
}
func (*RSAGenerator) Generate ¶
func (g *RSAGenerator) Generate() (*KeyPair, error)
Click to show internal directories.
Click to hide internal directories.