github.com/storacha/go-ucanto@v0.7.2/ucan/crypto/signature/verifier.go (about)

     1  package signature
     2  
     3  // Verifier represents an entity that can verify signatures.
     4  type Verifier interface {
     5  	// Verify takes a byte encoded message and verifies that it is signed by
     6  	// corresponding signer.
     7  	Verify(msg []byte, sig Signature) bool
     8  }