You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
633 B
26 lines
633 B
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;
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
|