Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseEdPrivateKeyFromPEM ¶
func ParseEdPrivateKeyFromPEM(key []byte) (*ed25519.PrivateKey, error)
Types ¶
type SigningMethodEd25519 ¶
type SigningMethodEd25519 struct{}
var (
SigningMethodEdDSA *SigningMethodEd25519
)
func (*SigningMethodEd25519) Alg ¶
func (m *SigningMethodEd25519) Alg() string
func (*SigningMethodEd25519) Sign ¶
func (m *SigningMethodEd25519) Sign(signingString string, key interface{}) (string, error)
func (*SigningMethodEd25519) Verify ¶
func (m *SigningMethodEd25519) Verify(signingString, signature string, key interface{}) error
Click to show internal directories.
Click to hide internal directories.