Class TkmWallet


  • public class TkmWallet
    extends Object
    Author:
    giovanni.antino@h2tcoin.com
    • Constructor Detail

      • TkmWallet

        public TkmWallet()
    • Method Detail

      • verifySign

        public static TkmCypherBean verifySign​(TransactionBean tb)
        It verifies the Transaction Bean content going through all the wrapped chain elements parsed use this function with caution, check for null values. For transaction integrity check use verifyTransactionIntegrity, for block integrity check use BlockUtils.decodeBlock(String blockJson)
        Parameters:
        tb - - Java Class Bean - Chrypted envelope
        Returns:
        TkmCypherBean
      • verifyTransactionIntegrity

        public static TransactionBox verifyTransactionIntegrity​(String transactionJson)
      • verifyTransactionIntegrity

        public static TransactionBox verifyTransactionIntegrity​(TransactionBean tb,
                                                                String transactionJson)
        It creates a transaction box containing both Transaction bean and itb message Only when the verifySign method sets a valid transaction
        Parameters:
        tb - Java Class Bean - Chrypted envelope
        transactionJson -
        Returns:
      • verifyTransactionIntegrity

        public static TransactionBox verifyTransactionIntegrity​(TransactionBean tb)
        It creates a transaction box containing both Transaction bean and itb message Only when the verifySign method sets a valid transaction
        Parameters:
        tb - Java Class Bean - Chrypted envelope
        Returns: