Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 2nd, 2004, 07:19 PM
Registered User
 
Join Date: Jul 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default java to C# translation

Does anyone know the .net equivalent of this java code:

public void init(ServletConfig config) thows ServletException {
     super.init(config);

   //Set up SSL properties to find the keystore correctly
  System.setProperty("javax.net.debug","all");
System.setProperty("javax.net.ssl.keystore", "/var/tomcat4keys/keystore");
System.setProperty("javax.net.ssl.keyStorePassword ", "SDKTest");
System.setProperty("java.protocol.handler.pkgs","c om.sun.net.ssl.internal.www.protocol");

//Make sure java is configured to handle https by adding the
//appropriate SSL provider to the security manager.
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());

}

this piece of code specifies the use of SSL, keystore, and keystore password and a certificate for all communications between 2 servers

does anyone have any idea? thanks in advance

vin


 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java to C# translation vinny4545 Servlets 3 September 4th, 2015 12:37 PM
Code translation from ASP to C# motemape ASP.NET 2.0 Basics 0 May 27th, 2007 12:01 PM
i18n Translation jagadeesh BOOK: Expert One-on-One J2EE Design and Development 0 June 13th, 2006 08:18 AM
Universal Translation in BizTalk2004 karjagis Biztalk 0 April 21st, 2006 10:00 AM
Code translation gbaker BOOK: Beginning Java 2 3 December 3rd, 2003 11:08 AM



All times are GMT -4. The time now is 06:25 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.