Class AdyenConfigParameters.Builder

    • Constructor Detail

      • AdyenConfigParameters.Builder

        AdyenConfigParameters.Builder(String directoryServerId, String directoryServerPublicKey, String directoryServerRootCertificates)
        A builder class for the creation of ConfigParameters required in the 3DS SDK service initialization.
        Parameters:
        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.
    • Method Detail

      • appSignature

         AdyenConfigParameters.Builder appSignature(String appSignature)

        Pass the App's signature to validate the App authenticity.

        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 getWarnings.

        Parameters:
        appSignature - The App's signing keystore SHA256 fingerprint.
        Returns:

        The Builder.

      • trustedAppStores

         AdyenConfigParameters.Builder trustedAppStores(Set<String> trustedAppStores)

        In case the App is published in other app stores than Google Play Store, pass the trusted app stores.

        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 getWarnings.

        Parameters:
        trustedAppStores - The trusted app stores package names the app is available at, defaults to Google Play Store.
        Returns:

        The Builder.

      • maliciousApps

         AdyenConfigParameters.Builder maliciousApps(Set<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.

        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 getWarnings.

        Parameters:
        maliciousApps - The malicious apps package names the SDK should validate are not installed on the device.
        Returns:

        The Builder.