473,385 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

strong naming question

Hi,

I am a little confused by the internals of what happens
when an assembly is "strongly named". For the short time
working with .NET, I thought that SN.exe created a pair
of keys (private and public) randomly and BOTH were used
to sign an assembly.
I read this article recently from Microsoft...
http://msdn.microsoft.com/netframework/default.aspx?
pull=/library/en-us/dnnetsec/html/strongNames.asp

which states...
"If you assign a public key to your assembly, it is
considered "strongly named";..."

Is the private key part of the public key? Furthermore,
if I use "delay signing" and just use the public key not
the private does this mean the assembly is strongly named?

thanks in advance
Jul 21 '05 #1
1 1101
Hi,

The private key part is used to as a key to encrypt the cryptographic hash
of the assembly. The public key can then be used to decrypt the hash. So
both the public and private keys are generated, however the private key is
*never* distributed.

Hope this helps

Chris Taylor

"bart" <an*******@discussions.microsoft.com> wrote in message
news:04****************************@phx.gbl...
Hi,

I am a little confused by the internals of what happens
when an assembly is "strongly named". For the short time
working with .NET, I thought that SN.exe created a pair
of keys (private and public) randomly and BOTH were used
to sign an assembly.
I read this article recently from Microsoft...
http://msdn.microsoft.com/netframework/default.aspx?
pull=/library/en-us/dnnetsec/html/strongNames.asp

which states...
"If you assign a public key to your assembly, it is
considered "strongly named";..."

Is the private key part of the public key? Furthermore,
if I use "delay signing" and just use the public key not
the private does this mean the assembly is strongly named?

thanks in advance

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Vijay Sarathi Reddy.G | last post by:
Actually CLR maintaings Strong type naming.What is strong type naming and how CLR maintains Strong type naming? Thanks...
1
by: Jimski | last post by:
Hi all, I am creating an assembly that will access a database to return record details. I need to deploy it to a 3rd Party and they will then be able to use the assembly in their code to...
7
by: Bruce Wood | last post by:
I still haven't gotten through the .NET Framework Security tome on my desk. Maybe the folks here can answer a burning question. I want to use strong naming at our organization as a security...
6
by: raylopez99 | last post by:
Anybody use Strong Name Signing? I think this is used by default for Resource files, which is one reason perhaps I can't get my resource files to work (somehow the public key is messed up, perhaps...
7
by: dkotula | last post by:
Hello, Is there a way that whenever a certain symbol appears, to strip the symbol and have the line following the symbol move down to the next line in my text box. Even if I can get the line to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.