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

Side by Side Diff: crypto/ec_private_key_openssl.cc

Issue 8413024: Add ECPrivateKey for Elliptic Curve keypair generation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review changes Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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
9 namespace crypto {
10
11 ECPrivateKey::~ECPrivateKey() {
12 }
Ryan Sleevi 2011/11/04 03:21:25 nit: closing brace on the same line
mattm 2011/11/08 02:12:27 Done.
13
14 // static
15 ECPrivateKey* ECPrivateKey::Create() {
16 NOTIMPLEMENTED();
17 return NULL;
18 }
19
20 // static
21 ECPrivateKey* ECPrivateKey::CreateSensitive() {
22 NOTIMPLEMENTED();
23 return NULL;
24 }
25
26 // static
27 ECPrivateKey* ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
28 const std::string& password,
29 const std::vector<uint8>& encrypted_private_key_info,
30 const std::vector<uint8>& subject_public_key_info) {
31 NOTIMPLEMENTED();
32 return NULL;
33 }
34
35 // static
36 ECPrivateKey* ECPrivateKey::CreateSensitiveFromEncryptedPrivateKeyInfo(
37 const std::string& password,
38 const std::vector<uint8>& encrypted_private_key_info,
39 const std::vector<uint8>& subject_public_key_info) {
40 NOTIMPLEMENTED();
41 return NULL;
42 }
43
44 bool ECPrivateKey::ExportEncryptedPrivateKey(
45 const std::string& password,
46 std::vector<uint8>* encrypted_private_key_info,
47 std::vector<uint8>* subject_public_key_info) {
48 NOTIMPLEMENTED();
49 return false;
50 }
51
52 bool ECPrivateKey::ExportPublicKey(std::vector<uint8>* output) {
53 NOTIMPLEMENTED();
54 return false;
55 }
56
57 bool ECPrivateKey::ExportValue(std::vector<uint8>* output) {
58 NOTIMPLEMENTED();
59 return false;
60 }
61
62 bool ECPrivateKey::ExportECParams(std::vector<uint8>* output) {
63 NOTIMPLEMENTED();
64 return false;
65 }
66
67 } // namespace crypto
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698