【发布时间】:2015-04-19 06:09:03
【问题描述】:
Google play 使用 RSA 算法进行加密/解密。在google play返回的数据中,有一个名为“signature”的字段。
Bundle containing the following key-value pairs
"RESPONSE_CODE" with int value, RESULT_OK(0) if success, other response codes on failure as listed above.
"INAPP_PURCHASE_ITEM_LIST" - StringArrayList containing the list of SKUs
"INAPP_PURCHASE_DATA_LIST" - StringArrayList containing the purchase information
"INAPP_DATA_SIGNATURE_LIST"- StringArrayList containing the signatures of the purchase information
"INAPP_CONTINUATION_TOKEN" - String containing a continuation token for the next set of in-app purchases. Only set if the user has more owned skus than the current list.
我想知道 IInAppBillingService 方法(getSkuDetails、getBuyIntent 和 getPurchases)中使用的“签名”和“签名列表”是什么。
【问题讨论】:
标签: android in-app-purchase rsa google-play-services