package jacorb.security.ssl;

/*
 *        JacORB - a free Java ORB
 *
 *   Copyright (C) 1999  André Benvenuti.
 *
 *   This library is free software; you can redistribute it and/or
 *   modify it under the terms of the GNU Library General Public
 *   License as published by the Free Software Foundation; either
 *   version 2 of the License, or (at your option) any later version.
 *
 *   This library is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *   Library General Public License for more details.
 *
 *   You should have received a copy of the GNU Library General Public
 *   License along with this library; if not, write to the Free
 *   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 *   Remarq: This a dummy implementation for those who don;t have and/or need
 *           SSL sockets
 */

import java.util.*;
import java.io.*;
import java.io.*;

/**
 * SSL configuration for JacORB.
 *
 * Written 09.12.99 by André Benvenuti to support SSL
 *
 */

public class SSLSetup
{
    public static boolean setupSSL () {
	return false;
    }
    public static boolean isSSL ( java.net.Socket s ) {
	return false;
    }
    public static boolean isSSL ( java.net.ServerSocket s ) {
	return false;
    }
    public static jacorb.util.net.SocketFactory getDefaultSSLSocketFactory()
    /* Returns the default SSL socket factory.
     * If SSL has not been configured should not be called.
     */
    {
	return null;
    }
    public static jacorb.util.net.ServerSocketFactory getDefaultSSLServerSocketFactory()
    /* Returns the default SSL server socket factory.
     * If SSL has not been configured should not be called.
     */
    {
	return null;
    }

    public static jacorb.util.net.SocketFactory getDefaultSSLSocketFactory(org.omg.CORBA.ORB orb)
    /* Returns the default SSL socket factory.
     * If SSL has not been configured should not be called.
     */
    {
	return null;
    }
    public static jacorb.util.net.ServerSocketFactory getDefaultSSLServerSocketFactory(org.omg.CORBA.ORB orb)
    /* Returns the default SSL server socket factory.
     * If SSL has not been configured should not be called.
     */
    {
	return null;
    }
    synchronized public static SSLSetup getDefault ()
    {
	return null;
    }
}
