public static final class AdyenConfigParameters.Builder
extends java.lang.Object
AdyenConfigParameters.| Constructor and Description |
|---|
Builder(java.lang.String directoryServerId,
java.lang.String directoryServerPublicKey)
A builder class for the creation of
ConfigParameters required in the 3DS SDK service initialization.The 3DS SDK is initialized with ThreeDS2Service.initialize(Context, ConfigParameters, String, UiCustomization). |
Builder(java.lang.String directoryServerId,
java.lang.String directoryServerPublicKey,
java.lang.String directoryServerRootCertificates)
A builder class for the creation of
ConfigParameters required in the 3DS SDK service initialization.The 3DS SDK is initialized with ThreeDS2Service.initialize(Context, ConfigParameters, String, UiCustomization). |
| Modifier and Type | Method and Description |
|---|---|
AdyenConfigParameters.Builder |
appSignature(java.lang.String appSignature)
Pass the App's signature to validate the App authenticity.
|
ConfigParameters |
build()
Creates the
ConfigParameters required in the 3DS SDK service initialization.The 3DS SDK is initialized with ThreeDS2Service.initialize(Context, ConfigParameters, String, UiCustomization). |
AdyenConfigParameters.Builder |
deviceParameterBlockList(java.util.Set<java.lang.String> deviceParameterBlockList)
In case you do not wish to collect specific device parameters, you may specify these parameters here.
|
AdyenConfigParameters.Builder |
maliciousApps(java.util.Set<java.lang.String> maliciousApps)
In case the App should run in a safe environment, pass the malicious apps the App shouldn't work with
other than Xposed and Cydia substrate.
|
AdyenConfigParameters.Builder |
trustedAppStores(java.util.Set<java.lang.String> trustedAppStores)
In case the App is published in other app stores than Google Play Store,
pass the trusted app stores.
|
public Builder(java.lang.String directoryServerId,
java.lang.String directoryServerPublicKey)
ConfigParameters required in the 3DS SDK service initialization.ThreeDS2Service.initialize(Context, ConfigParameters, String, UiCustomization).directoryServerId - A String represents the directory server ID.directoryServerPublicKey - A String represents the directory server public key.public Builder(java.lang.String directoryServerId,
java.lang.String directoryServerPublicKey,
java.lang.String directoryServerRootCertificates)
ConfigParameters required in the 3DS SDK service initialization.ThreeDS2Service.initialize(Context, ConfigParameters, String, UiCustomization).directoryServerId - A String represents the directory server ID.directoryServerPublicKey - A String represents the directory server public key.directoryServerRootCertificates - A String represents the directory server root certificates.public AdyenConfigParameters.Builder appSignature(java.lang.String appSignature)
The 3DS SDK validates the given App's signature with the current one, if the later is not valid, the 3DS SDK registers an SDK integrity security warning.
For security reasons don't store the App's signature in the App, instead get it from the server via secure protocol like HTTPS.
Notice: after the 3DS SDK initialization, it is possible to get the 3DS SDK registered security warning
and act accordingly by calling ThreeDS2Service.getWarnings().
appSignature - The App's signing keystore SHA256 fingerprint.keytool -list -v -keystore release.keystore'AdyenConfigParameters.Builder.public AdyenConfigParameters.Builder trustedAppStores(java.util.Set<java.lang.String> trustedAppStores)
The 3DS SDK validates the App's installation app store source, if the app was installed form an untrusted app store the 3DS SDK registers an SDK integrity security warning.
Notice: after the 3DS SDK initialization, it is possible to get the 3DS SDK registered security warning
and act accordingly by calling ThreeDS2Service.getWarnings().
trustedAppStores - The trusted app stores package names the app is available at, defaults to
Google Play Store.AdyenConfigParameters.Builder.public AdyenConfigParameters.Builder maliciousApps(java.util.Set<java.lang.String> maliciousApps)
The 3DS SDK validates malicious apps are not installed on the device, if one of the malicious apps is installed, the 3DS SDK registers an SDK integrity security warning.
Notice: after the 3DS SDK initialization, it is possible to get the 3DS SDK registered security warning
and act accordingly by calling ThreeDS2Service.getWarnings().
maliciousApps - The malicious apps package names the SDK should validate are not installed on the device.AdyenConfigParameters.Builder.public AdyenConfigParameters.Builder deviceParameterBlockList(java.util.Set<java.lang.String> deviceParameterBlockList)
deviceParameterBlockList - The parameters that should not be collected.AdyenConfigParameters.Builder.public ConfigParameters build() throws InvalidInputException
ConfigParameters required in the 3DS SDK service initialization.ThreeDS2Service.initialize(Context, ConfigParameters, String, UiCustomization).ConfigParameters required in the 3DS SDK service initialization.InvalidInputException - This exception shall be thrown if an input parameter is invalid.directoryServerId or directoryServerPublicKey are empty or
null.