blob: 20214e6c83dee4175d5deb3e9dce7776abdbbb8c [file] [log] [blame]
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001// 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.
4
5#include "crypto/ec_private_key.h"
6
7#include "base/logging.h"
8
9namespace crypto {
10
11ECPrivateKey::~ECPrivateKey() {}
12
13// static
14bool ECPrivateKey::IsSupported() {
15 return false;
16}
17
18// static
19ECPrivateKey* ECPrivateKey::Create() {
20 NOTIMPLEMENTED();
21 return NULL;
22}
23
24// static
25ECPrivateKey* ECPrivateKey::CreateSensitive() {
26 NOTIMPLEMENTED();
27 return NULL;
28}
29
30// static
31ECPrivateKey* 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;
37}
38
39// static
40ECPrivateKey* 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;
46}
47
48bool ECPrivateKey::ExportEncryptedPrivateKey(
49 const std::string& password,
50 int iterations,
51 std::vector<uint8>* output) {
52 NOTIMPLEMENTED();
53 return false;
54}
55
56bool ECPrivateKey::ExportPublicKey(std::vector<uint8>* output) {
57 NOTIMPLEMENTED();
58 return false;
59}
60
61bool ECPrivateKey::ExportValue(std::vector<uint8>* output) {
62 NOTIMPLEMENTED();
63 return false;
64}
65
66bool ECPrivateKey::ExportECParams(std::vector<uint8>* output) {
67 NOTIMPLEMENTED();
68 return false;
69}
70
71} // namespace crypto