com.microfocus.cobol.connector.transport
Class BINPSecureSockets

java.lang.Object
  extended byjava.lang.Throwable
      extended bycom.microfocus.cobol.connector.transport.BINPSecureSockets
All Implemented Interfaces:
Serializable

public class BINPSecureSockets
extends Throwable

Title: BINPSecureSockets

Description: Low level SSL wrapper class

See Also:
Serialized Form

Constructor Summary
BINPSecureSockets()
           
 
Method Summary
static javax.net.ssl.SSLSocket CreateSecureSocket(String host, int port, String keystoreFile, String keystorePassword)
          Method declaration
static void setDefaultKeyStoreProperties(String keystore, char[] password)
          setDefaultKeyStoreProperties(..) Set the default keystore and password.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BINPSecureSockets

public BINPSecureSockets()
Method Detail

setDefaultKeyStoreProperties

public static void setDefaultKeyStoreProperties(String keystore,
                                                char[] password)
setDefaultKeyStoreProperties(..) Set the default keystore and password. This should be done once!

Parameters:
keystore -
password -

CreateSecureSocket

public static javax.net.ssl.SSLSocket CreateSecureSocket(String host,
                                                         int port,
                                                         String keystoreFile,
                                                         String keystorePassword)
                                                  throws IOException
Method declaration

Parameters:
host -
port -
Returns:
Throws:
IOException



Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.