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

Function WithRSAPublicKeyFromFile

util/csjwt/keys.go:146–153  ·  view source on GitHub ↗

WithRSAPublicKeyFromFile parses PEM encoded PKCS1 or PKCS8 public key found in a file.

(pathToFile string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestKeyParsingFunction · 0.85

Calls 1

WithRSAPublicKeyFromPEMFunction · 0.85

Tested by 1

TestKeyParsingFunction · 0.68