PeterT
PeterT

Reputation: 171

does a weak named .NET assembly contains a manifest with a hash

One feature of the .NET assembly with a strong name is the resistance to tampering. Once the hash of the assembly content is calculated, it is encrypted with a private key, and then saved as a part of assembly's manifest. I am wondering - what if the assembly does not have a strong name, what happens with a hash? Is it saved to the manifest unencrypted?

Upvotes: 2

Views: 179

Answers (1)

akton
akton

Reputation: 14386

There is a difference between the hash evidence of a PE format file and the strong name of a .Net assembly. See http://blogs.msdn.com/b/shawnfa/archive/2005/02/28/382027.aspx for a good explanation.

Upvotes: 1

Related Questions