Class TMGClient


  • public class TMGClient
    extends Object
    The TMGClient is used to create instances of VisaCTFHelper and MastercardTAFHelper. These instances are utilized to bind and authenticate vProvisionedTokenId for Visa or tokenId for Mastercard to the device.
    Since:
    1.0
    Version:
    1.0
    • Constructor Detail

      • TMGClient

        public TMGClient()
    • Method Detail

      • createVisaCTFHelper

        public VisaCTFHelper createVisaCTFHelper​(TMGClientConfiguration tmgClientConfiguration)
                                          throws TMGClientException
        Creates a Visa Token Binding Client with the given configuration.
        Parameters:
        tmgClientConfiguration - A configuration object with mandatory parameters.
        Returns:
        null, if the tmgClientConfiguration object is null.
        Throws:
        TMGClientException - When the device environment is unsafe.
      • createMastercardTAFHelper

        public MastercardTAFHelper createMastercardTAFHelper​(TMGClientConfiguration tmgClientConfiguration)
                                                      throws TMGClientException
        Creates Mastercard Token Binding Client with the given configuration.
        Parameters:
        tmgClientConfiguration - A configuration object with mandatory parameters.
        Returns:
        null, if tmgClientConfiguration object is null.
        Throws:
        TMGClientException - When the device environment is unsafe.
      • getSecureLogFiles

        public List<File> getSecureLogFiles()
        Retrieves the list of secure log files generated by the SecureLogClient.
        Returns:
        A list of File objects representing the secure log files, or null if the SecureLogClient instance is not initialised.
      • getVersion

        public String getVersion()
        To get the version of TMGSDK .
        Returns:
        The version of TMGSDK of type string.
      • reset

        public void reset()
        To reset the VisaCTFHelper instance.