Home
last modified time | relevance | path

Searched refs:certfile (Results 1 – 25 of 72) sorted by relevance

123

/external/curl/tests/
Dsecureserver.pl70 my $certfile; # certificate chain PEM file
187 $certfile = "$srcdir/". ($stuncert?"certs/$stuncert":"stunnel.pem");
188 $certfile = abs_path($certfile);
236 $certfile = pathhelp::sys_native_abs_path($certfile);
246 $cmd = "$stunnel -p $certfile -P $pidfile ";
253 print "pem cert file: $certfile\n";
280 print STUNCONF "cert = $certfile\n";
310 print "cert = $certfile\n";
331 chmod(0600, $certfile) if(-f $certfile);
Druntests.pl1509 my ($verbose, $ipv6, $certfile) = @_;
1541 $certfile = 'stunnel.pem' unless($certfile);
1549 $flags .= "--certfile \"$certfile\" " if($certfile ne 'stunnel.pem');
1577 $runcert{$server} = $certfile;
1767 my ($verbose, $ipv6, $certfile) = @_;
1799 $certfile = 'stunnel.pem' unless($certfile);
1807 $flags .= "--certfile \"$certfile\" " if($certfile ne 'stunnel.pem');
1835 $runcert{$server} = $certfile;
4664 my $certfile;
4666 $certfile = ($whatlist[1]) ? $whatlist[1] : 'stunnel.pem';
[all …]
/external/python/cpython3/Tools/msi/
Dsdktools.psm116 …param([string]$certname, [string]$certsha1, [string]$certfile, [string]$description, [string[]]$fi… in Sign-File()
30 if (-not $certfile) { in Sign-File() variable
31 $certfile = $env:SigningCertificateFile; in Sign-File() variable
39 } elseif ($certfile) { in Sign-File() variable
40 …SignTool sign /f $certfile /fd sha256 /t http://timestamp.verisign.com/scripts/timestamp.dll /d $d… in Sign-File() variable
Dsign_build.ps123 [string]$certfile variable
31 …Sign-File -certname $certname -certsha1 $certsha1 -certfile $certfile -description $description -f…
Dmake_cat.ps122 [string]$certfile variable
34 Sign-File -certname $certname -certsha1 $certsha1 -certfile $certfile -description $description -fi…
Dmake_appx.ps128 [string]$certfile variable
66 …Sign-File -certname $certname -certsha1 $certsha1 -certfile $certfile -description $description -f…
/external/python/cpython2/Lib/
Dssl.py466 certfile=None, keyfile=None, argument
489 if keyfile and not certfile:
491 if certfile or keyfile:
492 context.load_cert_chain(certfile, keyfile)
535 def __init__(self, sock=None, keyfile=None, certfile=None, argument
548 if server_side and not certfile:
551 if keyfile and not certfile:
553 if certfile and not keyfile:
554 keyfile = certfile
559 if certfile:
[all …]
Dpoplib.py338 def __init__(self, host, port = POP3_SSL_PORT, keyfile = None, certfile = None): argument
342 self.certfile = certfile
360 self.sslobj = ssl.wrap_socket(self.sock, self.keyfile, self.certfile)
Dsmtplib.py626 def starttls(self, keyfile=None, certfile=None): argument
650 self.sock = ssl.wrap_socket(self.sock, keyfile, certfile)
798 keyfile=None, certfile=None, argument
801 self.certfile = certfile
808 new_socket = ssl.wrap_socket(new_socket, self.keyfile, self.certfile)
Dftplib.py661 certfile=None, context=None, argument
666 if context is not None and certfile is not None:
670 self.certfile = certfile
673 certfile=certfile,
/external/python/cpython3/Lib/
Dpoplib.py429 def __init__(self, host, port=POP3_SSL_PORT, keyfile=None, certfile=None, argument
434 if context is not None and certfile is not None:
437 if keyfile is not None or certfile is not None:
442 self.certfile = certfile
444 context = ssl._create_stdlib_context(certfile=certfile,
455 def stls(self, keyfile=None, certfile=None, context=None): argument
Dsmtplib.py732 def starttls(self, keyfile=None, certfile=None, context=None): argument
760 if context is not None and certfile is not None:
763 if keyfile is not None or certfile is not None:
768 context = ssl._create_stdlib_context(certfile=certfile,
1011 keyfile=None, certfile=None, argument
1017 if context is not None and certfile is not None:
1020 if keyfile is not None or certfile is not None:
1025 self.certfile = certfile
1027 context = ssl._create_stdlib_context(certfile=certfile,
Dftplib.py725 certfile=None, context=None, argument
730 if context is not None and certfile is not None:
733 if keyfile is not None or certfile is not None:
738 self.certfile = certfile
741 certfile=certfile,
Dssl.py583 certfile=None, keyfile=None, argument
607 if keyfile and not certfile:
609 if certfile or keyfile:
610 context.load_cert_chain(certfile, keyfile)
1199 def wrap_socket(sock, keyfile=None, certfile=None, argument
1206 if server_side and not certfile:
1209 if keyfile and not certfile:
1215 if certfile:
1216 context.load_cert_chain(certfile, keyfile)
Dimaplib.py1271 certfile=None, ssl_context=None): argument
1275 if ssl_context is not None and certfile is not None:
1278 if keyfile is not None or certfile is not None:
1283 self.certfile = certfile
1285 ssl_context = ssl._create_stdlib_context(certfile=certfile,
/external/autotest/client/cros/
Downership.py288 certfile = scoped_tempfile.tempdir.name + '/cert.pem'
290 OPENSSLREQ, '/CN=me', keyfile, certfile)
292 return (keyfile, certfile)
305 certfile = scoped_tempfile(certpath)
307 cert_extract_pubkey_der(certfile.name))
310 def push_to_nss(keyfile, certfile, nssdb): argument
322 OPENSSLP12, certfile, keyfile, for_push.name)
/external/fsverity-utils/
Dsign.c62 static X509 *read_certificate(const char *certfile) in read_certificate() argument
67 bio = BIO_new_file(certfile, "r"); in read_certificate()
69 error_msg_openssl("can't open '%s' for reading", certfile); in read_certificate()
76 certfile); in read_certificate()
380 const char *keyfile, const char *certfile, in sign_data() argument
393 cert = read_certificate(certfile); in sign_data()
/external/tensorflow/tensorflow/contrib/ignite/python/ops/
Dignite_dataset_ops.py99 def __init__(self, host, port, certfile=None, keyfile=None, password=None): argument
119 if certfile is not None:
121 context.load_cert_chain(certfile, keyfile, password)
336 certfile=None, argument
354 TcpClient.__init__(self, host, port, certfile, keyfile, cert_password)
716 certfile=None, argument
738 with IgniteClient(host, port, username, password, certfile, keyfile,
/external/tensorflow/tensorflow/contrib/ignite/kernels/dataset/
Dignite_dataset_ops.cc82 string certfile = ""; in MakeDataset() local
150 if (env_certfile) certfile = string(env_certfile); in MakeDataset()
188 std::move(certfile), std::move(keyfile), std::move(cert_password), in MakeDataset()
Dignite_dataset.cc24 string certfile, string keyfile, in IgniteDataset() argument
38 certfile_(std::move(certfile)), in IgniteDataset()
/external/tensorflow/tensorflow/contrib/ignite/kernels/client/
Dignite_ssl_wrapper.cc32 SslWrapper::SslWrapper(std::shared_ptr<Client> client, string certfile, in SslWrapper() argument
36 certfile_(std::move(certfile)), in SslWrapper()
Dignite_ssl_wrapper.h27 SslWrapper(std::shared_ptr<Client> client, string certfile, string keyfile,
/external/python/cpython2/Lib/test/
Dtest_ssl.py364 ssl.wrap_socket, sock, server_side=True, certfile="")
365 with closing(ssl.wrap_socket(sock, server_side=True, certfile=CERTFILE)) as s:
370 ssl.wrap_socket(sock, certfile=NONEXISTINGCERT)
375 certfile=CERTFILE, keyfile=NONEXISTINGCERT)
380 certfile=NONEXISTINGCERT, keyfile=NONEXISTINGCERT)
383 def bad_cert_test(self, certfile): argument
385 certfile = os.path.join(os.path.dirname(__file__) or os.curdir,
386 certfile)
391 certfile=certfile,
562 with closing(ssl.wrap_socket(s, server_side=True, certfile=CERTFILE)) as ss:
[all …]
Dssl_servers.py150 def make_https_server(case, context=None, certfile=CERTFILE, argument
155 context.load_cert_chain(certfile)
/external/python/cpython3/Lib/test/
Dssl_servers.py149 def make_https_server(case, *, context=None, certfile=CERTFILE, argument
154 context.load_cert_chain(certfile)

123