AuthenticationRequestParameters

class AuthenticationRequestParameters(val deviceData: String, val sdkTransactionId: String, val sdkAppId: String, val sdkReferenceNumber: String, val sdkEphemeralPublicKey: String, val messageVersion: String)

The AuthenticationRequestParameters class shall hold transaction data that the App passes to the 3DS Server for creating the AReq.

Parameters

deviceData

the encrypted device data as a JWE string.

sdkTransactionId

SDK Transaction ID as a string by using a secure random function to generate a Transaction ID in UUID.

sdkAppId

SDK App ID as a string by using a secure random function to generate a Transaction ID in UUID. This ID is unique and is generated during installation and update of the 3DS Requester App on the Cardholder’s device.

sdkReferenceNumber

SDK Reference Number as a string.

sdkEphemeralPublicKey

the public key component of the ephemeral key pair as a String representation of a JWK object. An ephemeral key pair is used to establish a secure session between the 3DS SDK and the ACS. During each transaction, the createTransaction method generates a fresh ephemeral key pair and the getSDKEphemeralPublicKey method returns the public key component of the same as a String representation of a JWK object.

messageVersion

protocol version as a string. The messageVersion is the protocol version that is used for the transaction. The SDK receives the protocol version as a parameter in the createTransaction method and determines whether it supports the version. If the SDK does not receive the protocol version as a parameter in the createTransaction method, then it returns the latest version that it supports.

Constructors

Link copied to clipboard
constructor(deviceData: String, sdkTransactionId: String, sdkAppId: String, sdkReferenceNumber: String, sdkEphemeralPublicKey: String, messageVersion: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard