RichUtils / pyxis.uzuki.live.richutilskt.module.iap / RInAppBilling / Security / verify

verify

fun verify(publicKey: PublicKey, signedData: String, signature: String): Boolean

Verifies that the signature from the server matches the computed signature on the data. Returns true if the data is correctly signed.

Parameters

publicKey - public key associated with the developer account

signedData - signed data from server

signature - server signature

Return
true if the data and signature match