title: Export an RSA Public Key from C# for Java's X509EncodedKeySpec
body: <p>How can I encode RSA public key in C# so that I can use is later in a Java application ()? Please, note that I need to do it on the .NET side. I'm trying to use BouncyCastle API to achieve this, but I cannot find a single piece of documentation that would describe such functionality.</p>