Skip to main content

Secp256k1VerifyingKeyInterface

type Secp256k1VerifyingKeyInterface

type Secp256k1VerifyingKeyInterface interface {
PublicKey() *Secp256k1PublicKey
// Serialize this public key as DER-encoded data
ToDer() ([]byte, error)
// Serialize this public key into PEM
ToPem() (string, error)
Verify(message []byte, signature *Secp256k1Signature) error
VerifySimple(message []byte, signature *SimpleSignature) error
VerifyUser(message []byte, signature *UserSignature) error
}