diff -r 2c300b15b381 -r 38c3c3923e1f MYCrypto_Private.h --- a/MYCrypto_Private.h Sat Jun 06 15:01:28 2009 -0700 +++ b/MYCrypto_Private.h Wed Jun 10 09:02:18 2009 -0700 @@ -53,10 +53,12 @@ - (id) initWithKeyData: (NSData*)data; - (id) _initWithKeyData: (NSData*)data forKeychain: (SecKeychainRef)keychain; -@property (readonly) SecExternalItemType keyType; +@property (readonly) SecExternalItemType keyClass, keyType; @property (readonly) MYSHA1Digest* _keyDigest; - (NSData*) _crypt: (NSData *)data operation: (BOOL) op; // YES to encrypt, NO to decrypt -#if !MYCRYPTO_USE_IPHONE_API +#if MYCRYPTO_USE_IPHONE_API ++ (SecKeyRef) _addKeyWithInfo: (NSMutableDictionary*)info; +#else @property (readonly) const CSSM_KEY* cssmKey; @property (readonly) const CSSM_CSP_HANDLE cssmCSPHandle; - (CSSM_CC_HANDLE) _createSignatureContext: (CSSM_ALGORITHMS)algorithm;