| | |
| | | |
| | | private SSLContext sslContext; |
| | | |
| | | /** |
| | | * The list of cipher suite |
| | | */ |
| | | private String[] enabledCipherSuites = null; |
| | | |
| | | /** |
| | | * the list of protocols |
| | | */ |
| | | private String[] enabledProtocols = null; |
| | | |
| | | // No need to expose this. |
| | | private static final ExtendedResultDecoder<ExtendedResult> RESULT_DECODER = new ResultDecoder(); |
| | | |
| | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc}} |
| | | */ |
| | | public StartTLSExtendedRequest setEnabledProtocols(String[] protocols) |
| | | { |
| | | this.enabledProtocols = protocols; |
| | | return this; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc}} |
| | | */ |
| | | public StartTLSExtendedRequest setEnabledCipherSuites(String[] suites) |
| | | { |
| | | this.enabledCipherSuites = suites; |
| | | return this; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc}} |
| | | */ |
| | | public String[] getEnabledProtocols() |
| | | { |
| | | return this.enabledProtocols; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc}} |
| | | */ |
| | | public String[] getEnabledCipherSuites() |
| | | { |
| | | return this.enabledCipherSuites; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |