MCPcopy
hub / github.com/golang-jwt/jwt / SigningMethodHMAC

Struct SigningMethodHMAC

hmac.go:11–14  ·  hmac.go::SigningMethodHMAC

SigningMethodHMAC implements the HMAC-SHA family of signing methods. Expects key type of []byte for both signing and validation

Source from the content-addressed store, hash-verified

9// SigningMethodHMAC implements the HMAC-SHA family of signing methods.
10// Expects key type of []byte for both signing and validation
11type SigningMethodHMAC struct {
12 Name string
13 Hash crypto.Hash
14}
15
16// Specific instances for HS256 and company
17var (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected