Class DefaultCheckoutComApplePayCertificateAndKeyProvider
java.lang.Object
com.broadleafcommerce.vendor.checkoutcom.service.session.DefaultCheckoutComApplePayCertificateAndKeyProvider
- All Implemented Interfaces:
CheckoutComApplePayCertificateAndKeyProvider
@Deprecated(since="2.0.4",
forRemoval=true)
public class DefaultCheckoutComApplePayCertificateAndKeyProvider
extends Object
implements CheckoutComApplePayCertificateAndKeyProvider
Deprecated, for removal: This API element is subject to removal in a future version.
The default implementation for
CheckoutComApplePayCertificateAndKeyProvider. This uses
ClassPathResource to get the certificate and private key from the class path resources.- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultCheckoutComApplePayCertificateAndKeyProvider(CheckoutComApplePayConfigurationProperties applePayConfigurationProperties) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.getCertificateInputStream(String applicationId, String tenantId) Deprecated, for removal: This API element is subject to removal in a future version.Get the input stream to read the Apple Pay certificate.getPrivateKeyInputStream(String applicationId, String tenantId) Deprecated, for removal: This API element is subject to removal in a future version.Get the input stream to read the Apple Pay private key.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.broadleafcommerce.vendor.checkoutcom.service.session.CheckoutComApplePayCertificateAndKeyProvider
getCertAndKeyFormat
-
Constructor Details
-
DefaultCheckoutComApplePayCertificateAndKeyProvider
public DefaultCheckoutComApplePayCertificateAndKeyProvider(CheckoutComApplePayConfigurationProperties applePayConfigurationProperties) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getCertificateInputStream
public InputStream getCertificateInputStream(@Nullable String applicationId, @Nullable String tenantId) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CheckoutComApplePayCertificateAndKeyProviderGet the input stream to read the Apple Pay certificate.- Specified by:
getCertificateInputStreamin interfaceCheckoutComApplePayCertificateAndKeyProvider- Parameters:
applicationId- the application idtenantId- the tenant id- Returns:
- the input stream to read the Apple Pay certificate
-
getPrivateKeyInputStream
public InputStream getPrivateKeyInputStream(@Nullable String applicationId, @Nullable String tenantId) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CheckoutComApplePayCertificateAndKeyProviderGet the input stream to read the Apple Pay private key.- Specified by:
getPrivateKeyInputStreamin interfaceCheckoutComApplePayCertificateAndKeyProvider- Parameters:
applicationId- the application idtenantId- the tenant id- Returns:
- the input stream to read the Apple Pay private key
-
getApplePayConfigurationProperties
Deprecated, for removal: This API element is subject to removal in a future version.
-
StringBase64CheckoutComApplePayCertificateAndKeyProviderinstead