public static string generate(MessageRequest messageRequest, int expireMinute, string privateKeyPath, string esbPublicKeyPath)
        {
            string     text       = GenerateReqMsg.generate(messageRequest, expireMinute, privateKeyPath);
            RSAEncrypt rSAEncrypt = new RSAEncrypt();

            try
            {
                text = rSAEncrypt.EncryptPublicKey(text, esbPublicKeyPath);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(text);
        }
        public static string generate(MessageRequest messageRequest, string privateKeyPath, string esbPublicKeyPath)
        {
            int expireMinute = 5;

            return(GenerateReqMsg.generate(messageRequest, expireMinute, privateKeyPath, esbPublicKeyPath));
        }