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

Method Sign

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

Sign returns encoded signature or error

(signingString []byte, key Key)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

SignMethod · 0.65
TestHMACSignFunction · 0.65
TestRSAPSSSignFunction · 0.65
TestECDSASignFunction · 0.65
TestRSASignFunction · 0.65
SignedStringMethod · 0.65
TestHMACSignFastFunction · 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 6

TestHMACSignFunction · 0.52
TestRSAPSSSignFunction · 0.52
TestECDSASignFunction · 0.52
TestRSASignFunction · 0.52
TestHMACSignFastFunction · 0.52