MCPcopy Create free account
hub / github.com/corestoreio/pkg / Verify

Method Verify

util/csjwt/hmac_sha.go:47–81  ·  view source on GitHub ↗

Verify the signature of HSXXX tokens. Returns nil if the signature is valid. For the key you can use any of the WithPassword*() functions. Error behaviour: Empty, NotImplemented, WriteFailed, NotValid.

(signingString, signature []byte, key Key)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

DecodeSegmentFunction · 0.85
NewMethod · 0.65
WriteMethod · 0.65
EqualMethod · 0.45
SumMethod · 0.45

Tested by

no test coverage detected