public class BogusSslContextFactory extends Object
Constructor and Description |
---|
BogusSslContextFactory() |
Modifier and Type | Method and Description |
---|---|
static SSLContext |
getInstance(boolean server)
Get SSLContext singleton.
|
public BogusSslContextFactory()
public static SSLContext getInstance(boolean server) throws GeneralSecurityException
server
- A flag to tell if this is a Client or Server instance we want to createGeneralSecurityException
- If we had an issue creating the SSLContextCopyright © 2004–2016 Apache MINA Project. All rights reserved.