Home
last modified time | relevance | path

Searched refs:server_certs (Results 1 – 7 of 7) sorted by relevance

/external/scapy/scapy/layers/tls/
Dhandshake_sslv2.py194 s.server_certs = [self.cert]
305 len(self.tls_session.server_certs) > 0):
318 pubkey = self.tls_session.server_certs[0].pubKey
455 len(s.server_certs) > 0)
460 s.server_certs[0].der)
474 len(s.server_certs) > 0)
478 s.server_certs[0].der)
Dhandshake.py619 self.tls_session.server_certs = [x[1] for x in self.certs]
655 self.tls_session.server_certs = sc
746 s.server_certs and len(s.server_certs) > 0):
748 sig_test = self.sig._verify_sig(m, s.server_certs[0])
887 if s.server_certs and len(s.server_certs) > 0:
888 sig_test = self.sig._verify_sig(m, s.server_certs[0])
Dkeyexchange.py893 elif s.server_certs is not None and len(s.server_certs) > 0:
894 enc = s.server_certs[0].encrypt(pkt, t="pkcs")
Dautomaton_srv.py174 self.cur_session.server_certs = [self.mycert]
260 self.add_msg(TLSCertificate(certs=self.cur_session.server_certs))
Dautomaton_cli.py123 if s.server_certs:
124 self.vprint("Server certificate chain: %r" % s.server_certs)
Dsession.py358 self.server_certs = []
/external/curl/lib/vtls/
Dsectransp.c2720 CFArrayRef server_certs = NULL; local
2731 #pragma unused(server_certs)
2757 #pragma unused(server_certs)
2778 err = SSLCopyPeerCertificates(backend->ssl_ctx, &server_certs);
2780 if(err == noErr && server_certs) {
2781 count = CFArrayGetCount(server_certs);
2785 server_cert = (SecCertificateRef)CFArrayGetValueAtIndex(server_certs,
2793 CFRelease(server_certs);
2800 err = SSLCopyPeerCertificates(backend->ssl_ctx, &server_certs);
2802 count = CFArrayGetCount(server_certs);
[all …]