summaryrefslogtreecommitdiffstats
path: root/crypto/ec_private_key_openssl.cc
blob: 40e6f04533eba4d23996d34ebb13c4acabc12dc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// Copyright (c) 2011 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 "crypto/ec_private_key.h"

#include "base/logging.h"

namespace crypto {

ECPrivateKey::~ECPrivateKey() {}

// static
ECPrivateKey* ECPrivateKey::Create() {
  NOTIMPLEMENTED();
  return NULL;
}

// static
ECPrivateKey* ECPrivateKey::CreateSensitive() {
  NOTIMPLEMENTED();
  return NULL;
}

// static
ECPrivateKey* ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
    const std::string& password,
    const std::vector<uint8>& encrypted_private_key_info,
    const std::vector<uint8>& subject_public_key_info) {
  NOTIMPLEMENTED();
  return NULL;
}

// static
ECPrivateKey* ECPrivateKey::CreateSensitiveFromEncryptedPrivateKeyInfo(
    const std::string& password,
    const std::vector<uint8>& encrypted_private_key_info,
    const std::vector<uint8>& subject_public_key_info) {
  NOTIMPLEMENTED();
  return NULL;
}

bool ECPrivateKey::ExportEncryptedPrivateKey(
    const std::string& password,
    int iterations,
    std::vector<uint8>* output) {
  NOTIMPLEMENTED();
  return false;
}

bool ECPrivateKey::ExportPublicKey(std::vector<uint8>* output) {
  NOTIMPLEMENTED();
  return false;
}

bool ECPrivateKey::ExportValue(std::vector<uint8>* output) {
  NOTIMPLEMENTED();
  return false;
}

bool ECPrivateKey::ExportECParams(std::vector<uint8>* output) {
  NOTIMPLEMENTED();
  return false;
}

}  // namespace crypto