i want to send a symmetric encrypted file as a dime attachement with wse
2.0.
so far that is no problem but i also want to encrypt(rsa) the key for the
symmetric enryption with the public key of an x509 certificate and
RSACryptoServiceProvider. the symmetric key is stored in a stream.
searching the newsgroups and the web made me wonder if it's possible at all
because the only things i found were related to capicom.
and i did not find any statements like "it is not possible"
so can anyone tell me if it's possible to encrypt a file using an x509
certificate and RSACryptoServiceProvider and only the means of .net and wse
2.0 or do i have to use capicom?
thanks,
mitja jentges
"Mitja" <mi...@jentges.org> wrote in message news:%236joAS6...@TK2MSFTNGP12.phx.gbl...
> so can anyone tell me if it's possible to encrypt a file using an x509
> certificate and RSACryptoServiceProvider and only the means of .net and wse
You can use SecureBlackbox.NET from
http://www.secureblackbox.com/description-sec-pkiblackbox.html
Use PKCS#7-compliant MessageEncryptor and MessageDecryptor classes to
encrypt/decrypt file using X.509 certificate.
SecureBlackbox has 100% native implementation of all algorithms and
standards. It doesn't use CryptoAPI or CAPICOM or any other third-party
layer.
--
Eugene Mayevski
EldoS Corp., CTO
Networking and security solutions, development and consulting services
http://www.eldos.com