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

Function WithECPrivateKeyFromFile

util/csjwt/keys.go:245–252  ·  view source on GitHub ↗

WithECPrivateKeyFromFile parses file PEM encoded Elliptic Curve Private Key Structure. Public key will be derived from the private key. Provide a password as a second argument when the private key is encrypted. Public key will be derived from the private key.

(pathToFile string, password ...[]byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestKeyParsingFunction · 0.85

Calls 1

WithECPrivateKeyFromPEMFunction · 0.85

Tested by 1

TestKeyParsingFunction · 0.68