Interface ThreeDS2Service
-
- All Implemented Interfaces:
public interface ThreeDS2ServiceThe ThreeDS2Service interface is the main 3DS SDK interface. It shall provide methods to process transactions.
-
-
Method Summary
Modifier and Type Method Description abstract ThreeDS2Serviceinitialize(ThreeDS2ServiceConfiguration threeDS2ServiceConfiguration)abstract TransactioncreateTransaction()The createTransaction method creates an instance of Transaction through which the 3DS Requester App gets the data that is required to perform the transaction. abstract List<Warning>getWarnings()The getWarnings method check for warnings of any potential security risks to the device abstract Unitcleanup()This method clear and close contexts and resources which ThreeDS2Service holds. -
-
Method Detail
-
initialize
abstract ThreeDS2Service initialize(ThreeDS2ServiceConfiguration threeDS2ServiceConfiguration)
- Parameters:
threeDS2ServiceConfiguration- represents the parameters for configuration.
-
createTransaction
abstract Transaction createTransaction()
The createTransaction method creates an instance of Transaction through which the 3DS Requester App gets the data that is required to perform the transaction. The 3DS Requester App calls the createTransaction method for each transaction that is to be processed. When the createTransaction method is called:<ul>
<li>The 3DS SDK uses a secure random function to generate a Transaction ID in UUID format. This ID is used to uniquely identify each transaction. <li>The 3DS SDK generates a fresh ephemeral key pair. This key pair is used to establish a secure session between the 3DS SDK and the ACS subsequently during the transaction.</ul>- Returns:
This method returns an instance of the Transaction interface.
-
getWarnings
abstract List<Warning> getWarnings()
The getWarnings method check for warnings of any potential security risks to the device
- Returns:
a collection of any warnings gathered by the 3DS SDK. Refer Warning
-
-
-
-