| Modifier and Type | Method and Description |
|---|---|
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
|
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
|
| Constructor and Description |
|---|
Identity(MerchantConfig merchantConfig,
X509Certificate x509Certificate)
Creates an Identity instance.this type of the instance can
only be used to store server certificate identity.
|
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.
|
Copyright © 2022. All rights reserved.