public class CustomCertificateTlsSocketFactoryTest extends Object
Constructor and Description |
---|
CustomCertificateTlsSocketFactoryTest() |
Modifier and Type | Method and Description |
---|---|
void |
before() |
static StandardSocketFactory |
createNonSslServerSocketFactory() |
static CustomCertificateTlsSocketFactory |
createNonTrustedClientSocketFactory() |
static CustomCertificateTlsSocketFactory |
createTrustedClientSocketFactory() |
static CustomCertificateTlsSocketFactory |
createTrustedServerSocketFactory() |
static void |
main(String[] args) |
void |
testConnectToNonTrustedSocket() |
void |
testConnectToTrustedSocket() |
public CustomCertificateTlsSocketFactoryTest()
public void before()
public void testConnectToNonTrustedSocket() throws IOException, InterruptedException
IOException
InterruptedException
public void testConnectToTrustedSocket() throws IOException, InterruptedException
IOException
InterruptedException
public static CustomCertificateTlsSocketFactory createNonTrustedClientSocketFactory()
public static StandardSocketFactory createNonSslServerSocketFactory()
public static CustomCertificateTlsSocketFactory createTrustedClientSocketFactory()
public static CustomCertificateTlsSocketFactory createTrustedServerSocketFactory()
Copyright © 2012–2017 University Health Network. All rights reserved.