My understanding is that OpenSSL is deprecated in OSX 10.7 in favor of Common Crypto, but I can't seem to get a good handle on how to transition from OpenSSL code to Common Crypto code. In particular, I'm looking at App Store receipt validation with ValidateStoreReceipt. I started by trying to find a way to get at the contents of the PKCS#7 container, which seems to be the first step in dictionaryWithAppStoreReceipt
, but I couldn't find any documentation on how to do it.
Is it possible to rewrite this code so as not to depend on OpenSSL? If so, how? Is there documentation or a tutorial that I've missed?