Home
last modified time | relevance | path

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

/external/chromium/net/base/
Dx509_certificate_openssl_android.cc17 CertVerifyResult* verify_result) const { in Verify()
18 verify_result->Reset(); in Verify()
23 verify_result->cert_status |= ERR_CERT_INVALID; in Verify()
24 return MapCertStatusToNetError(verify_result->cert_status); in Verify()
41 if (IsPublicKeyBlacklisted(verify_result->public_key_hashes)) { in Verify()
42 verify_result->cert_status |= CERT_STATUS_AUTHORITY_INVALID; in Verify()
43 return MapCertStatusToNetError(verify_result->cert_status); in Verify()
53 verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID; in Verify()
56 verify_result->cert_status |= CERT_STATUS_AUTHORITY_INVALID; in Verify()
60 verify_result->cert_status |= ERR_CERT_INVALID; in Verify()
[all …]
Dcert_verifier_unittest.cc52 CertVerifyResult verify_result; in TEST_F() local
56 error = verifier.Verify(google_cert, "www.example.com", 0, &verify_result, in TEST_F()
66 error = verifier.Verify(google_cert, "www.example.com", 0, &verify_result, in TEST_F()
90 CertVerifyResult verify_result; in TEST_F() local
97 error = verifier.Verify(google_cert, "www.example.com", 0, &verify_result, in TEST_F()
127 CertVerifyResult verify_result; in TEST_F() local
131 error = verifier.Verify(google_cert, "www.example.com", 0, &verify_result, in TEST_F()
142 error = verifier.Verify(google_cert, "www.example.com", 0, &verify_result, in TEST_F()
156 error = verifier.Verify(google_cert, "www.example.com", 0, &verify_result, in TEST_F()
181 CertVerifyResult verify_result; in TEST_F() local
[all …]
Dcert_verifier.cc91 CertVerifyResult* verify_result) in CertVerifierRequest() argument
93 verify_result_(verify_result) { in CertVerifierRequest()
104 void Post(const CachedCertVerifyResult& verify_result) { in Post() argument
106 *verify_result_ = verify_result.result; in Post()
107 callback_->Run(verify_result.error); in Post()
251 void HandleResult(const CachedCertVerifyResult& verify_result) { in HandleResult() argument
253 PostAll(verify_result); in HandleResult()
257 void PostAll(const CachedCertVerifyResult& verify_result) { in PostAll() argument
263 (*i)->Post(verify_result); in PostAll()
309 CertVerifyResult* verify_result, in Verify() argument
[all …]
Dx509_certificate_unittest.cc230 CertVerifyResult verify_result; in CheckGoogleCert() local
233 EXPECT_EQ(OK, google_cert->Verify("www.google.com", flags, &verify_result)); in CheckGoogleCert()
234 EXPECT_EQ(0, verify_result.cert_status & CERT_STATUS_IS_EV); in CheckGoogleCert()
298 CertVerifyResult verify_result; in TEST() local
299 EXPECT_EQ(OK, webkit_cert->Verify("webkit.org", flags, &verify_result)); in TEST()
300 EXPECT_EQ(0, verify_result.cert_status & CERT_STATUS_IS_EV); in TEST()
360 CertVerifyResult verify_result; in TEST() local
362 EXPECT_EQ(OK, thawte_cert->Verify("www.thawte.com", flags, &verify_result)); in TEST()
363 EXPECT_NE(0, verify_result.cert_status & CERT_STATUS_IS_EV); in TEST()
367 EXPECT_EQ(OK, thawte_cert->Verify("www.thawte.com", flags, &verify_result)); in TEST()
[all …]
Dx509_certificate_win.cc298 CertVerifyResult* verify_result) { in GetCertChainInfo() argument
312 verify_result->has_md5 = true; in GetCertChainInfo()
314 verify_result->has_md5_ca = true; in GetCertChainInfo()
317 verify_result->has_md2 = true; in GetCertChainInfo()
319 verify_result->has_md2_ca = true; in GetCertChainInfo()
322 verify_result->has_md4 = true; in GetCertChainInfo()
668 CertVerifyResult* verify_result) const { in Verify()
669 verify_result->Reset(); in Verify()
674 verify_result->cert_status |= CERT_STATUS_REVOKED; in Verify()
699 verify_result->cert_status |= CERT_STATUS_REV_CHECKING_ENABLED; in Verify()
[all …]
Dx509_certificate_nss.cc174 CertVerifyResult* verify_result) { in GetCertChainInfo() argument
188 verify_result->has_md5 = true; in GetCertChainInfo()
190 verify_result->has_md5_ca = true; in GetCertChainInfo()
193 verify_result->has_md2 = true; in GetCertChainInfo()
195 verify_result->has_md2_ca = true; in GetCertChainInfo()
198 verify_result->has_md4 = true; in GetCertChainInfo()
766 CertVerifyResult* verify_result) const { in Verify()
767 verify_result->Reset(); in Verify()
770 verify_result->cert_status |= CERT_STATUS_REVOKED; in Verify()
777 verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID; in Verify()
[all …]
Dx509_certificate_openssl.cc414 CertVerifyResult* verify_result) const { in Verify()
415 verify_result->Reset(); in Verify()
418 verify_result->cert_status |= CERT_STATUS_REVOKED; in Verify()
428 verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID; in Verify()
455 verify_result->cert_status |= cert_status; in Verify()
458 if (IsCertStatusError(verify_result->cert_status)) in Verify()
459 return MapCertStatusToNetError(verify_result->cert_status); in Verify()
477 verify_result->public_key_hashes.push_back(hash); in Verify()
480 if (IsPublicKeyBlacklisted(verify_result->public_key_hashes)) { in Verify()
481 verify_result->cert_status |= CERT_STATUS_AUTHORITY_INVALID; in Verify()
[all …]
Dx509_certificate_mac.cc787 CertVerifyResult* verify_result) const { in Verify()
788 verify_result->Reset(); in Verify()
791 verify_result->cert_status |= CERT_STATUS_REVOKED; in Verify()
855 verify_result->cert_status |= CERT_STATUS_REV_CHECKING_ENABLED; in Verify()
909 verify_result->cert_status |= CERT_STATUS_AUTHORITY_INVALID; in Verify()
920 verify_result->cert_status |= CERT_STATUS_AUTHORITY_INVALID; in Verify()
924 verify_result->cert_status |= CERT_STATUS_DATE_INVALID; in Verify()
928 verify_result->cert_status |= CERT_STATUS_REVOKED; in Verify()
940 verify_result->cert_status |= CERT_STATUS_DATE_INVALID; in Verify()
953 verify_result->cert_status |= cert_status; in Verify()
[all …]
Dcert_verifier.h104 CertVerifyResult* verify_result,
158 const CertVerifyResult& verify_result);
198 CertVerifyResult* verify_result,
Dcert_database_nss_unittest.cc463 CertVerifyResult verify_result; in TEST_F() local
464 int error = goog_cert->Verify("www.google.com", flags, &verify_result); in TEST_F()
466 EXPECT_EQ(0, verify_result.cert_status); in TEST_F()
488 CertVerifyResult verify_result; in TEST_F() local
489 int error = puny_cert->Verify("xn--wgv71a119e.com", flags, &verify_result); in TEST_F()
491 EXPECT_EQ(CERT_STATUS_AUTHORITY_INVALID, verify_result.cert_status); in TEST_F()
499 verify_result.Reset(); in TEST_F()
500 error = puny_cert->Verify("xn--wgv71a119e.com", flags, &verify_result); in TEST_F()
502 EXPECT_EQ(0, verify_result.cert_status); in TEST_F()
Dx509_certificate.h311 CertVerifyResult* verify_result) const;
/external/openssl/ssl/
Dssl_asn1.c107 ASN1_INTEGER verify_result; member
233 if (in->verify_result != X509_V_OK) in i2d_SSL_SESSION()
235 a.verify_result.length=LSIZE2; in i2d_SSL_SESSION()
236 a.verify_result.type=V_ASN1_INTEGER; in i2d_SSL_SESSION()
237 a.verify_result.data=ibuf5; in i2d_SSL_SESSION()
238 ASN1_INTEGER_set(&a.verify_result,in->verify_result); in i2d_SSL_SESSION()
303 if (in->verify_result != X509_V_OK) in i2d_SSL_SESSION()
304 M_ASN1_I2D_len_EXP_opt(&(a.verify_result),i2d_ASN1_INTEGER,5,v5); in i2d_SSL_SESSION()
350 if (in->verify_result != X509_V_OK) in i2d_SSL_SESSION()
351 M_ASN1_I2D_put_EXP_opt(&a.verify_result,i2d_ASN1_INTEGER,5,v5); in i2d_SSL_SESSION()
[all …]
Dssl_txt.c241 if (BIO_printf(bp, "%ld (%s)\n", x->verify_result, in SSL_SESSION_print()
242 X509_verify_cert_error_string(x->verify_result)) <= 0) goto err; in SSL_SESSION_print()
Dssl_sess.c200 ss->verify_result = 1; /* avoid 0 (= X509_V_OK) just in case */ in SSL_SESSION_new()
446 ss->verify_result = X509_V_OK; in ssl_get_new_session()
618 s->verify_result = s->session->verify_result; in ssl_get_prev_session()
830 s->verify_result = s->session->verify_result; in SSL_set_session()
Ds2_srvr.c1097 s->session->verify_result = s->verify_result; in request_certificate()
Ds2_clnt.c1057 s->session->verify_result = s->verify_result; in ssl2_set_certificate()
Dssl_cert.c562 s->verify_result=ctx.error; in ssl_verify_cert_chain()
Ds3_srvr.c1242 s->session->verify_result=X509_V_OK; in ssl3_get_client_hello()
3314 al=ssl_verify_alarm_type(s->verify_result); in ssl3_get_client_certificate()
3323 s->session->verify_result = s->verify_result; in ssl3_get_client_certificate()
Dssl_lib.c365 s->verify_result=X509_V_OK; in SSL_new()
3049 ssl->verify_result=arg; in SSL_set_verify_result()
3054 return(ssl->verify_result); in SSL_get_verify_result()
Ds3_clnt.c1245 al=ssl_verify_alarm_type(s->verify_result); in ssl3_get_server_certificate()
1322 s->session->verify_result = s->verify_result; in ssl3_get_server_certificate()
Dssl.h511 long verify_result; /* only for servers */ member
1273 long verify_result; member
/external/chromium/chrome/browser/sync/engine/
Dget_commit_ids_command.h92 VerifyCommitResult verify_result = in ValidateMetahandleForCommit() local
94 if (verify_result == VERIFY_UNSYNCABLE) { in ValidateMetahandleForCommit()
98 return verify_result == VERIFY_OK; in ValidateMetahandleForCommit()
/external/chromium/chrome/browser/sync/sessions/
Dsession_state.cc292 void UpdateProgress::AddVerifyResult(const VerifyResult& verify_result, in AddVerifyResult() argument
294 verified_updates_.push_back(std::make_pair(verify_result, entity)); in AddVerifyResult()
Dsession_state.h193 void AddVerifyResult(const VerifyResult& verify_result,
/external/openssl/include/openssl/
Dssl.h511 long verify_result; /* only for servers */ member
1273 long verify_result; member