| OLD | NEW |
| (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, for comparing against other |
| 20 // GeneralizedTime objects. |
| 21 NET_EXPORT der::GeneralizedTime EncodeTimeAsGeneralizedTime( |
| 22 const base::Time& time); |
| 23 |
| 24 } // namespace der |
| 25 |
| 26 } // namespace net |
| 27 |
| 28 #endif // NET_DER_ENCODE_VALUES_H |
| OLD | NEW |