什么是公钥标记的作用是什么? [英] What is the role of public key token?

查看:167
本文介绍了什么是公钥标记的作用是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是公钥标记的作用是什么?是否有任何部分解密签名的哈希值。在海关总署,为什么会有这么多的组件从微软使用相同的公钥标记?

解决方案
  

什么是公钥标记的作用是什么?

公钥标记是一个小数目这是一个方便令牌再presenting公钥。公共密钥很长;公钥标记的目的是让你参考键不用说整个键。同样的方式称指环王之类的是五个字其中的再present 的半一百万字的小说。如果每次你想谈论这件事的时候,你不得不说出那些半一万字这将是相当不方便。

  

是否有任何部分解密签名的哈希?

没有。公钥标记中有没有信息。这只是一个数字的再presents 的公开密钥。它本身不是一个公共密钥。

  

为什么有这么多的组件从微软使用相同的公钥标记?

由于他们都使用相同的私钥签名 - 微软的私有密钥 - ,因此所有验证具有相同的公钥,因此都具有相同的公钥标记

What is the role of public key token? Does it have any part in decrypting the signed hash. In GAC, why is there so many assemblies from Microsoft with the same public key token?.

解决方案

What is the role of public key token?

The public key token is a small number which is a convenient "token" representing a public key. Public keys are quite long; the purpose of the public key token is to let you refer to keys without saying the whole key. Sort of the same way saying "The Lord of the Rings" is five words which represent a half-a-million-word novel. It would be rather inconvenient if every time you wanted to talk about it, you had to state those half-a-million words.

Does it have any part in decrypting the signed hash?

No. The public key token has no "information" in it. It's just a number that represents a public key. It is not itself a public key.

why are there so many assemblies from Microsoft with the same public key token?

Because they were all signed with the same private key -- Microsoft's private key -- and are therefore all verified with the same public key, and therefore all have the same public key token.

这篇关于什么是公钥标记的作用是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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