Hi Cheng.
var p = new ApplePayParameters
{
PrivateKey = "MIIEvQIBADANBgkqhkiG9w........=",
EphemeralPublicKey = "MFkwEwYHKoZI.......==",
MerchantIdentifier = "me...."
};
ApplePayTokenDecrypter d = new ApplePayTokenDecrypter();
d.Init(p);
var res = d.Decrypt("Q8JclPEJp....ZGYl","");
The Decryption method throws an exception on the call
PrivateKeyParameters = CreatePrivateKeyParameters ();
In the line
Return (ECPrivateKeyParameters) PrivateKeyFactory.CreateKey (privInfo);
Because of what this can be?
Hi Cheng.
The Decryption method throws an exception on the call
PrivateKeyParameters = CreatePrivateKeyParameters ();In the line
Return (ECPrivateKeyParameters) PrivateKeyFactory.CreateKey (privInfo);Because of what this can be?