public class SecurityUtil
extends java.lang.Object
| Constructor and Description |
|---|
SecurityUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.w3c.dom.Document |
createSignedDoc(org.w3c.dom.Document workingDocument,
java.lang.String merchantID,
java.lang.String password,
Logger logger) |
static org.w3c.dom.Document |
handleMessageCreation(org.w3c.dom.Document signedDoc,
java.lang.String merchantID,
Logger logger) |
static void |
loadMerchantP12File(MerchantConfig merchantConfig,
Logger logger)
Method loads the Merchant P12 key.
|
static void |
readJdkCert(MerchantConfig merchantConfig,
Logger logger) |
public static void loadMerchantP12File(MerchantConfig merchantConfig, Logger logger) throws com.cybersource.ws.client.SignException, SignEncryptException, com.cybersource.ws.client.ConfigException
merchantConfig - - Merchant Configlogger - - logger instanceSignException - - Signature exceptionSignEncryptExceptionConfigExceptionpublic static org.w3c.dom.Document handleMessageCreation(org.w3c.dom.Document signedDoc,
java.lang.String merchantID,
Logger logger)
throws SignEncryptException,
com.cybersource.ws.client.SignException
SignEncryptExceptioncom.cybersource.ws.client.SignExceptionpublic static org.w3c.dom.Document createSignedDoc(org.w3c.dom.Document workingDocument,
java.lang.String merchantID,
java.lang.String password,
Logger logger)
throws com.cybersource.ws.client.SignException
com.cybersource.ws.client.SignExceptionpublic static void readJdkCert(MerchantConfig merchantConfig, Logger logger) throws SignEncryptException, com.cybersource.ws.client.SignException, com.cybersource.ws.client.ConfigException
SignEncryptExceptioncom.cybersource.ws.client.SignExceptioncom.cybersource.ws.client.ConfigExceptionCopyright © 2018. All Rights Reserved.