pub.xml

I'm doing a little interoperability between a .NET application and a java based one. I have their public key in a pub.xml format. I take this to be a .NET key export format, but I'm not sure. It simply contains the modulus and public exponent in base64 encoding.

What would be the recommended procedure for importing this info into my encryption code and producing a key from it?

Right now, I'm just working on getting a couple of BigIntegers manually and creating the key spec, ect. BUT I just wanted to see if this pub.xml is some sort of standard and supported by the key api in anyway.

[612 byte] By [chadmichaela] at [2007-11-26 18:13:53]
# 1
I think what you are doing is essentially the right thing. The closest thing to what you are looking for is java.security.spec.X509EncodedKeySpec, but it is not an exact match.
ghstarka at 2007-7-9 5:47:08 > top of Java-index,Security,Cryptography...