OLD | NEW |
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_CERT_X509_UTIL_H_ | 5 #ifndef NET_CERT_X509_UTIL_H_ |
6 #define NET_CERT_X509_UTIL_H_ | 6 #define NET_CERT_X509_UTIL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/strings/string_piece.h" | 15 #include "base/strings/string_piece.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 #include "net/base/net_export.h" | 17 #include "net/base/net_export.h" |
18 | 18 |
19 namespace crypto { | 19 namespace crypto { |
20 class ECPrivateKey; | |
21 class RSAPrivateKey; | 20 class RSAPrivateKey; |
22 } | 21 } |
23 | 22 |
24 namespace net { | 23 namespace net { |
25 | 24 |
26 class X509Certificate; | 25 class X509Certificate; |
27 | 26 |
28 namespace x509_util { | 27 namespace x509_util { |
29 | 28 |
30 // Supported digest algorithms for signing certificates. | 29 // Supported digest algorithms for signing certificates. |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 105 |
107 private: | 106 private: |
108 base::Time now_; | 107 base::Time now_; |
109 }; | 108 }; |
110 | 109 |
111 } // namespace x509_util | 110 } // namespace x509_util |
112 | 111 |
113 } // namespace net | 112 } // namespace net |
114 | 113 |
115 #endif // NET_CERT_X509_UTIL_H_ | 114 #endif // NET_CERT_X509_UTIL_H_ |
OLD | NEW |