Convert Base64 Public Key to XML Signature

This simple tool lets you convert a Base64 encoded RSA public key into XML Signature format.

Paste your public key in Base64 encoded form in the box below and click "Get XML Public Key".

What's that for?

If you need to say verify data in .NET signed with private key and you don't have/want the public key (certificate) installed on your machine, the easiest way to go is to load public key data from XML string using RSACryptoServiceProvider.FromXmlString() method.

Problem is that it accepts key information in XML Signature format (the one with <RSAKeyValue><Modulus> etc.) and there is no easy way to get it in that format. Most of the time you get the key in base64 encoded form or in binary form from which you can get the base64 version.

This tool lets you get the XML Signature version from that base64 representation. It's actually a very simple trick described in this blog post.

Spread the word!
| |
Brought to you by:

Other project I'm involved with...

About me

Alan Mendelevich

My name is Alan Mendelevich. I'm a .NET developer from Vilnius, Lithuania. Find out more about me by visiting "About" page of my blog.

© 2009 - 2016 by Alan Mendelevich. All rights reserved.