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

Side by Side Diff: net/der/encode_values.h

Issue 2138413002: Revert of Add CheckOCSPDateValid() to net/cert/internal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « net/cert/internal/parse_ocsp_unittest.cc ('k') | net/der/encode_values.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_DER_ENCODE_VALUES_H_
6 #define NET_DER_ENCODE_VALUES_H_
7
8 #include "net/base/net_export.h"
9 #include "net/der/parse_values.h"
10
11 namespace base {
12 class Time;
13 }
14
15 namespace net {
16
17 namespace der {
18
19 // Encodes |time|, a UTC-based time, to DER |generalized_time|, for comparing
20 // against other GeneralizedTime objects.
21 NET_EXPORT bool EncodeTimeAsGeneralizedTime(
22 const base::Time& time,
23 der::GeneralizedTime* generalized_time);
24
25 } // namespace der
26
27 } // namespace net
28
29 #endif // NET_DER_ENCODE_VALUES_H
OLDNEW
« no previous file with comments | « net/cert/internal/parse_ocsp_unittest.cc ('k') | net/der/encode_values.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698