var github.com/golang-jwt/jwt/v5.ErrInvalidKeyType
11 uses
github.com/golang-jwt/jwt/v5 (current package)
ecdsa.go#L65: return newError("ECDSA verify expects *ecdsa.PublicKey", ErrInvalidKeyType)
ecdsa.go#L99: return nil, newError("ECDSA sign expects *ecdsa.PrivateKey", ErrInvalidKeyType)
ed25519.go#L41: return newError("Ed25519 verify expects ed25519.PublicKey", ErrInvalidKeyType)
ed25519.go#L63: return nil, newError("Ed25519 sign expects crypto.Signer", ErrInvalidKeyType)
errors.go#L10: ErrInvalidKeyType = errors.New("key is of invalid type")
hmac.go#L62: return newError("HMAC verify expects []byte", ErrInvalidKeyType)
hmac.go#L103: return nil, newError("HMAC sign expects []byte", ErrInvalidKeyType)
rsa.go#L54: return newError("RSA verify expects *rsa.PublicKey", ErrInvalidKeyType)
rsa.go#L76: return nil, newError("RSA sign expects *rsa.PrivateKey", ErrInvalidKeyType)
rsa_pss.go#L91: return newError("RSA-PSS verify expects *rsa.PublicKey", ErrInvalidKeyType)
rsa_pss.go#L118: return nil, newError("RSA-PSS sign expects *rsa.PrivateKey", ErrInvalidKeyType)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |