| Index: crypto/rsa_private_key.h
|
| diff --git a/crypto/rsa_private_key.h b/crypto/rsa_private_key.h
|
| index 7a1dccd768a9287e295fe5d6345d155a6c7b06df..ff368d82ace88b6576dfdf2d154cce4b8a811ef3 100644
|
| --- a/crypto/rsa_private_key.h
|
| +++ b/crypto/rsa_private_key.h
|
| @@ -14,6 +14,8 @@ typedef struct evp_pkey_st EVP_PKEY;
|
| // Forward declaration.
|
| struct SECKEYPrivateKeyStr;
|
| struct SECKEYPublicKeyStr;
|
| +#elif defined(OS_IOS)
|
| +#include <Security/Security.h>
|
| #elif defined(OS_MACOSX)
|
| #include <Security/cssm.h>
|
| #endif
|
| @@ -217,6 +219,9 @@ class CRYPTO_EXPORT RSAPrivateKey {
|
| #elif defined(OS_WIN)
|
| HCRYPTPROV provider() { return provider_; }
|
| HCRYPTKEY key() { return key_; }
|
| +#elif defined(OS_IOS)
|
| + SecKeyRef key() { return key_; }
|
| + SecKeyRef public_key() { return public_key_; }
|
| #elif defined(OS_MACOSX)
|
| CSSM_KEY_PTR key() { return &key_; }
|
| CSSM_KEY_PTR public_key() { return &public_key_; }
|
| @@ -263,6 +268,9 @@ class CRYPTO_EXPORT RSAPrivateKey {
|
|
|
| ScopedHCRYPTPROV provider_;
|
| ScopedHCRYPTKEY key_;
|
| +#elif defined(OS_IOS)
|
| + SecKeyRef key_;
|
| + SecKeyRef public_key_;
|
| #elif defined(OS_MACOSX)
|
| CSSM_KEY key_;
|
| CSSM_KEY public_key_;
|
|
|