Hi all;

Do you know any way to save the RSA public key as a string and use that string to verify the signature in C#?

RSA public key can be saved in an Xml document using raskey.ToXmlString(false), but I want to save it in a string instead of saving it in a file.

Thanks in Advance.

Hi all,
I found a solution for this. The inner xml can be stored as a string and we can get use of it in the verification of the sign. I knew this initially, but I wanted a better format without the xml tags. That why I asked from you all. Now, I changed my mind to use the inner xml it self other than trying to change the format.
Thanks all.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.