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 |
| 13 // static |
| 14 ECPrivateKey* ECPrivateKey::Create() { |
| 15 NOTIMPLEMENTED(); |
| 16 return NULL; |
| 17 } |
| 18 |
| 19 // static |
| 20 ECPrivateKey* ECPrivateKey::CreateSensitive() { |
| 21 NOTIMPLEMENTED(); |
| 22 return NULL; |
| 23 } |
| 24 |
| 25 // static |
| 26 ECPrivateKey* ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( |
| 27 const std::string& password, |
| 28 const std::vector<uint8>& encrypted_private_key_info, |
| 29 const std::vector<uint8>& subject_public_key_info) { |
| 30 NOTIMPLEMENTED(); |
| 31 return NULL; |
| 32 } |
| 33 |
| 34 // static |
| 35 ECPrivateKey* ECPrivateKey::CreateSensitiveFromEncryptedPrivateKeyInfo( |
| 36 const std::string& password, |
| 37 const std::vector<uint8>& encrypted_private_key_info, |
| 38 const std::vector<uint8>& subject_public_key_info) { |
| 39 NOTIMPLEMENTED(); |
| 40 return NULL; |
| 41 } |
| 42 |
| 43 bool ECPrivateKey::ExportEncryptedPrivateKey( |
| 44 const std::string& password, |
| 45 int iterations, |
| 46 std::vector<uint8>* output) { |
| 47 NOTIMPLEMENTED(); |
| 48 return false; |
| 49 } |
| 50 |
| 51 bool ECPrivateKey::ExportPublicKey(std::vector<uint8>* output) { |
| 52 NOTIMPLEMENTED(); |
| 53 return false; |
| 54 } |
| 55 |
| 56 bool ECPrivateKey::ExportValue(std::vector<uint8>* output) { |
| 57 NOTIMPLEMENTED(); |
| 58 return false; |
| 59 } |
| 60 |
| 61 bool ECPrivateKey::ExportECParams(std::vector<uint8>* output) { |
| 62 NOTIMPLEMENTED(); |
| 63 return false; |
| 64 } |
| 65 |
| 66 } // namespace crypto |
OLD | NEW |