Versions in this module Expand all Collapse all v0 v0.2.0 Feb 26, 2019 v0.1.0 Aug 20, 2018 Changes in this version + const PureED25519 + const SignaturePEMLabel + var ErrIntOverflowSignature = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthSignature = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidSignature = errors.New("signature verification failed") + var ErrNotImplemented = errors.New("Unhandled signature algorithm") + func Verify(signature *Signature) error + type Signature struct + Message []byte + PublicKey []byte + Signature []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func ParseSignature(sigBytes []byte) (*Signature, error) + func Sign(secretKey, msg []byte) (*Signature, error) + func (*Signature) Descriptor() ([]byte, []int) + func (*Signature) ProtoMessage() + func (dst *Signature) XXX_Merge(src proto.Message) + func (m *Signature) GetMessage() []byte + func (m *Signature) GetPublicKey() []byte + func (m *Signature) GetSignature() []byte + func (m *Signature) Marshal() (dAtA []byte, err error) + func (m *Signature) MarshalTo(dAtA []byte) (int, error) + func (m *Signature) Reset() + func (m *Signature) Size() (n int) + func (m *Signature) String() string + func (m *Signature) Unmarshal(dAtA []byte) error + func (m *Signature) XXX_DiscardUnknown() + func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Signature) XXX_Size() int + func (m *Signature) XXX_Unmarshal(b []byte) error + func (s *Signature) Encode() ([]byte, error)