[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: [iaik-jce] Md5RSASignature question



> //verifying
> 10. hash_rsa.initVerify(rsa_pub);
> 11. hash_rsa.update(signed);
You need to put the original data in again at this point, and not the
signature! The sig is put in in step 12 anyway.


> 12. System.out.println("Verify returned  " + hash_rsa.verify(signed));

Peter


smime.p7s