| Index: crypto/rsa_private_key.h
|
| ===================================================================
|
| --- crypto/rsa_private_key.h (revision 79901)
|
| +++ crypto/rsa_private_key.h (working copy)
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef BASE_CRYPTO_RSA_PRIVATE_KEY_H_
|
| -#define BASE_CRYPTO_RSA_PRIVATE_KEY_H_
|
| +#ifndef CRYPTO_RSA_PRIVATE_KEY_H_
|
| +#define CRYPTO_RSA_PRIVATE_KEY_H_
|
| #pragma once
|
|
|
| #include "build/build_config.h"
|
| @@ -22,21 +22,20 @@
|
| #include <list>
|
| #include <vector>
|
|
|
| -#include "base/base_api.h"
|
| #include "base/basictypes.h"
|
|
|
| #if defined(OS_WIN)
|
| -#include "base/crypto/scoped_capi_types.h"
|
| +#include "crypto/scoped_capi_types.h"
|
| #endif
|
| #if defined(USE_NSS)
|
| #include "base/gtest_prod_util.h"
|
| #endif
|
|
|
| -namespace base {
|
| +namespace crypto {
|
|
|
| // Used internally by RSAPrivateKey for serializing and deserializing
|
| // PKCS #8 PrivateKeyInfo and PublicKeyInfo.
|
| -class BASE_API PrivateKeyInfoCodec {
|
| +class PrivateKeyInfoCodec {
|
| public:
|
|
|
| // ASN.1 encoding of the AlgorithmIdentifier from PKCS #8.
|
| @@ -171,7 +170,7 @@
|
| // Encapsulates an RSA private key. Can be used to generate new keys, export
|
| // keys to other formats, or to extract a public key.
|
| // TODO(hclam): This class should be ref-counted so it can be reused easily.
|
| -class BASE_API RSAPrivateKey {
|
| +class RSAPrivateKey {
|
| public:
|
| ~RSAPrivateKey();
|
|
|
| @@ -269,6 +268,6 @@
|
| DISALLOW_COPY_AND_ASSIGN(RSAPrivateKey);
|
| };
|
|
|
| -} // namespace base
|
| +} // namespace crypto
|
|
|
| -#endif // BASE_CRYPTO_RSA_PRIVATE_KEY_H_
|
| +#endif // CRYPTO_RSA_PRIVATE_KEY_H_
|
|
|