问题描述
任何人都愿意并且愿意分享在Xamarin.iOS
项目中使用Akavache
的有效示例(理想情况下,无需在ui框架上添加任何其他内容,尽可能裸露骨骼)自定义EncryptionProvider
,以便对安全缓存进行实际加密.
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:
- 使用
Xamarin.iOS
来构建简单的iOS应用 - 使用
Akavache
缓存数据 - 将
Akavache
的BlobCache.Secure
或SQLiteEncryptedBlobCache
与自定义的EncryptionProvider实现配合使用,以在数据静止时使缓存的数据保持加密状态
- use of
Xamarin.iOS
to build a simple iOS app - use of
Akavache
to cache data - use of
Akavache
'sBlobCache.Secure
orSQLiteEncryptedBlobCache
with a custom EncryptionProvider implementation to keep the cached data encrypted when data is at rest
感谢您的帮助.
借助下面的示例,我使我的测试解决方案能够正常工作,并在这里与任何可能对将来有所帮助的人共享该解决方案: https://github.com/dmitrysamuylov/xamarin-ios-akavache-secure-例子
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
推荐答案
链接到我创建的示例
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 :-)
这篇关于Xamarin.iOS/Akavache/加密缓存工作示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!