Javascript - 来自USB令牌的密钥/证书 [英] Javascript - key / certificate from USB Token

查看:684
本文介绍了Javascript - 来自USB令牌的密钥/证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想问一下,使用JavaScript是否仍然无法从 USB令牌存储在浏览器中的证书获取密钥。我正在阅读许多文章,说 WebCryptoApi 无法做到这一点。

I would like to ask if is still impossible, using JavaScript, to get key from USB token or from certificate stored in Browser. I was reading many articles which said WebCryptoApi doesn't enable to do that.

是否可以从令牌获取密钥?也许有些事情被改变了

Is any option to get key from token? Maybe something was changed?

推荐答案

现在不可能。 WebCryptoApi不支持使用存储在外部密钥库中的密钥,如智能卡,Mozilla密钥库或Windows KeyStore(由Chrome和Explorer使用),以及阅读上次会议的评论,它不是当前优先级。

It is not possible for now. The WebCryptoApi does not support using keys stored in external keystores like smartcards, Mozilla keystore or Windows KeyStore (used by Chrome and Explorer), and reading the comments of the last conferences, it is not a current priority.

W3C的另一个Javascript API规范将与Web Cryptography Api一起使用。请参阅 WebCrypto Key Discovery

There is another Javascript API specification of W3C to be used with Web Cryptography Api. See WebCrypto Key Discovery


本说明描述了一个JavaScript API,用于发现与Web Cryptography API一起使用的命名的,特定于源的预配置加密密钥。

This note describes a JavaScript API for discovering named, origin-specific pre-provisioned cryptographic keys for use with the Web Cryptography API.

不幸的是,仍然是一个正在开发的工作组。

Unfortunately is still a working group under development.

这篇关于Javascript - 来自USB令牌的密钥/证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆