OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CRYPTO_RSA_PRIVATE_KEY_H_ | 5 #ifndef CRYPTO_RSA_PRIVATE_KEY_H_ |
6 #define CRYPTO_RSA_PRIVATE_KEY_H_ | 6 #define CRYPTO_RSA_PRIVATE_KEY_H_ |
7 #pragma once | |
8 | 7 |
9 #include "build/build_config.h" | 8 #include "build/build_config.h" |
10 | 9 |
11 #if defined(USE_OPENSSL) | 10 #if defined(USE_OPENSSL) |
12 // Forward declaration for openssl/*.h | 11 // Forward declaration for openssl/*.h |
13 typedef struct evp_pkey_st EVP_PKEY; | 12 typedef struct evp_pkey_st EVP_PKEY; |
14 #elif defined(USE_NSS) | 13 #elif defined(USE_NSS) |
15 // Forward declaration. | 14 // Forward declaration. |
16 struct SECKEYPrivateKeyStr; | 15 struct SECKEYPrivateKeyStr; |
17 struct SECKEYPublicKeyStr; | 16 struct SECKEYPublicKeyStr; |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 CSSM_KEY key_; | 267 CSSM_KEY key_; |
269 CSSM_KEY public_key_; | 268 CSSM_KEY public_key_; |
270 #endif | 269 #endif |
271 | 270 |
272 DISALLOW_COPY_AND_ASSIGN(RSAPrivateKey); | 271 DISALLOW_COPY_AND_ASSIGN(RSAPrivateKey); |
273 }; | 272 }; |
274 | 273 |
275 } // namespace crypto | 274 } // namespace crypto |
276 | 275 |
277 #endif // CRYPTO_RSA_PRIVATE_KEY_H_ | 276 #endif // CRYPTO_RSA_PRIVATE_KEY_H_ |
OLD | NEW |