R
Roy Chastain
At this point, I have 2 issues.
1) - How to get a key blob to use in the constructor to
StrongNameMembershipCondition?
2) - The output of
SN -tp key.snk
does not match the output of
SN -Tp assembly.dll
of an assembly that was signed with the key.snk file. This means that
I am very confused as to what is going on. (I know if I take the
string returned from -Tp, I can put that into the .NET Framework
Configuration Utility as the public key of a Strong Name and my
assemblies are granted the correct permissions.
Questions
1) - Which representation of the public key do I use? The one from
-tp or the one from -Tp? I would assume the -Tp version but where did
the -tp value come from?
2) - Once the representation is decided on, is there more to a key
blob than these bits?
I know how to deal with keys in unmanged code, but that seems a lot of
effort for this exercise.
1) - How to get a key blob to use in the constructor to
StrongNameMembershipCondition?
2) - The output of
SN -tp key.snk
does not match the output of
SN -Tp assembly.dll
of an assembly that was signed with the key.snk file. This means that
I am very confused as to what is going on. (I know if I take the
string returned from -Tp, I can put that into the .NET Framework
Configuration Utility as the public key of a Strong Name and my
assemblies are granted the correct permissions.
Questions
1) - Which representation of the public key do I use? The one from
-tp or the one from -Tp? I would assume the -Tp version but where did
the -tp value come from?
2) - Once the representation is decided on, is there more to a key
blob than these bits?
I know how to deal with keys in unmanged code, but that seems a lot of
effort for this exercise.