Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: net/base/openssl_private_key_store.h

Issue 11571059: Add net/android/keystore.h (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: address marcus' nits. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/android/private_key_type_list.h ('k') | net/data/ssl/certificates/README » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « net/android/private_key_type_list.h ('k') | net/data/ssl/certificates/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698