我确实发现 IE11 支持网络加密 API。是否可以通过 Javascript 使用此 API 访问浏览器商店中的 key ?我找不到任何接口(interface)。
最佳答案
不幸的是,这是不可能的。但另一个 API ( WebCrypto Key Discovery) 目前正在开发中,目的是提供对 WebCrypto 中预配置 key 的访问权限。
如工作草案摘要中所述:
This specification describes a JavaScript API for discovering named, origin-specific pre-provisioned cryptographic keys for use with the Web Cryptography API. Pre-provisioned keys are keys which have been made available to the UA by means other than the generation, derivation, importation functions of the Web Cryptography API.
但是,由于该过程仍处于早期阶段,我认为目前没有任何浏览器实现此 API。
关于javascript - 使用 webcrypto api 从浏览器商店访问 key ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20048214/