public string decodeToken_RS256(string token)
        {
            string            path_priv   = Path.Combine(Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory), @"priv.xml");
            string            path_publ   = Path.Combine(Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory), @"publ.xml");
            Customseriallizer Seriallizer = new Customseriallizer();

            //string _payload = Seriallizer.Serialize(payload);
            RS256_Helper.loadKeys(path_publ, path_priv);
            string input = RS256_Helper.Decrypt(token);

            return(input);
        }
        public string GenerateToken_RS256(object payload)
        {
            string            path_priv   = Path.Combine(Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory), @"priv.xml");
            string            path_publ   = Path.Combine(Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory), @"publ.xml");
            Customseriallizer Seriallizer = new Customseriallizer();
            string            _payload    = Seriallizer.Serialize(payload);

            RS256_Helper.loadKeys(path_publ, path_priv);
            string Token = RS256_Helper.Encrypt(_payload);

            return(Token);
        }