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

Side by Side Diff: components/cast_certificate/cast_crl.h

Issue 2205403002: Add production Cast CRL certificate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 COMPONENTS_CAST_CERTIFICATE_CAST_CRL_H_ 5 #ifndef COMPONENTS_CAST_CERTIFICATE_CAST_CRL_H_
6 #define COMPONENTS_CAST_CERTIFICATE_CAST_CRL_H_ 6 #define COMPONENTS_CAST_CERTIFICATE_CAST_CRL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const base::Time& time); 52 const base::Time& time);
53 53
54 // Exposed only for testing, not for use in production code. 54 // Exposed only for testing, not for use in production code.
55 // 55 //
56 // Replaces trusted root certificates into the CastCRLTrustStore. 56 // Replaces trusted root certificates into the CastCRLTrustStore.
57 // 57 //
58 // Output: 58 // Output:
59 // Returns true if successful, false if nothing is changed. 59 // Returns true if successful, false if nothing is changed.
60 bool SetCRLTrustAnchorForTest(const std::string& cert) WARN_UNUSED_RESULT; 60 bool SetCRLTrustAnchorForTest(const std::string& cert) WARN_UNUSED_RESULT;
61 61
62 // Exposed only for testing, not for use in production code.
63 //
64 // Resets CastCRLTrustStore to the default set of roots.
65 void ResetCRLTrustAnchorForTest();
66
62 } // namespace cast_certificate 67 } // namespace cast_certificate
63 68
64 #endif // COMPONENTS_CAST_CERTIFICATE_CAST_CRL_H_ 69 #endif // COMPONENTS_CAST_CERTIFICATE_CAST_CRL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698