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

Function isRs

cmd/jwt/main.go:302–304  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

300}
301
302func isRs() bool {
303 return strings.HasPrefix(*flagAlg, "RS") || strings.HasPrefix(*flagAlg, "PS")
304}
305
306func isEd() bool {
307 return *flagAlg == "EdDSA"

Callers 2

verifyTokenFunction · 0.85
signTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected