public class JWEUtility extends Object
| Constructor | Description |
|---|---|
JWEUtility() |
| Modifier and Type | Method | Description |
|---|---|---|
static String |
decryptJWEResponse(PrivateKey privateKey,
String encodedResponse) |
|
static String |
decryptJWEResponse(String encodedResponse,
com.cybersource.authsdk.core.MerchantConfig merchantConfig) |
Deprecated.
use
decryptJWEResponse(PrivateKey, String) instead. |
@Deprecated public static String decryptJWEResponse(String encodedResponse, com.cybersource.authsdk.core.MerchantConfig merchantConfig) throws JWEException
decryptJWEResponse(PrivateKey, String) instead.encodedResponse - The encoded response that has to be decryptedmerchantConfig - The merchant configuration object where the private key pem file path is providedJWEException - Error during decryptionpublic static String decryptJWEResponse(PrivateKey privateKey, String encodedResponse) throws JWEException
privateKey - The private key to use for decrypting the encoded responseencodedResponse - The encoded response that has to be decryptedJWEException - Error during decryptionCopyright © 2026. All rights reserved.