private Dictionary <string, string> GetRSAKeyPair()
        {
            Dictionary <string, string> keyPair = null;

            if (cache.Get("RSAKEYPAIR") == null)
            {
                keyPair = EncryptionProvider.CreateRsaKeyPair();
                cache.Set("RSAKEYPAIR", keyPair, new DateTimeOffset(DateTime.Now.AddMinutes(10)));
            }
            else
            {
                keyPair = cache.Get("RSAKEYPAIR") as Dictionary <string, string>;
            }
            return(keyPair);
        }