Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrMissingOrBadBlock is thrown when the PEM cannot be correctly decoded ErrMissingOrBadBlock = errors.New("failed to parse PEM block containing the key") // ErrKeyUnknown is thrown when the key type is not ed25519 ErrKeyUnknown = errors.New("unexpected or unknown type of key") )
Functions ¶
func MarshalED25519PublicKey ¶
MarshalED25519PublicKey converts a crypto.ed25519 PublicKey into a string
func ParseED25519PrivateKey ¶
ParseED25519PrivateKey attempts to parse a crypto.ed25519 PrivateKey from a given byte slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.