1.1 --- a/MYCrypto_Private.h Sat Apr 18 18:12:06 2009 -0700
1.2 +++ b/MYCrypto_Private.h Sun Apr 19 00:01:41 2009 -0700
1.3 @@ -58,7 +58,6 @@
1.4 #if !MYCRYPTO_USE_IPHONE_API
1.5 @property (readonly) const CSSM_KEY* cssmKey;
1.6 @property (readonly) const CSSM_CSP_HANDLE cssmCSPHandle;
1.7 -- (NSData*) exportKeyInFormat: (SecExternalFormat)format withPEM: (BOOL)withPEM;
1.8 - (CSSM_CC_HANDLE) _createSignatureContext: (CSSM_ALGORITHMS)algorithm;
1.9 - (CSSM_CC_HANDLE) _createPassThroughContext;
1.10 #endif
1.11 @@ -67,6 +66,9 @@
1.12
1.13
1.14 @interface MYSymmetricKey (Private)
1.15 +#if !MYCRYPTO_USE_IPHONE_API
1.16 +- (id) _initWithCSSMKey: (CSSM_KEY*)cssmKey;
1.17 +#endif
1.18 + (MYSymmetricKey*) _generateSymmetricKeyOfSize: (unsigned)keySizeInBits
1.19 algorithm: (CCAlgorithm)algorithm
1.20 inKeychain: (MYKeychain*)keychain;
1.21 @@ -126,5 +128,6 @@
1.22 SecKeyImportExportParameters *params /*non-null*/);
1.23
1.24 NSString* OIDAsString(CSSM_OID OID);
1.25 +CSSM_ALGORITHMS CSSMFromCCAlgorithm( CCAlgorithm ccAlgorithm );
1.26
1.27 #endif