Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
| OLD | NEW |