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

Function SigningMethodFactory

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

SigningMethodFactory creates a new signing method by an algorithm. Supported algorithms are: ES, HS, PS and RS, all within 256-512 and they do not need a symmetric key. Returns an error for an unknown signing method.

(alg string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

MustSigningMethodFactoryFunction · 0.85

Calls 12

NewSigningMethodES256Function · 0.85
NewSigningMethodES384Function · 0.85
NewSigningMethodES512Function · 0.85
NewSigningMethodHS256Function · 0.85
NewSigningMethodHS384Function · 0.85
NewSigningMethodHS512Function · 0.85
NewSigningMethodPS256Function · 0.85
NewSigningMethodPS384Function · 0.85
NewSigningMethodPS512Function · 0.85
NewSigningMethodRS256Function · 0.85
NewSigningMethodRS384Function · 0.85
NewSigningMethodRS512Function · 0.85

Tested by

no test coverage detected