@Service(value="blPaymentGatewayTamperProofSealService") public class PaymentGatewayTamperProofSealServiceImpl extends Object implements PaymentGatewayTamperProofSealService
This default implementation encodes the seal using a URL-Safe Base64 encoder and 'HmacSHA1'
| Constructor and Description |
|---|
PaymentGatewayTamperProofSealServiceImpl() |
public PaymentGatewayTamperProofSealServiceImpl()
public String createTamperProofSeal(String secretKey, String customerId, String orderId) throws NoSuchAlgorithmException, InvalidKeyException
createTamperProofSeal in interface PaymentGatewayTamperProofSealServiceNoSuchAlgorithmExceptionInvalidKeyExceptionpublic Boolean verifySeal(String seal, String secretKey, String customerId, String orderId) throws InvalidKeyException, NoSuchAlgorithmException
verifySeal in interface PaymentGatewayTamperProofSealServiceInvalidKeyExceptionNoSuchAlgorithmExceptionCopyright © 2017. All rights reserved.