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

Side by Side Diff: net/base/openssl_key_store.cc

Issue 12220104: Wire up SSL client authentication for OpenSSL/Android through the net/ stack (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "net/base/openssl_key_store.h"
6
7 #include "net/base/openssl_private_key_store.h"
8
9 namespace net {
10
11 bool UseOpenSSLClientCertSigningPrivateKey(
12 const X509Certificate& client_cert, EVP_PKEY* private_key) {
13 // This is just a public wrapper around
14 // OpenSSLPrivateKeyStore::RecordClientCertPrivateKey()
15 OpenSSLPrivateKeyStore* key_store =
16 OpenSSLPrivateKeyStore::GetInstance();
17
18 return key_store->RecordClientCertPrivateKey(client_cert, private_key);
19 }
20
21 } // namespace net
22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698