How to specify public key in RSACryptoServiceProvider .NET class
I need to sign an xml-doc with digital signature. I know that there is a way to do this in .NET but i cannot understand how to specify my own puplic key in RSACryptoServiceP开发者_开发问答rovider. I need for the public key based on the special keyword. How can i do this? Help me please.
For the Public Key Parameters, you can using RSAParameters.
If you want to derive a key out of a phrase, look up the function PasswordDeriveBytes here .
Or, you can use applications such as Telnet or many PGP clients to create a public key out of a phrase.
精彩评论