![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
From: "mathew alexander" <mmathew (AT) red-usa (DOT) com Subject: Assymetric Encryption - Interorperability between Java2, .NET and Openssl Date: Tue, 1 Mar 2005 14:28:50 -0500 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-ID: <eELPKUpHFHA.3500 (AT) TK2MSFTNGP14 (DOT) phx.gbl Newsgroups: microsoft.public.dotnet.security NNTP-Posting-Host: 65.204.56.55 Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TNGP08.phx.gbl!TK2MSFTNGP1 |
|
Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.security:9291 X-Tomcat-NG: microsoft.public.dotnet.security Hi, I am porting an application from Java to .NET. The application encrypts data using RSA, and this data is sent to a Linux box where it is decrypted using openssl libraries. Public(.crt file) and Private Keys(.key file) are generated on the Linux box with openssl routines. The java application uses the following cipher to encrypt the data. Cipher cipher = Cipher.getInstance("RSA/ECB/PKCSIPadding","BC") what is the equivalent .NET security provider for this? I am assuming it is the RSACryptoService Provider. The RSACryptoServiceProvider however initializes with a CspParameter. How will I import my .crt public key into a windows key container. thanks, Mathew |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |