Class HttpExecuteFieldLevelEncryptionInterceptor
java.lang.Object
com.mastercard.developer.interceptors.HttpExecuteEncryptionInterceptor
com.mastercard.developer.interceptors.HttpExecuteFieldLevelEncryptionInterceptor
- All Implemented Interfaces:
com.google.api.client.http.HttpExecuteInterceptor,com.google.api.client.http.HttpResponseInterceptor
A Google Client API interceptor for encrypting/decrypting parts of HTTP payloads.
See also:
-
HttpExecuteInterceptor
- HttpResponseInterceptor-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringdecryptPayload(com.google.api.client.http.HttpHeaders headers, String responsePayload) protected StringencryptPayload(com.google.api.client.http.HttpHeaders headers, String requestPayload) Methods inherited from class com.mastercard.developer.interceptors.HttpExecuteEncryptionInterceptor
from, intercept, interceptResponse
-
Constructor Details
-
HttpExecuteFieldLevelEncryptionInterceptor
-
-
Method Details
-
encryptPayload
protected String encryptPayload(com.google.api.client.http.HttpHeaders headers, String requestPayload) throws EncryptionException - Specified by:
encryptPayloadin classHttpExecuteEncryptionInterceptor- Throws:
EncryptionException
-
decryptPayload
protected String decryptPayload(com.google.api.client.http.HttpHeaders headers, String responsePayload) throws EncryptionException - Specified by:
decryptPayloadin classHttpExecuteEncryptionInterceptor- Throws:
EncryptionException
-