Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PubKeyFromProto ¶
PubKeyFromProto takes a protobuf Pubkey and transforms it to a crypto.Pubkey.
Types ¶
type ErrInvalidKeyLen ¶ added in v1.0.0
InvalidKeyLen describes an error resulting from the use of a key with an invalid length in PubKeyFromProto.
func (ErrInvalidKeyLen) Error ¶ added in v1.0.0
func (e ErrInvalidKeyLen) Error() string
type ErrUnsupportedKey ¶ added in v1.0.0
type ErrUnsupportedKey struct {
Key any
}
ErrUnsupportedKey describes an error resulting from the use of an unsupported key in PubKeyToProto or PubKeyFromProto.
func (ErrUnsupportedKey) Error ¶ added in v1.0.0
func (e ErrUnsupportedKey) Error() string
Click to show internal directories.
Click to hide internal directories.