Xamarin.iOS / Akavache / Encrypted Cache Working E

2019-07-06 09:43发布

问题:

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 :-)