What can i do, in order to get that key to rsa in c# in the way of the
public key <rsaparams><module><exponent> etc etc etc
You can use openssl to convert to more standard pkcs#8 format using something like
openssl pkcs8 -in key.pem -topk8 ....
and then use capi fn like CryptImportPKCS8() to get RSA keypair from pkcs#8
blob into a capi keystore (with named keycontainer). Then you can
access that named keycontainer from .NET.
Or you can write a converter fron pkcs#8 unencrypted format (PrivateKeyInfo) to
a capi PRIVATEKEYBLOB and extract out the modulus and exponent for
.NET usage. .. here's one converter:
http://www.jensign.com/JavaScience/PvkConvert
- Mitch Gallant
MVP Security
<rene.r...@gmail.com> wrote in message news:1129641144....@g14g2000cwa.googlegroups.com...
is there any other way (other than capicom1 or 2) to do it , any
libraries able to do so ?
i found capicom (the blob to container thing) quite confusing, where
can i find concrete and maybe basic examples on how to invoke the
functions ?
i have saw your entire page and so the msdn published tutorials
and i can say i have tried
thanks in advance, my friend
thanks forums !