Use below method of jar to generate checksum and verify checksum as per your JDK version
- Generate Checksum For Transaction Request:
public String genrateCheckSum(String Key, TreeMap<String, String> paramap) - Generate Checksum For Refund Request:
public String genrateRefundCheckSum(String Key, TreeMap<String, String> paramap) - Verify Checksum:
public boolean verifycheckSum(String masterKey, TreeMap<String, String> paramap,String responseCheckSumString)
- Generate Checksum For Transaction Request:
public String genrateCheckSumIBMJCE(String Key, TreeMap<String, String> paramap) - Generate Checksum For Refund Request:
public String genrateRefundCheckSumIBMJCE(String Key, TreeMap<String, String> paramap) - Verify Checksum:
public boolean verifycheckSumGAE(String masterKey, TreeMap<String, String> paramap,String responseCheckSumString)
- Generate Checksum For Transaction Request:
public String genrateCheckSumGAE(String Key, TreeMap<String, String> paramap) - Generate Checksum For Refund Request:
public String genrateRefundCheckSumGAE(String Key, TreeMap<String, String> paramap) - Verify Checksum:
public boolean verifycheckSumIBMJCE(String masterKey, TreeMap<String, String> paramap,String responseCheckSumString)