using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Sog; using LitJson; using Sog.Crypto; namespace World { public static class GooglePayCheck { // todo google 校验逻辑 public static bool CheckGooglePay(string purchaseData, string signature, string publicKeyBase64) { bool bCheckSuccess = GooglePaySecurity.CheckSignatureCS(purchaseData, signature, publicKeyBase64); //bCheckSuccess = GooglePaySecurity.CheckSignature(purchaseData, signature, publicKeyBase64); return bCheckSuccess; } } }