473,396 Members | 1,861 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,396 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 1102
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.