OLD | NEW |
(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 |
OLD | NEW |