Interface CheckoutComApplePayCertificateAndKeyProvider
- All Known Implementing Classes:
DefaultCheckoutComApplePayCertificateAndKeyProvider
public interface CheckoutComApplePayCertificateAndKeyProvider
The provider that is used to get the Apple Pay certificate and privet key. These certificate and
private key are used to send the secure request to the Apple Pay API to validate the merchant
session.
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetCertificateInputStream
(String applicationId, String tenantId) Get the input stream to read the Apple Pay certificate.getPrivateKeyInputStream
(String applicationId, String tenantId) Get the input stream to read the Apple Pay private key.
-
Method Details
-
getCertificateInputStream
InputStream getCertificateInputStream(@Nullable String applicationId, @Nullable String tenantId) throws CheckoutComApplePayCertificateException Get the input stream to read the Apple Pay certificate.- Parameters:
applicationId
- the application idtenantId
- the tenant id- Returns:
- the input stream to read the Apple Pay certificate
- Throws:
CheckoutComApplePayCertificateException
- when the certificate cannot be found ore read
-
getPrivateKeyInputStream
InputStream getPrivateKeyInputStream(@Nullable String applicationId, @Nullable String tenantId) throws CheckoutComApplePayCertificateException Get the input stream to read the Apple Pay private key.- Parameters:
applicationId
- the application idtenantId
- the tenant id- Returns:
- the input stream to read the Apple Pay private key
- Throws:
CheckoutComApplePayCertificateException
- when the private key cannot be found ore read
-