Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Side by Side Diff: net/base/x509_certificate.h

Issue 9619007: net: allow EV indication on Windows when the local OCSP/CRL cache is stale. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_BASE_X509_CERTIFICATE_H_ 5 #ifndef NET_BASE_X509_CERTIFICATE_H_
6 #define NET_BASE_X509_CERTIFICATE_H_ 6 #define NET_BASE_X509_CERTIFICATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string.h> 9 #include <string.h>
10 10
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 X509Certificate(OSCertHandle cert_handle, 486 X509Certificate(OSCertHandle cert_handle,
487 const OSCertHandles& intermediates); 487 const OSCertHandles& intermediates);
488 488
489 ~X509Certificate(); 489 ~X509Certificate();
490 490
491 // Common object initialization code. Called by the constructors only. 491 // Common object initialization code. Called by the constructors only.
492 void Initialize(); 492 void Initialize();
493 493
494 #if defined(OS_WIN) 494 #if defined(OS_WIN)
495 bool CheckEV(PCCERT_CHAIN_CONTEXT chain_context, 495 bool CheckEV(PCCERT_CHAIN_CONTEXT chain_context,
496 int flags,
wtc 2012/03/08 00:55:26 Nit: it may be better to replace this argument wit
496 const char* policy_oid) const; 497 const char* policy_oid) const;
497 static bool IsIssuedByKnownRoot(PCCERT_CHAIN_CONTEXT chain_context); 498 static bool IsIssuedByKnownRoot(PCCERT_CHAIN_CONTEXT chain_context);
498 #endif 499 #endif
499 #if defined(OS_MACOSX) 500 #if defined(OS_MACOSX)
500 static bool IsIssuedByKnownRoot(CFArrayRef chain); 501 static bool IsIssuedByKnownRoot(CFArrayRef chain);
501 #endif 502 #endif
502 #if defined(USE_NSS) 503 #if defined(USE_NSS)
503 bool VerifyEV(int flags) const; 504 bool VerifyEV(int flags) const;
504 #endif 505 #endif
505 #if defined(USE_OPENSSL) 506 #if defined(USE_OPENSSL)
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 // (Marked mutable because it's used in a const method.) 601 // (Marked mutable because it's used in a const method.)
601 mutable base::Lock verification_lock_; 602 mutable base::Lock verification_lock_;
602 #endif 603 #endif
603 604
604 DISALLOW_COPY_AND_ASSIGN(X509Certificate); 605 DISALLOW_COPY_AND_ASSIGN(X509Certificate);
605 }; 606 };
606 607
607 } // namespace net 608 } // namespace net
608 609
609 #endif // NET_BASE_X509_CERTIFICATE_H_ 610 #endif // NET_BASE_X509_CERTIFICATE_H_
OLDNEW
« no previous file with comments | « no previous file | net/base/x509_certificate_unittest.cc » ('j') | net/base/x509_certificate_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698