Open Cris464 opened 9 years ago
I had the same error with the code Cipher.getInstance("AES/GCM/NoPadding");
.
But it works properly when I change the code to Cipher.getInstance("AES/GCM/NoPadding", "BC");
.
I hope this will be useful.
any code to do apple pay signature verification.. Please help..
On Tue, Mar 17, 2015 at 6:28 PM, afon notifications@github.com wrote:
I had the same error with the code Cipher.getInstance("AES/GCM/NoPadding");. But it works properly when I change the code to Cipher.getInstance("AES/GCM/NoPadding", "BC");.
— Reply to this email directly or view it on GitHub https://github.com/beatty/applepay_crypto_demo/issues/6#issuecomment-82331494 .
@samurai00 adding "BC" does not solve my issue. It is throwing a NoSuchProviderException
.
Did you try to add the provider in policy file. If not please try.
On 20-Feb-2017 12:32 AM, "Chandu JR" notifications@github.com wrote:
@samurai00 https://github.com/samurai00 adding "BC" does not solve my issue. It is throwing a NoSuchProviderException.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/beatty/applepay_crypto_demo/issues/6#issuecomment-280940203, or mute the thread https://github.com/notifications/unsubscribe-auth/AJg2u-ZPCsn9Dyrc7KqydCW2vhdP6DZgks5reJHDgaJpZM4DHiTz .
12
I am facing this issue while executing the line "cipher.init(Cipher.DECRYPT_MODE, keySpec,new IvParameterSpec(IV));"
Error: java.security.InvalidAlgorithmParameterException: Unsupported parameter: javax.crypto.spec.IvParameterSpec@1984b1f
Thanks, in advance