public class BogusSslContextFactory
extends java.lang.Object
构造器和说明 |
---|
BogusSslContextFactory() |
限定符和类型 | 方法和说明 |
---|---|
static javax.net.ssl.SSLContext |
getInstance(boolean server)
Get SSLContext singleton.
|
public static javax.net.ssl.SSLContext getInstance(boolean server) throws java.security.GeneralSecurityException
server
- A flag to tell if this is a Client or Server instance we want to createjava.security.GeneralSecurityException
- If we had an issue creating the SSLContext