OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_SSL_OPENSSL_CLIENT_KEY_STORE_H_ | 5 #ifndef NET_SSL_OPENSSL_CLIENT_KEY_STORE_H_ |
6 #define NET_SSL_OPENSSL_CLIENT_KEY_STORE_H_ | 6 #define NET_SSL_OPENSSL_CLIENT_KEY_STORE_H_ |
7 | 7 |
8 #include <openssl/evp.h> | 8 #include <openssl/evp.h> |
9 | 9 |
| 10 #include <memory> |
10 #include <vector> | 11 #include <vector> |
11 | 12 |
12 #include "base/macros.h" | 13 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | |
14 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
15 #include "crypto/openssl_util.h" | 15 #include "crypto/openssl_util.h" |
16 #include "crypto/scoped_openssl_types.h" | 16 #include "crypto/scoped_openssl_types.h" |
17 #include "net/base/net_export.h" | 17 #include "net/base/net_export.h" |
18 | 18 |
19 namespace net { | 19 namespace net { |
20 | 20 |
21 class X509Certificate; | 21 class X509Certificate; |
22 | 22 |
23 // OpenSSLClientKeyStore implements an in-memory store for client | 23 // OpenSSLClientKeyStore implements an in-memory store for client |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 std::vector<KeyPair> pairs_; | 91 std::vector<KeyPair> pairs_; |
92 | 92 |
93 friend struct base::DefaultSingletonTraits<OpenSSLClientKeyStore>; | 93 friend struct base::DefaultSingletonTraits<OpenSSLClientKeyStore>; |
94 | 94 |
95 DISALLOW_COPY_AND_ASSIGN(OpenSSLClientKeyStore); | 95 DISALLOW_COPY_AND_ASSIGN(OpenSSLClientKeyStore); |
96 }; | 96 }; |
97 | 97 |
98 } // namespace net | 98 } // namespace net |
99 | 99 |
100 #endif // NET_SSL_OPENSSL_CLIENT_KEY_STORE_H_ | 100 #endif // NET_SSL_OPENSSL_CLIENT_KEY_STORE_H_ |
OLD | NEW |