Example usage for org.apache.commons.net.ftp FTPSClient getEnabledCipherSuites

List of usage examples for org.apache.commons.net.ftp FTPSClient getEnabledCipherSuites

Introduction

In this page you can find the example usage for org.apache.commons.net.ftp FTPSClient getEnabledCipherSuites.

Prototype

public String[] getEnabledCipherSuites() 

Source Link

Document

Returns the names of the cipher suites which could be enabled for use on this connection.

Usage

From source file:com.adaptris.core.ftp.ClientSettingsTest.java

@Test
public void testPreConnectSettings_FTPS() {
    FTPSClient client = new FTPSClient();
    preConnectSettings(client, FTPS.values(), createFtpsSettings());
    assertTrue(client.isEndpointCheckingEnabled());
    // Not Connected yet, so these will not be the same.
    assertFalse(client.getNeedClientAuth());
    assertFalse(client.getUseClientMode());
    assertFalse(client.getWantClientAuth());
    assertNull(client.getEnabledCipherSuites());
    assertNull(client.getEnabledProtocols());
}