Xamarin.iOS / Akavache / Encrypted Cache Working Example

蹲街弑〆低调 提交于 2019-12-10 16:19:05

问题


Does anyone have and is willing to share a working example of using Akavache in a Xamarin.iOS project (ideally without any other add on ui frameworks, as bare bones as possible) implementing a custom EncryptionProvider so that the Secure cache is actually encrypted.

To clarify, I would like the example to show the following:

  • use of Xamarin.iOS to build a simple iOS app
  • use of Akavache to cache data
  • use of Akavache's BlobCache.Secure or SQLiteEncryptedBlobCache with a custom EncryptionProvider implementation to keep the cached data encrypted when data is at rest

Thanks for your help.

Conclusion:

With the help of the example below I got my test solution working and am sharing it here for anyone that it might help in the future: https://github.com/dmitrysamuylov/xamarin-ios-akavache-secure-example


回答1:


Link to the sample I created

https://github.com/PureWeen/Akavache.Samples

I realize link only answers are usually frowned upon but I don't know if anyone wants my whole sample pasted into an answer :-)



来源:https://stackoverflow.com/questions/46104014/xamarin-ios-akavache-encrypted-cache-working-example

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!