如何使用 StrongName 的公钥和私钥?
.snk 文件的公钥和私钥使用有什么区别?
What is the difference between public key and private key usage for .snk files?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
.snk 文件的公钥和私钥使用有什么区别?
What is the difference between public key and private key usage for .snk files?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
您使用:
两者在数学上都是相关的,请阅读 RSA 公钥加密技术以了解详细信息。
因此,如果您想确保其他人无法使用与您相同的公钥令牌生成签名的程序集,则需要保护私钥。
注意:公钥令牌是公钥的简化版本(SHA1 摘要的一部分)(在大多数情况下太长而无法显示)。
You use the:
Both are mathematically related, read about RSA public key cryptography for details.
As such you need to protect the private key if you want to ensure no one else can produce a signed assembly using the same public key token as yourself.
note: the public key token is a reduced version (part of the SHA1 digest) of your public key (which would be too long to show in most scenarios).