Open javadevmtl opened 9 years ago
Wish the docs where a bit clearer here: https://developer.apple.com/library/ios/documentation/PassKit/Reference/PaymentTokenJSON/PaymentTokenJSON.html#//apple_ref/doc/uid/TP40014929
But basically you need to parse the "siganture" as pkcs#7 which includes a bunch of certificates plus the actual signature.
You can base64 decode the signature and write the bytes to a file then use openssl (openssl pkcs7 -text -in yourfile.txt -inform DER -print_certs)to view it.
But Any APi that can parse pkcs7 will do the trick too.
This should help thing get rolling along a bit easier.
can you Please provide the code for Signature verification
Apple-Pay-Signature-Verification: https://github.com/zooz-mobile/Apple-Pay-Signature-Verification
Any chance we will see the signature verification in the sample? :)
I tried...
But it doesn't seem to match...