MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / setSslOptions

Method setSslOptions

lib/datastax/cloud/index.js:79–86  ·  view source on GitHub ↗

* The sslOptions in the client options from a given map. * @param {Map } zipEntries

(zipEntries)

Source from the content-addressed store, hash-verified

77 * @param {Map<String, Buffer>} zipEntries
78 */
79 setSslOptions(zipEntries) {
80 this.clientOptions.sslOptions = Object.assign({
81 ca: [zipEntries.get('ca.crt') ],
82 cert: zipEntries.get('cert'),
83 key: zipEntries.get('key'),
84 rejectUnauthorized: true
85 }, this.clientOptions.sslOptions);
86 }
87
88 /**
89 *

Callers 1

parseZipFileFunction · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected