Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicSignVerifier ¶
type BasicSignVerifier struct {
// contains filtered or unexported fields
}
func NewBasicSignVerifier ¶
func NewBasicSignVerifier(privateKey []byte) *BasicSignVerifier
func (*BasicSignVerifier) SignMessage ¶
func (s *BasicSignVerifier) SignMessage(message string) (string, error)
func (*BasicSignVerifier) VerifySignature ¶
func (s *BasicSignVerifier) VerifySignature(message, signature string) (bool, error)
Click to show internal directories.
Click to hide internal directories.