Chromium Code Reviews| Index: crypto/ec_private_key_openssl.cc |
| diff --git a/crypto/ec_private_key_openssl.cc b/crypto/ec_private_key_openssl.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e855f946525ac8939f2f2c0761ac9b91f6e84b54 |
| --- /dev/null |
| +++ b/crypto/ec_private_key_openssl.cc |
| @@ -0,0 +1,67 @@ |
| +// 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() { |
| +} |
|
Ryan Sleevi
2011/11/04 03:21:25
nit: closing brace on the same line
mattm
2011/11/08 02:12:27
Done.
|
| + |
| +// 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, |
| + std::vector<uint8>* encrypted_private_key_info, |
| + std::vector<uint8>* subject_public_key_info) { |
| + 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 |