|
Forums -> Security Library Forum
Why RSAKeyExchange class is internal !? |
|
|
by Graham Bonnett posted on 2003/12/11 |
|
Hi,
I started to look wether I can decrypt PKCS#7 enveloped data with this security library but it seems that the utility class which does this is marked as internal and so not available for applications.
What can I do ?
best regards Graham |
by Graham Bonnett posted on 2003/12/11 |
|
Well, I was lost in the woods again..
The CryptoApi call the library is calling doesn't support PKCS#7 but only PKCS#1 as far I understood from sources and M$oft documentation.
I have to make my own wrapper on CryptEncryptMessage (advapi32.dll) call to estabilish PKCS#7 decoding, shit :(
That looks not easy...
Fortunately I have good sources from you Mentalis boyz which shows me light how to make .NET wrapper objects... |
by Pieter Philippaerts [Pieter at mentalis dot org] posted on 2003/12/11 |
|
The security library does not support enveloping data. This will be supported in the next version of the .NET framework [a beta version of this framework should be released in February].
As for the RSAKeyExchange class, we use it to work around a bug in the RSACryptoServiceProvider class. It cannot be used to envelop data. |
|
|