Searched refs:server_certs (Results 1 – 7 of 7) sorted by relevance
194 s.server_certs = [self.cert]305 len(self.tls_session.server_certs) > 0):318 pubkey = self.tls_session.server_certs[0].pubKey455 len(s.server_certs) > 0)460 s.server_certs[0].der)474 len(s.server_certs) > 0)478 s.server_certs[0].der)
619 self.tls_session.server_certs = [x[1] for x in self.certs]655 self.tls_session.server_certs = sc746 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])
893 elif s.server_certs is not None and len(s.server_certs) > 0:894 enc = s.server_certs[0].encrypt(pkt, t="pkcs")
174 self.cur_session.server_certs = [self.mycert]260 self.add_msg(TLSCertificate(certs=self.cur_session.server_certs))
123 if s.server_certs:124 self.vprint("Server certificate chain: %r" % s.server_certs)
358 self.server_certs = []
2720 CFArrayRef server_certs = NULL; local2731 #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 …]