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

Method toString

lib/internal/crypto/x509.js:328–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

326 }
327
328 toString() {
329 let value = this[kInternalState].get('pem');
330 if (value === undefined) {
331 value = this[kHandle].pem();
332 this[kInternalState].set('pem', value);
333 }
334 return value;
335 }
336
337 // There's no standardized JSON encoding for X509 certs so we
338 // fallback to providing the PEM encoding as a string.

Callers 4

toJSONMethod · 0.95
hash.jsFile · 0.45
sig.jsFile · 0.45
encodeFunction · 0.45

Calls 2

getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected