Lines Matching defs:const
23 const common = require('../common');
34 const assert = require('assert');
35 const crypto = require('crypto');
36 const tls = require('tls');
37 const fixtures = require('../common/fixtures');
40 const certPfx = fixtures.readKey('rsa_cert.pfx');
45 const credentials = tls.createSecureContext();
46 const context = credentials.context;
47 const notcontext = { setOptions: context.setOptions };
110 const sorted = [...list].sort();
121 const cryptoCiphers = crypto.getCiphers();
125 for (const algo of cryptoCiphers) {
126 const { ivLength, keyLength, mode } = crypto.getCipherInfo(algo);
139 const tlsCiphers = tls.getCiphers();
143 const noCapitals = /^[^A-Z]+$/;
157 for (const algo of crypto.getHashes())
169 const list = fn();
170 const copy = [...list];
180 const encodingError = {
224 const priv = [
258 const sha1_privateKey = fixtures.readKey('rsa_private_pkcs8_bad.pem',
297 const hash = crypto.createHash('sha256', options);
313 const assertionHashUtf8 =
317 const assertionHashLatin1 =