Which three actions can you perform by using the Strong Name tool?

Which three actions can you perform by using the Strong Name tool? (Choose three.)

Which three actions can you perform by using the Strong Name tool? (Choose three.)

A.
Create a key pair for an assembly.

B.
Compile the assembly for the first time.

C.
Encrypt an assembly.

D.
Re-sign a previously signed assembly.

E.
Extract the public key from an assembly.

Explanation:
A: sn -a identityKeyPairFile signaturePublicKeyFile
Generates AssemblySignatureKeyAttribute data to migrate the identity key to the signature key from
a file.
D: sn – R[a] assembly infile
Re-signs a previously signed or delay-signed assembly with the key pair in infile.
If -Ra is used, hashes are recomputed for all files in the assembly.
E: Sn -e assembly outfile
Extracts the public key from assembly and stores it in outfile.
* The Strong Name tool (Sn.exe) helps sign assemblies with strong names. Sn.exe provides options
for key management, signature generation, and signature verification.



Leave a Reply 0

Your email address will not be published. Required fields are marked *