Question


I came across the explanation of strong name vs digital signature of an assembly on this blog post: strong name vs digital signature.
The MSDN help only shows the strong signature part How to sign an assembly with a Strong Name without specifying how to digitally sign the assembly.
My two questions are:

Once we have a digital certificate from a CA and we have the certificate in the Windows store, how can we digitally sign an assembly?

and

Will the CLR automatically do this verification whenever the assembly is invoked, for example if the assembly is an executable and once the assembly is digitally signed, the assembly is deployed to another machine, will the CLR verify the signature before executing the assembly?

Thanks in advance.

Was it helpful?

Solution

  1. To digitally sign an assembly use SignTool.exe.

  2. CLR doesn't check and doesn't verify digital signatures.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top