MCPcopy Create free account
hub / github.com/SermoDigital/jose / Verify

Method Verify

crypto/none.go:47–49  ·  view source on GitHub ↗

Verify helps implement the SigningMethod interface.

(_ []byte, _ Signature, _ interface{})

Source from the content-addressed store, hash-verified

45
46// Verify helps implement the SigningMethod interface.
47func (_ *SigningMethodNone) Verify(_ []byte, _ Signature, _ interface{}) error {
48 return nil
49}
50
51// Sign helps implement the SigningMethod interface.
52func (_ *SigningMethodNone) Sign(_ []byte, _ interface{}) (Signature, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected