Disable native messaging support.
[chromium-blink-merge.git] / crypto / ec_private_key_openssl.cc
blob20214e6c83dee4175d5deb3e9dce7776abdbbb8c
1 // Copyright (c) 2012 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.
5 #include "crypto/ec_private_key.h"
7 #include "base/logging.h"
9 namespace crypto {
11 ECPrivateKey::~ECPrivateKey() {}
13 // static
14 bool ECPrivateKey::IsSupported() {
15 return false;
18 // static
19 ECPrivateKey* ECPrivateKey::Create() {
20 NOTIMPLEMENTED();
21 return NULL;
24 // static
25 ECPrivateKey* ECPrivateKey::CreateSensitive() {
26 NOTIMPLEMENTED();
27 return NULL;
30 // static
31 ECPrivateKey* ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
32 const std::string& password,
33 const std::vector<uint8>& encrypted_private_key_info,
34 const std::vector<uint8>& subject_public_key_info) {
35 NOTIMPLEMENTED();
36 return NULL;
39 // static
40 ECPrivateKey* ECPrivateKey::CreateSensitiveFromEncryptedPrivateKeyInfo(
41 const std::string& password,
42 const std::vector<uint8>& encrypted_private_key_info,
43 const std::vector<uint8>& subject_public_key_info) {
44 NOTIMPLEMENTED();
45 return NULL;
48 bool ECPrivateKey::ExportEncryptedPrivateKey(
49 const std::string& password,
50 int iterations,
51 std::vector<uint8>* output) {
52 NOTIMPLEMENTED();
53 return false;
56 bool ECPrivateKey::ExportPublicKey(std::vector<uint8>* output) {
57 NOTIMPLEMENTED();
58 return false;
61 bool ECPrivateKey::ExportValue(std::vector<uint8>* output) {
62 NOTIMPLEMENTED();
63 return false;
66 bool ECPrivateKey::ExportECParams(std::vector<uint8>* output) {
67 NOTIMPLEMENTED();
68 return false;
71 } // namespace crypto