Searched refs:peerCert (Results 1 – 12 of 12) 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; 96 CERTCertificate * peerCert; 113 if ( sid->peerCert ) { 114 CERT_DestroyCertificate(sid->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() 303 if (CERT_CacheOCSPResponseFromSideChannel(handle, ss->sec.peerCert, now, in SSL_AuthCertificate() 315 rv = CERT_VerifyCert(handle, ss->sec.peerCert, checkSig, certUsage, in SSL_AuthCertificate() 327 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 | 149 if ( sid->peerCert ) { in ssl_DestroySID() 150 CERT_DestroyCertificate(sid->peerCert); in ssl_DestroySID() 246 ((sid->peerCert != NULL) && (SECSuccess == in ssl_LookupSID() 247 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 | 1036 cert_length = (ss->opt.requestCertificate && ss->sec.ci.sid->peerCert) ? in ssl3_SendNewSessionTicket() 1037 3 + ss->sec.ci.sid->peerCert->derCert.len : 0; in ssl3_SendNewSessionTicket() 1171 if (ss->opt.requestCertificate && ss->sec.ci.sid->peerCert) { in ssl3_SendNewSessionTicket() 1175 ss->sec.ci.sid->peerCert->derCert.len, 3); in ssl3_SendNewSessionTicket() 1178 ss->sec.ci.sid->peerCert->derCert.data, in ssl3_SendNewSessionTicket() 1179 ss->sec.ci.sid->peerCert->derCert.len); in ssl3_SendNewSessionTicket() 1714 if (sid->peerCert != NULL) in ssl3_ServerHandleSessionTicketXtn() 1715 CERT_DestroyCertificate(sid->peerCert); in ssl3_ServerHandleSessionTicketXtn() 1716 sid->peerCert = CERT_NewTempCertificate(ss->dbHandle, in ssl3_ServerHandleSessionTicketXtn() 1718 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 | 3260 if (ss->sec.peerCert != NULL) { in ssl3_HandleNoCertificate() 3265 CERT_DestroyCertificate(ss->sec.peerCert); in ssl3_HandleNoCertificate() 3266 ss->sec.peerCert = NULL; in ssl3_HandleNoCertificate() 6191 serverKey = CERT_ExtractPublicKey(ss->sec.peerCert); in ssl3_SendClientKeyExchange() 6680 if (sid->peerCert != NULL) { in ssl3_HandleServerHello() 6681 ss->sec.peerCert = CERT_DupCertificate(sid->peerCert); in ssl3_HandleServerHello() 6816 if (ss->sec.peerCert == NULL) { in ssl3_HandleServerKeyExchange() 6846 &sigAndHash, ss->sec.peerCert); in ssl3_HandleServerKeyExchange() 6877 rv = ssl3_VerifySignedHashes(&hashes, ss->sec.peerCert, &signature, in ssl3_HandleServerKeyExchange() 6948 &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 | 651 &sigAndHash, ss->sec.peerCert); in ssl3_HandleECDHServerKeyExchange() 689 rv = ssl3_VerifySignedHashes(&hashes, ss->sec.peerCert, &signature, in ssl3_HandleECDHServerKeyExchange()
|
D | sslimpl.h | 635 CERTCertificate * peerCert; member 1166 CERTCertificate *peerCert; /* ssl 2 & 3 */ member
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
D | PairingContext.java | 89 Certificate peerCert = PoloUtil.getPeerCert(socket.getSession()); in fromSslSocket() local 92 return new PairingContext(localCert, peerCert, input, output, isServer); in fromSslSocket()
|