Interface ChasePaymentApplePayMerchantIdentityCertificateAndKeyProvider
- All Known Implementing Classes:
DefaultChasePaymentApplePayMerchantIdentityCertificateAndKeyProvider
public interface ChasePaymentApplePayMerchantIdentityCertificateAndKeyProvider
The provider that is used to get the Apple Pay merchant identity certificate and private key.
These certificate and private key are used to send the secure request to the Apple Pay API to
create the merchant session.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetMerchantIdentityCertificateInputStream(String applicationId, String tenantId) Get the input stream to read the Apple Pay Merchant Identity certificate.getMerchantIdentityPrivateKeyInputStream(String applicationId, String tenantId) Get the input stream to read the Apple Pay Merchant Identity private key.
-
Method Details
-
getMerchantIdentityCertificateInputStream
InputStream getMerchantIdentityCertificateInputStream(@Nullable String applicationId, @Nullable String tenantId) throws ChasePaymentApplePayCertificateException Get the input stream to read the Apple Pay Merchant Identity certificate.- Parameters:
applicationId- the application idtenantId- the tenant id- Returns:
- the input stream to read the Apple Pay certificate in Base64 encoding
- Throws:
ChasePaymentApplePayCertificateException- when the certificate cannot be found or read
-
getMerchantIdentityPrivateKeyInputStream
InputStream getMerchantIdentityPrivateKeyInputStream(@Nullable String applicationId, @Nullable String tenantId) throws ChasePaymentApplePayCertificateException Get the input stream to read the Apple Pay Merchant Identity private key.- Parameters:
applicationId- the application idtenantId- the tenant id- Returns:
- the input stream to read the Apple Pay private key in Base64 encoding
- Throws:
ChasePaymentApplePayCertificateException- when the private key cannot be found or read
-