Home
last modified time | relevance | path

Searched refs:cleartext (Results 1 - 13 of 13) sorted by relevance

/third_party/node/test/parallel/
H A Dtest-tls-securepair-server.js51 assert.ok(pair.cleartext.writable);
60 pair.cleartext.write('hello\r\n');
61 log(pair.cleartext.getPeerCertificate());
62 log(pair.cleartext.getCipher());
65 pair.cleartext.on('data', function(data) {
67 pair.cleartext.write(data);
74 pair.cleartext.on('error', function(err) {
H A Dtest-https-timeout-server-2.js40 server.on('secureConnection', function(cleartext) {
41 const s = cleartext.setTimeout(50, function() {
42 cleartext.destroy();
H A Dtest-tls-timeout-server-2.js36 const server = tls.createServer(options, common.mustCall(function(cleartext) {
37 const s = cleartext.setTimeout(50, function() {
38 cleartext.destroy();
H A Dtest-tls-peer-certificate-multi-keys.js36 const server = tls.createServer(options, function(cleartext) {
37 cleartext.end('World');
H A Dtest-tls-peer-certificate-encoding.js38 const server = tls.createServer(options, (cleartext) => {
39 cleartext.end('World');
H A Dtest-tls-ocsp-callback.js61 const server = tls.createServer(options, common.mustCall((cleartext) => {
62 cleartext.on('error', function(er) {
69 cleartext.end();
H A Dtest-tls-session-cache.js60 const server = tls.createServer(options, function(cleartext) {
61 cleartext.on('error', function(er) {
69 cleartext.end('');
H A Dtest-tls-getcertificate-x509.js16 const server = tls.createServer(options, function(cleartext) {
17 cleartext.end('World');
/third_party/node/test/sequential/
H A Dtest-tls-securepair-client.js54 assert.strictEqual(pair.cleartext.getPeerCertificate().ext_key_usage.length,
56 assert.strictEqual(pair.cleartext.getPeerCertificate().ext_key_usage[0],
134 assert.ok(pair.cleartext.writable);
144 pair.cleartext.write('hello\r\n', function() {
152 console.log('client pair.cleartext.getPeerCertificate(): %j',
153 pair.cleartext.getPeerCertificate());
154 console.log('client pair.cleartext.getCipher(): %j',
155 pair.cleartext.getCipher());
159 pair.cleartext.on('data', function(d) {
160 console.log('cleartext
[all...]
H A Dtest-tls-session-timeout.js112 const server = tls.createServer(options, (cleartext) => {
113 cleartext.on('error', (er) => {
117 cleartext.end();
/third_party/node/lib/internal/tls/
H A Dsecure-pair.js69 this.cleartext = new _tls_wrap.TLSSocket(socket2, {
76 this.cleartext.once('secure', () => this.emit('secure'));
80 this.cleartext.destroy();
/third_party/node/benchmark/tls/
H A Dsecure-pair.js94 serverPair.cleartext.pipe(client);
/third_party/openssl/test/
H A Dmodes_internal_test.c194 unsigned char cleartext[64], ciphertext[64], vector[64]; in execute_cts128() local
212 size = fixture->decrypt_block(ciphertext, cleartext, len, in execute_cts128()
216 || !TEST_mem_eq(cleartext, len, test_input, len) in execute_cts128()
232 if (!TEST_size_t_eq(fixture->decrypt_stream(ciphertext, cleartext, len, in execute_cts128()
236 || !TEST_mem_eq(cleartext, len, test_input, len) in execute_cts128()

Completed in 8 milliseconds