Searched refs:peerCert (Results 1 – 13 of 13) sorted by relevance
/external/chromium_org/net/third_party/nss/patches/ |
D | cachecerts.patch | 14 if (sid->peerCert != NULL) { 15 ss->sec.peerCert = CERT_DupCertificate(sid->peerCert); 22 if (sid->peerCert != NULL) { 23 ss->sec.peerCert = CERT_DupCertificate(sid->peerCert); 76 ss->sec.ci.sid->peerCert = CERT_DupCertificate(ss->sec.peerCert); 80 CERTCertificate *cert = ss->sec.peerCert; 93 CERTCertificate * peerCert; 110 if ( sid->peerCert ) { 111 CERT_DestroyCertificate(sid->peerCert);
|
D | peercertchain2.patch | 70 - if (ss->sec.peerCert == NULL) { 73 + if (!ss->opt.useSecurity || !ss->sec.peerCert) { 80 - certs[0] = CERT_DupCertificate(ss->sec.peerCert); 86 + cert = CERT_DupCertificate(ss->sec.peerCert);
|
D | peercertchain.patch | 24 + if (ss->sec.peerCert == NULL) { 31 + certs[0] = CERT_DupCertificate(ss->sec.peerCert);
|
/external/chromium_org/net/third_party/nss/ssl/ |
D | sslauth.c | 24 if (ss->opt.useSecurity && ss->sec.peerCert) { in SSL_PeerCertificate() 25 return CERT_DupCertificate(ss->sec.peerCert); in SSL_PeerCertificate() 45 if (!ss->opt.useSecurity || !ss->sec.peerCert) { in SSL_PeerCertificateChain() 53 cert = CERT_DupCertificate(ss->sec.peerCert); in SSL_PeerCertificateChain() 157 cert = ss->sec.peerCert; in SSL_SecurityStatus() 302 CERT_CacheOCSPResponseFromSideChannel(handle, ss->sec.peerCert, in SSL_AuthCertificate() 310 rv = CERT_VerifyCert(handle, ss->sec.peerCert, checkSig, certUsage, in SSL_AuthCertificate() 322 rv = CERT_VerifyCertName(ss->sec.peerCert, hostname); in SSL_AuthCertificate()
|
D | sslreveal.c | 27 if (sslsocket && sslsocket->sec.peerCert) in SSL_RevealCert() 28 cert = CERT_DupCertificate(sslsocket->sec.peerCert); in SSL_RevealCert()
|
D | sslnonce.c | 146 if ( sid->peerCert ) { in ssl_DestroySID() 147 CERT_DestroyCertificate(sid->peerCert); in ssl_DestroySID() 247 ((sid->peerCert != NULL) && (SECSuccess == in ssl_LookupSID() 248 CERT_VerifyCertName(sid->peerCert, urlSvrName))) ) in ssl_LookupSID()
|
D | sslsecur.c | 949 ss->sec.peerCert = CERT_DupCertificate(os->sec.peerCert); in ssl_CopySecurityInfo() 950 if (os->sec.peerCert && !ss->sec.peerCert) in ssl_CopySecurityInfo() 1029 if (sec->peerCert) { in ssl_ResetSecurityInfo() 1030 CERT_DestroyCertificate(sec->peerCert); in ssl_ResetSecurityInfo() 1031 sec->peerCert = NULL; in ssl_ResetSecurityInfo()
|
D | ssl3ext.c | 1016 cert_length = (ss->opt.requestCertificate && ss->sec.ci.sid->peerCert) ? in ssl3_SendNewSessionTicket() 1017 3 + ss->sec.ci.sid->peerCert->derCert.len : 0; in ssl3_SendNewSessionTicket() 1151 if (ss->opt.requestCertificate && ss->sec.ci.sid->peerCert) { in ssl3_SendNewSessionTicket() 1155 ss->sec.ci.sid->peerCert->derCert.len, 3); in ssl3_SendNewSessionTicket() 1158 ss->sec.ci.sid->peerCert->derCert.data, in ssl3_SendNewSessionTicket() 1159 ss->sec.ci.sid->peerCert->derCert.len); in ssl3_SendNewSessionTicket() 1694 if (sid->peerCert != NULL) in ssl3_ServerHandleSessionTicketXtn() 1695 CERT_DestroyCertificate(sid->peerCert); in ssl3_ServerHandleSessionTicketXtn() 1696 sid->peerCert = CERT_NewTempCertificate(ss->dbHandle, in ssl3_ServerHandleSessionTicketXtn() 1698 if (sid->peerCert == NULL) { in ssl3_ServerHandleSessionTicketXtn()
|
D | sslcon.c | 1937 ss->sec.peerCert = cert; in ssl2_ClientHandleServerCert() 2040 cert = ss->sec.peerCert; in ssl2_ClientSetupSessionCypher() 2169 if (sid->peerCert == NULL) { in ssl2_ClientRegSessionID() 2171 sid->peerCert = CERT_DupCertificate(ss->sec.peerCert); in ssl2_ClientRegSessionID() 2268 rv = SGN_Update(sgn, ss->sec.peerCert->derCert.data, in ssl2_SignResponse() 2269 ss->sec.peerCert->derCert.len); in ssl2_SignResponse() 2425 ss->sec.peerCert = cert; in ssl2_HandleClientCertificate() 2471 ss->sec.peerCert = NULL; in ssl2_HandleClientCertificate() 2831 ss->sec.peerCert = CERT_DupCertificate(sid->peerCert); in ssl2_HandleServerHelloMessage()
|
D | ssl3con.c | 3256 if (ss->sec.peerCert != NULL) { in ssl3_HandleNoCertificate() 3261 CERT_DestroyCertificate(ss->sec.peerCert); in ssl3_HandleNoCertificate() 3262 ss->sec.peerCert = NULL; in ssl3_HandleNoCertificate() 6132 serverKey = CERT_ExtractPublicKey(ss->sec.peerCert); in ssl3_SendClientKeyExchange() 6626 if (sid->peerCert != NULL) { in ssl3_HandleServerHello() 6627 ss->sec.peerCert = CERT_DupCertificate(sid->peerCert); in ssl3_HandleServerHello() 6762 if (ss->sec.peerCert == NULL) { in ssl3_HandleServerKeyExchange() 6792 &sigAndHash, ss->sec.peerCert); in ssl3_HandleServerKeyExchange() 6823 rv = ssl3_VerifySignedHashes(&hashes, ss->sec.peerCert, &signature, in ssl3_HandleServerKeyExchange() 6894 &sigAndHash, ss->sec.peerCert); in ssl3_HandleServerKeyExchange() [all …]
|
D | sslsnce.c | 623 to->peerCert = CERT_NewTempCertificate(dbHandle, &derCert, NULL, in ConvertToSID() 625 if (to->peerCert == NULL) in ConvertToSID() 903 if (sid->peerCert != NULL) { in ServerSessionIDCache() 904 now = CacheCert(cache, sid->peerCert, &sce); in ServerSessionIDCache()
|
D | ssl3ecc.c | 660 &sigAndHash, ss->sec.peerCert); in ssl3_HandleECDHServerKeyExchange() 698 rv = ssl3_VerifySignedHashes(&hashes, ss->sec.peerCert, &signature, in ssl3_HandleECDHServerKeyExchange()
|
D | sslimpl.h | 623 CERTCertificate * peerCert; member 1134 CERTCertificate *peerCert; /* ssl 2 & 3 */ member
|