StripeThreeDs2ServiceImpl

Constructors

Link copied to clipboard
constructor(context: Context, enableLogging: Boolean = false, workContext: CoroutineContext)
constructor(context: Context, sdkReferenceNumber: String, enableLogging: Boolean = false, workContext: CoroutineContext)

Properties

Link copied to clipboard
open override val warnings: List<Warning>

Functions

Link copied to clipboard
open override fun cleanup()

The cleanup method frees up resources that are used by the 3DS2 SDK. It is called only once during a single app session.

Link copied to clipboard
open override fun createTransaction(sdkTransactionId: SdkTransactionId, directoryServerID: String, messageVersion: String?, isLiveMode: Boolean, directoryServerName: String, rootCerts: List<X509Certificate>, dsPublicKey: PublicKey, keyId: String?, uiCustomization: StripeUiCustomization): Transaction
Link copied to clipboard
open override fun getPublicKey(directoryServerId: String): PublicKey

Returns the corresponding PublicKey for the given Directory Server ID.