There is no specific implementation of openssl_seal in the library, but all the machinery you would need to do it is there. At your provided link is another link to a (half-)example in Java using BC (http://blog.local.ch/en/2007/10/29/openssl-php-to-java/), so a C# equivalent should be pretty straightforward. Of course RC4Engine is not sufficient by itself because RSA has been used to wrap the key.

Regards,
Pete Dettman

On 8/03/2013 9:15 AM, Alex Mirzayanov wrote:
Greetings all,

Can anyone shed some light if BouncyCastle (C#) provides support to the equivalent of "openssl_seal" command in PHP (http://php.net/manual/en/function.openssl-seal.php) ? I tried using RC4Engine but it doesn't seem to do the trick. Many thanks in advance!

Cheers,
-A


Reply via email to