- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试从 AWS S3 存储桶获取加密文件,并在我的 IOS 应用程序中打开它。但我不确定如何在我的应用程序中打开加密文件。解密的步骤是什么?
最佳答案
我了解您正在使用 AWS 的内置服务器端加密。在这种情况下,数据会自动加密和解密,您不必担心解密和 key 管理
Amazon S3 Server Side Encryption handles all encryption, decryption, and key management in a totally transparent fashion. When you PUT an object and request encryption (in an HTTP header supplied as part of the PUT), we generate a unique key, encrypt your data with the key, and then encrypt the key with a master key.
Decryption of the encrypted data requires no effort on your part. When you GET an encrypted object, we fetch and decrypt the key, and then use it to decrypt your data. We also include an extra header in the response to the GET to let you know that the data was stored in encrypted form in Amazon S3.
引用:AWS Official Blog: Amazon S3 Server Side Encryption for Data at Rest
它还有一个很好的图表来描述流程。
希望这有帮助。
关于ios - 如何将 AWS-S3 加密文件(AES-256 加密)读取到我的 IOS 应用程序中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34631353/
我是一名优秀的程序员,十分优秀!