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

Unified Diff: chrome/common/extensions/api/networking_private/networking_private_crypto_openssl.cc

Issue 387753003: Add stub networking_private OpenSSL implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/networking_private/networking_private_crypto_openssl.cc
diff --git a/chrome/common/extensions/api/networking_private/networking_private_crypto_openssl.cc b/chrome/common/extensions/api/networking_private/networking_private_crypto_openssl.cc
new file mode 100644
index 0000000000000000000000000000000000000000..95a6bd6c59e2d06cc8023612cda2453f5451c12e
--- /dev/null
+++ b/chrome/common/extensions/api/networking_private/networking_private_crypto_openssl.cc
@@ -0,0 +1,41 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/common/extensions/api/networking_private/networking_private_crypto.h"
+
+#include "base/logging.h"
+
+NetworkingPrivateCrypto::NetworkingPrivateCrypto() {
+}
+
+NetworkingPrivateCrypto::~NetworkingPrivateCrypto() {
+}
+
+bool NetworkingPrivateCrypto::VerifyCredentials(
+ const std::string& certificate,
+ const std::string& signature,
+ const std::string& data,
+ const std::string& connected_mac) {
+ // https://crbug.com/393023
+ NOTIMPLEMENTED();
+ return false;
+}
+
+bool NetworkingPrivateCrypto::EncryptByteString(
+ const std::vector<uint8>& pub_key_der,
+ const std::string& data,
+ std::vector<uint8>* encrypted_output) {
+ // https://crbug.com/393023
+ NOTIMPLEMENTED();
+ return false;
+}
+
+bool NetworkingPrivateCrypto::DecryptByteString(
+ const std::string& private_key_pem,
+ const std::vector<uint8>& encrypted_data,
+ std::string* decrypted_output) {
+ // https://crbug.com/393023
+ NOTIMPLEMENTED();
+ return false;
+}

Powered by Google App Engine
This is Rietveld 408576698