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

Function parsePublicKeyEncoding

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

Source from the content-addressed store, hash-verified

501// when this is used to parse an input encoding and must be a valid key type if
502// used to parse an output encoding.
503function parsePublicKeyEncoding(enc, keyType, objName) {
504 return parseKeyEncoding(enc, keyType, keyType ? true : undefined, objName);
505}
506
507// Parses the private key encoding based on an object. keyType must be undefined
508// when this is used to parse an input encoding and must be a valid key type if

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…