Sn.exe provides options for key management, signature generation, and signature verification.
For creating public and private key pair following command is used-
sn -k keyPair.snk
public key could be extracted using-
sn -p keyPair.snk publicKey.snk
I want to see the corresponding private key of the pair generated,
How can i do that ?
The SN.exe utility doesn't offer any way for you to display the private key. The name itself says it is a private key. Every public key is unique to its corresponding pair of private key. Had it been possible to know the private key any one can infringe the content of your .Net assembly and the entire motive of signing a .Net assembly which saves the content of your assembly from malicious tempering would get lost.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With