MCPcopy Index your code
hub / github.com/nodejs/node / parsePrivateKeyEncoding

Function parsePrivateKeyEncoding

lib/internal/crypto/keys.js:510–512  ·  view source on GitHub ↗
(enc, keyType, objName)

Source from the content-addressed store, hash-verified

508// when this is used to parse an input encoding and must be a valid key type if
509// used to parse an output encoding.
510function parsePrivateKeyEncoding(enc, keyType, objName) {
511 return parseKeyEncoding(enc, keyType, false, objName);
512}
513
514function validateAsymmetricKeyType(type, ctx, key) {
515 if (ctx === kCreatePrivate) {

Callers 2

exportMethod · 0.85
parseKeyEncodingFunction · 0.85

Calls 1

parseKeyEncodingFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…