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

Method Verify

util/csjwt/signing_method.go:26–26  ·  view source on GitHub ↗

Verify returns nil if signature is valid

(signingString, signature []byte, key Key)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

VerifyMethod · 0.65
TestHMACVerifyFunction · 0.65
benchmarkMethodVerifyFunction · 0.65
ParseMethod · 0.65
TestRSAPSSVerifyFunction · 0.65
TestECDSAVerifyFunction · 0.65
TestRSAVerifyFunction · 0.65
TestHMACVerifyFastFunction · 0.65

Implementers 4

SigningMethodRSAutil/csjwt/rsa.go
SigningMethodECDSAutil/csjwt/ecdsa.go
SigningMethodHMACutil/csjwt/hmac_sha.go
SigningMethodHSFastutil/csjwt/hmac_fast_sha.go

Calls

no outgoing calls

Tested by 7

TestHMACVerifyFunction · 0.52
benchmarkMethodVerifyFunction · 0.52
TestRSAPSSVerifyFunction · 0.52
TestECDSAVerifyFunction · 0.52
TestRSAVerifyFunction · 0.52
TestHMACVerifyFastFunction · 0.52