createAuthenticationRequestParameters
When the 3DS Requestor 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 Requestor App. The app includes this information in its message to the 3DS Server.
The 3DS SDK encrypts the device information by using the DS public key. This key is identified based on the directoryServerID that is passed to the createTransaction method. The 3DS SDK can use A128CBC-HS256 or A128GCM as the encryption algorithm. For more information about 3DS SDK encryption, refer to Section 6.2.2, "Function I: 3DS SDK Encryption to DS" in the EMV 3DS Protocol Specification.
The 3DS SDK shall generate an ephemeral key pair that is required for subsequent communication with the ACS if a challenge must be applied. For more information, refer to 3DS SDK – ACS Secure Channel.
The getAuthenticationRequestParameters method shall be called for every transaction.
Return
This method returns an AuthenticationRequestParameters object that contains device information and 3DS SDK information.