private KeyStoreOperationStatus RetrieveKey(out string keyValue, string filepath)
        {
            keyValue = null;
            if (!File.Exists(filepath))
            {
                return KeyStoreOperationStatus.RETRIEVE_FILE_DOES_NOT_EXIST;
            }

            IKeyManager keyManager = new LocalKeyStoreManager(filepath, true);
            return keyManager.RetrieveKey(out keyValue);
        }
        private KeyStoreOperationStatus PersistKey(string keyValue, string filepath)
        {
            string folderPath = Path.GetDirectoryName(filepath);
            if (!Directory.Exists(folderPath))
            {
                Directory.CreateDirectory(folderPath);
            }

            IKeyManager keyManager = new LocalKeyStoreManager(filepath, true);
            return keyManager.PersistKey(keyValue);
        }