signing using RSA private key Windows cryptographic API
===

I am working on a metro app and working on signing an Oauth request for a Google application.
I am unable to Import my keypair properly into the JS code .
The same problem has been asked here but still unresolved-
http://social.msdn.microsoft.com/Forums/en-US/winappswithhtml5/thread/d599ff36-75f2-4393-af10-60beb1842ece
I have my key in the format "---START PRIV KEY---MIC898 blah blah ----END PRIV KEY--" .

When I try to import it into my code using ImportKeyPair function , I get an exception that "there was a problem at time of encoding or decoding".
I am getting my key using openSSL "rsagen" tool which I believe gives a pair of Private and Public key.