changeset 1 | 60e4cbbb5128 |
parent 0 | 0a6527af039b |
child 2 | 8982b8fada63 |
1.1 --- a/MYKeyPair-iPhone.m Sat Apr 04 20:42:03 2009 -0700 1.2 +++ b/MYKeyPair-iPhone.m Sat Apr 04 22:56:13 2009 -0700 1.3 @@ -9,6 +9,8 @@ 1.4 1.5 #import "MYKeyPair.h" 1.6 #import "MYCrypto_Private.h" 1.7 +#import <CommonCrypto/CommonDigest.h> 1.8 + 1.9 1.10 #if USE_IPHONE_API 1.11 1.12 @@ -49,7 +51,9 @@ 1.13 } 1.14 1.15 1.16 -@synthesize privateKeyRef=_privateKey; 1.17 +- (SecKeyRef) privateKeyRef { 1.18 + return _privateKey; 1.19 +} 1.20 1.21 1.22 - (NSData*) decryptData: (NSData*)data {