is there a difference between public key and ephemeral public key in Android Pay? -


i going through google android pay page: https://developers.google.com/android-pay/integration/payment-token-cryptography . have question:

is there difference between public key generated (e.g. openssl) , submitted google in maskedwalletrequest , so-called "ephemeral public key" in payment method token response?

are same base64 string? if not, difference?

thanks!

the public key app provides android pay api public key you've generated, , passing android pay api encrypt payment credential bundle. https://developers.google.com/android-pay/integration/payment-token-cryptography#setting-a-public-key

the ephemeral public key returned android pay api along encrypted message, , generated part of encryption process. use ephemeral public key decrypt encrypted message. more information on eliptic curve, please see https://en.wikipedia.org/wiki/elliptic_curve_diffie%e2%80%93hellman


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -