diff -r 1dfe820d7ebe -r 2d7692f9b6b4 MYCrypto_Private.h --- a/MYCrypto_Private.h Wed Apr 08 16:30:52 2009 -0700 +++ b/MYCrypto_Private.h Thu Apr 09 22:46:48 2009 -0700 @@ -74,12 +74,17 @@ @interface MYPublicKey (Private) - (BOOL) setValue: (NSString*)valueStr ofAttribute: (SecKeychainAttrType)attr; +#if !TARGET_OS_IPHONE +- (CSSM_WRAP_KEY*) _unwrappedCSSMKey; +#endif @end @interface MYPrivateKey (Private) + (MYPrivateKey*) _generateRSAKeyPairOfSize: (unsigned)keySize inKeychain: (MYKeychain*)keychain; +- (id) _initWithKeyRef: (SecKeyRef)privateKey + publicKey: (MYPublicKey*)publicKey; - (id) _initWithKeyData: (NSData*)privKeyData publicKeyData: (NSData*)pubKeyData forKeychain: (SecKeychainRef)keychain