org.apache.geronimo.gshell.whisper.ssl
Interface SSLContextFactory

All Known Implementing Classes:
BogusSSLContextFactory

public interface SSLContextFactory

Provides an abstraction of client and server SSLContext creation.

Version:
$Rev: 578566 $ $Date: 2007-09-23 05:02:46 -0700 (Sun, 23 Sep 2007) $

Method Summary
 SSLContext createClientContext()
          Creates a SSLContext suiteable for client-side usage.
 SSLContext createServerContext()
          Creates a SSLContext suiteable for server-side usage.
 

Method Detail

createServerContext

SSLContext createServerContext()
                               throws GeneralSecurityException
Creates a SSLContext suiteable for server-side usage.

Throws:
GeneralSecurityException

createClientContext

SSLContext createClientContext()
                               throws GeneralSecurityException
Creates a SSLContext suiteable for client-side usage.

Throws:
GeneralSecurityException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.