Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidKind = errors.New("invalid kind")
ErrInvalidKind for key.
View Source
var Module = fx.Options( fx.Provide(NewRSA), fx.Provide(NewEd25519), fx.Provide(NewGenerator), )
Module for fx.
Functions ¶
This section is empty.
Types ¶
type Ed25519 ¶ added in v1.10.3
type Ed25519 struct {
// contains filtered or unexported fields
}
Ed25519 for key.
func (*Ed25519) PrivateKey ¶ added in v1.105.0
func (e *Ed25519) PrivateKey() (ed25519.PrivateKey, error)
PrivateKey for Ed25519.
type Generator ¶ added in v1.10.3
type Generator struct {
// contains filtered or unexported fields
}
Generator of key pairs.
func NewGenerator ¶ added in v1.10.3
NewGenerator of key pairs.
Click to show internal directories.
Click to hide internal directories.