MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / getCerts

Method getCerts

modules/crypt/ssl/ssl_cert.js:64–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 this.#clientKey = options.clientKey;
63 }
64 getCerts() {
65 // return the self certs
66 return [getResource("srvcert.der")];
67 }
68 getKey(cert) {
69 // look for the key corresponding to the cert
70 // first, search in the registed cert

Callers 2

handshakeMethod · 0.80
handshakeMethod · 0.80

Calls 1

getResourceFunction · 0.85

Tested by

no test coverage detected