OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_BASE_OPENSSL_PRIVATE_KEY_STORE_H_ | 5 #ifndef NET_BASE_OPENSSL_PRIVATE_KEY_STORE_H_ |
6 #define NET_BASE_OPENSSL_PRIVATE_KEY_STORE_H_ | 6 #define NET_BASE_OPENSSL_PRIVATE_KEY_STORE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 // Avoid including <openssl/evp.h> | 10 // Avoid including <openssl/evp.h> |
11 typedef struct evp_pkey_st EVP_PKEY; | 11 typedef struct evp_pkey_st EVP_PKEY; |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/macros.h" |
14 #include "net/base/net_export.h" | 14 #include "net/base/net_export.h" |
15 | 15 |
16 class GURL; | 16 class GURL; |
17 | 17 |
18 namespace net { | 18 namespace net { |
19 | 19 |
20 class X509Certificate; | 20 class X509Certificate; |
21 | 21 |
22 // OpenSSLPrivateKeyStore provides an interface for storing | 22 // OpenSSLPrivateKeyStore provides an interface for storing |
23 // public/private key pairs to system storage on platforms where | 23 // public/private key pairs to system storage on platforms where |
(...skipping 20 matching lines...) Expand all Loading... |
44 | 44 |
45 private: | 45 private: |
46 OpenSSLPrivateKeyStore(); // not implemented. | 46 OpenSSLPrivateKeyStore(); // not implemented. |
47 ~OpenSSLPrivateKeyStore(); // not implemented. | 47 ~OpenSSLPrivateKeyStore(); // not implemented. |
48 DISALLOW_COPY_AND_ASSIGN(OpenSSLPrivateKeyStore); | 48 DISALLOW_COPY_AND_ASSIGN(OpenSSLPrivateKeyStore); |
49 }; | 49 }; |
50 | 50 |
51 } // namespace net | 51 } // namespace net |
52 | 52 |
53 #endif // NET_BASE_OPENSSL_PRIVATE_KEY_STORE_H_ | 53 #endif // NET_BASE_OPENSSL_PRIVATE_KEY_STORE_H_ |
OLD | NEW |