| Modifier and Type | Class and Description |
|---|---|
class |
LoggerImpl
Default file-based implementation of the Logger interface.
|
class |
LoggerWrapper
An internal class used by the clients to encapsulate the logger, primarily
to avoid having to check if the Logger object is null before logging.
|
| Modifier and Type | Method and Description |
|---|---|
Logger |
LoggerWrapper.getLogger()
Returns the encapsulated Logger object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MessageHandlerKeyStore.addIdentityToKeyStore(Identity id,
Logger logger)
Add Identity to KeyStore
|
static Document |
SecurityUtil.createSignedDoc(Document workingDocument,
String keyAlias,
String password,
Logger logger)
Create signed document
|
static Document |
SecurityUtil.handleMessageCreation(Document signedDoc,
String merchantId,
Logger logger)
Create signed encrypted document
|
boolean |
Identity.isValid(File keyFile,
Logger logger)
If merchant uploads a new key then isValid method will return false and certificate reload will happen.
|
static void |
SecurityUtil.loadMerchantP12File(MerchantConfig merchantConfig,
Logger logger)
Method loads the Merchant P12 key.
|
static void |
SecurityUtil.readJdkCert(MerchantConfig merchantConfig,
Logger logger)
read jdk certificates from cacerts file
|
static Document |
XMLClient.runTransaction(Document request,
Properties props,
Logger _logger,
boolean prepare,
boolean logTranStart)
Runs a transaction.
|
static Map<String,String> |
Client.runTransaction(Map<String,String> request,
Properties props,
Logger _logger,
boolean prepare,
boolean logTranStart)
Runs a transaction.
|
| Constructor and Description |
|---|
ClientException(Exception _innerException,
boolean _critical,
Logger logger) |
ClientException(Exception _innerException,
Logger logger) |
ClientException(int _httpStatusCode,
Logger logger) |
ClientException(int _httpStatusCode,
String _httpError,
boolean _critical,
Logger logger) |
ClientException(int _httpStatusCode,
String _httpError,
Logger logger) |
FaultException(Document _faultDocument,
String nsURI,
Logger logger)
Constructor.
|
Identity(MerchantConfig merchantConfig,
X509Certificate x509Certificate,
PrivateKey privateKey,
Logger logger)
Creates an Identity instance.this type of the instance can
only be used to store merchant identity.
|
LoggerWrapper(Logger _logger,
boolean _prepare,
boolean _logTranStart,
MerchantConfig _mc) |
Copyright © 2022. All rights reserved.