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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 | 9 |
| 10 // Avoid including <openssl/evp.h> here. |
10 typedef struct evp_pkey_st EVP_PKEY; | 11 typedef struct evp_pkey_st EVP_PKEY; |
11 | 12 |
12 class GURL; | 13 class GURL; |
13 | 14 |
14 namespace net { | 15 namespace net { |
15 | 16 |
16 // Defines an abstract store for private keys; the OpenSSL library does not | 17 // Defines an abstract store for private keys; the OpenSSL library does not |
17 // provide this service so it is left to individual platforms to provide it. | 18 // provide this service so it is left to individual platforms to provide it. |
18 // | 19 // |
19 // The contract is that the private key will be stored in an appropriate secure | 20 // The contract is that the private key will be stored in an appropriate secure |
(...skipping 21 matching lines...) Expand all Loading... |
41 protected: | 42 protected: |
42 OpenSSLPrivateKeyStore() {} | 43 OpenSSLPrivateKeyStore() {} |
43 | 44 |
44 private: | 45 private: |
45 DISALLOW_COPY_AND_ASSIGN(OpenSSLPrivateKeyStore); | 46 DISALLOW_COPY_AND_ASSIGN(OpenSSLPrivateKeyStore); |
46 }; | 47 }; |
47 | 48 |
48 } // namespace net | 49 } // namespace net |
49 | 50 |
50 #endif // NET_BASE_OPENSSL_PRIVATE_KEY_STORE_H_ | 51 #endif // NET_BASE_OPENSSL_PRIVATE_KEY_STORE_H_ |
OLD | NEW |