org.snmp4j.transport
Class TLSTM.DefaultSSLEngineConfiguration

java.lang.Object
  extended by org.snmp4j.transport.TLSTM.DefaultSSLEngineConfiguration
Enclosing class:
TLSTM

protected class TLSTM.DefaultSSLEngineConfiguration
extends java.lang.Object


Constructor Summary
protected TLSTM.DefaultSSLEngineConfiguration()
           
 
Method Summary
 void configure(javax.net.ssl.SSLEngine sslEngine)
          Configure the supplied SSLEngine for TLS.
 javax.net.ssl.SSLContext getSSLContext(boolean useClientMode, TransportStateReference transportStateReference)
          Gets the SSLContext for this SSL connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TLSTM.DefaultSSLEngineConfiguration

protected TLSTM.DefaultSSLEngineConfiguration()
Method Detail

configure

public void configure(javax.net.ssl.SSLEngine sslEngine)
Configure the supplied SSLEngine for TLS. Configuration includes enabled protocol(s), cipher codes, etc.

Parameters:
sslEngine - a SSLEngine to configure.

getSSLContext

public javax.net.ssl.SSLContext getSSLContext(boolean useClientMode,
                                              TransportStateReference transportStateReference)
Gets the SSLContext for this SSL connection.

Parameters:
useClientMode - true if the connection is established in client mode.
transportStateReference - the transportStateReference with additional security information for the SSL connection to establish.
Returns:
the SSLContext.

Copyright 2005-2011 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.