0

How to convert the .snk RSA keypair file used to sign the .NET assemblies to XML based files that can be used with PHP or other software?

XML file sample:

<BitStrength>1024</BitStrength><RSAKeyValue><Modulus>tk=</Modulus><Exponent>QB</Exponent></RSAKeyValue>
Priyank Bolia
  • 14,077
  • 14
  • 61
  • 82

2 Answers2

1

That sounds more like you should be using makecert or similar (or a certificate reseller), and exporting that as public/private key file(s)? Strong name keys (snk) are a bit different...

Marc Gravell
  • 1,026,079
  • 266
  • 2,566
  • 2,900
0

You have to convert your snk file to PEM format and use the openssl functions to encrypt.

Priyank Bolia
  • 14,077
  • 14
  • 61
  • 82