Transaction
An object that implements the Transaction interface shall hold parameters that the 3DS Server requires to create AReq messages and to perform the Challenge Flow.
Functions
The close method is called to clean up resources that are held by the Transaction object. It shall be called when the transaction is completed. Note: This method is required to be called only when the doChallenge method is not called in the transaction. The following are some examples of scenarios in which the close method is called:
If the ARes that is returned indicates that the Challenge Flow must be applied, the 3DS Requester App calls the doChallenge method with the required input parameters. The doChallenge method initiates the challenge process.
When the 3DS Requester App calls the getAuthenticationRequestParameters method, the 3DS SDK shall encrypt the device information that it collects during initialization and send this information along with the SDK information to the 3DS Requester App. The app includes this information in its message to the 3DS Server.