强命名或Authenti code签订新组件 [英] Strong Naming or Authenticode signing a new assembly

查看:173
本文介绍了强命名或Authenti code签订新组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在问由最终用户为强命名添加到我的部件之一,是因为他们想从强命名程序集引用它。

I've been asked by an end user to add "Strong Naming" to one of my components, because they want to reference it from a strong named assembly.

我已经有一个authenti $ C $ 3C认证证书,所以我不知道 - 让我的部件可用通过其强大的命名组件,是它足以让我只需登录我的authenti code关键的组成部分?

I already have an authenticode certificate, so I'm wondering - to make my component usable by their strong named component, is it enough for me to just sign the component with my authenticode key?

还是我的有无以强名称标志的组件(使用Al.exe工具),它被认为是强命名?

Or do I have to "strong name sign" the assembly (using Al.exe) for it to be considered "Strong named"?

我找不到任何强名VRS authenti code的文件,关于这是明确的。

I cannot find any "strong name vrs authenticode" documentation that is explicit regarding this.

推荐答案

您没有有你是否申请了authenti code标志使用强命名,而不管。这样做是一种选择,它通常是完全垂直于选择申请一个authenti code签名。如果你能提供有关你的强名称签名目标的详细信息,这将是相当容易给你关于这些是否会通过authenti code签名来解决一个明确的答案......

You don't "have" to use strong naming, regardless of whether you apply an authenticode signature. Doing so is a choice, and it is usually completely orthogonal to the choice to apply an authenticode signature. If you could provide more information concerning your strong name signing goals, it would be considerably easier to give you a definitive answer regarding whether these would be addressed via an authenticode signature...

更新如下补充信息的质疑...

这是authenti code签名不会造成被认为是集强命名。为了使强命名组件能够引用程序集,必须应用强名称签名(不管你的程序集是否也恰好有一个authenti code标志)。

An authenticode signature will not cause an assembly to be considered strongly named. In order for a strongly named assembly to be able to reference your assembly, you must apply a strong name signature (regardless of whether your assembly also happens to have an authenticode signature).

这篇关于强命名或Authenti code签订新组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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