I have developed an SDK which can help application to sell it's in-app equipment. Because the SDK has billing feature, when my SDK be loaded by application, I need to ensure this application is authenticated, so I need to read the application's certificate information to verify it. I can find those API in android platform easy just like below:
pis = mContext.getPackageManager().getPackageInfo(packageName, PackageManager.GET_SIGNATURES);
Signature[] sigs = pis.signatures;
but I can not find same API in iOS. Any suggestion is appreciated.