Package com.thalesgroup.tmgsdk
Interface VisaCTFHelper
-
public interface VisaCTFHelperVisaCTFHelperis used to bind and authenticatevProvisionedTokenIdwith the device.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidauthenticateTransaction(String vProvisionedTokenId, TransactionListener transactionListener)Authenticate Transaction for this token.voidcreateBinding(String vProvisionedTokenId, String deviceId, String correlationId, TokenBindingListener tokenBindingListener)Bind Visa Token to Device.BindingStategetBindingState(String vProvisionedTokenId)Get Token Activation StatusvoidremoveBinding(String correlationId, String vProvisionedTokenId, RemoveBindingListener removeBindingListener)Remove the Token from this device and server.PendingBindingSessionresumeBinding(String vProvisionedTokenId, TokenBindingListener tokenBindingListener)Get Token which is Pending Activation.voidsyncBindingState(String correlationId, String vProvisionedTokenId, SyncBindingStateListener syncBindingStateListener)Synchronize the binding state between client and server.
-
-
-
Method Detail
-
createBinding
void createBinding(String vProvisionedTokenId, String deviceId, String correlationId, TokenBindingListener tokenBindingListener)
Bind Visa Token to Device. when using this API, the whole binding process will restart from scratch. If used on an already bound token, the token will be re-bound again with a potential new end user authentication.- Parameters:
vProvisionedTokenId- Visa provision token id, this value is retrieved during tokenization process. Mandatory inputdeviceId- Device Identifier generated by App. Mandatory inputcorrelationId- Session Id generated by App. Mandatory inputtokenBindingListener- Callbacks for App to take action and to provide the final status of Token Binding status. Mandatory input
-
authenticateTransaction
void authenticateTransaction(String vProvisionedTokenId, TransactionListener transactionListener)
Authenticate Transaction for this token.- Parameters:
vProvisionedTokenId- Visa provision token id. Mandatory inputtransactionListener- Callbacks for App to take action and to provide the final status of Token Binding status. Mandatory input
-
getBindingState
BindingState getBindingState(String vProvisionedTokenId) throws TMGClientException
Get Token Activation Status- Parameters:
vProvisionedTokenId- Visa provision token id. Mandatory input- Throws:
TMGClientException- in case of any security and parsing related errors.
-
resumeBinding
PendingBindingSession resumeBinding(String vProvisionedTokenId, TokenBindingListener tokenBindingListener)
Get Token which is Pending Activation. use this method when resuming an ongoing binding session.- Parameters:
vProvisionedTokenId- visa provision token id.tokenBindingListener- Callbacks for App to provide the final status of Resume Binding process. Mandatory input.
-
removeBinding
void removeBinding(String correlationId, String vProvisionedTokenId, RemoveBindingListener removeBindingListener)
Remove the Token from this device and server.- Parameters:
correlationId- Session Id generated by App. Mandatory inputvProvisionedTokenId- visa provision token id. Mandatory inputremoveBindingListener- Callbacks for App to provide the final status of Remove Binding process. Mandatory input.
-
syncBindingState
void syncBindingState(String correlationId, String vProvisionedTokenId, SyncBindingStateListener syncBindingStateListener)
Synchronize the binding state between client and server.- Parameters:
correlationId- Session Id generated by App. Mandatory inputvProvisionedTokenId- Visa provision token id. Mandatory inputsyncBindingStateListener- Callbacks for App to provide the final status of Sync Binding process. Mandatory input.
-
-