开发者

difference between signtool and sn or al for assembly signing

I see tool like SN which generates private/public key pair for signing an assembly. and using AL tool we can assign a strong name to an assembly

And we have also Sign tool which is used for signing the assembly (probably for using with certificates exclusively?).

What is the exact difference between the two?. Is it sign tool have to be used when working with certificates and can it we a开发者_开发百科cheive it SN?. or are they totally different.?

Please help.


Signtool is to do code signing, which provides code integrity check and authentication of the publisher.

Sn is to do strong name. It's just for .NET assembly. It addresses the unique ID issue.

Both tools can make sure the files have not been tampered with but only code signing (signtool) can assure you who is the publisher of the files.

We can use SignTool.exe to sign and time stamp a file with given pfx, even though the file is a strong named dll.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜