org.xlattice.crypto.tls
Class TlsServerEngine

java.lang.Object
  extended by org.xlattice.crypto.tls.TlsEngine
      extended by org.xlattice.crypto.tls.TlsServerEngine
All Implemented Interfaces:
TlsConst

public class TlsServerEngine
extends TlsEngine


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.xlattice.crypto.tls.TlsConst
TlsConst.EngineStates
 
Field Summary
 
Fields inherited from class org.xlattice.crypto.tls.TlsEngine
engine, jsseSession, state
 
Fields inherited from interface org.xlattice.crypto.tls.TlsConst
ANONYMOUS_TLS, ANY_CERT, ANY_CLIENT_CERT, ANY_SERVER_CERT, CA_SIGNED_CERT, CA_SIGNED_CLIENT_CERT, CA_SIGNED_SERVER_CERT, CLIENT_MASK, CLIENT_SHIFT, KNOWN_CERT, KNOWN_CLIENT_CERT, KNOWN_SERVER_CERT, LEARN_CERT, LEARN_CLIENT_CERT, LEARN_SERVER_CERT, SERVER_MASK, SERVER_SHIFT, TLS_ANONYMOUS_CIPHERS, TRUST_ANYONE
 
Constructor Summary
protected TlsServerEngine(TlsContext ctx, TlsSession sess)
           
 
Method Summary
 boolean getNeedClientAuth()
           
 boolean getWantClientAuth()
           
 void setNeedClientAuth(boolean whether)
           
 void setWantClientAuth(boolean whether)
           
 
Methods inherited from class org.xlattice.crypto.tls.TlsEngine
beginHandshake, closeInbound, closeOutbound, getApplicationBufferSize, getDelegatedTask, getEnabledCipherSuites, getEnabledProtocols, getHandshakeStatus, getJsseSession, getPacketBufferSize, getState, isInboundDone, isOutboundDone, setEnabledCipherSuites, setEnabledProtocols, setState, unwrap, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TlsServerEngine

protected TlsServerEngine(TlsContext ctx,
                          TlsSession sess)
                   throws java.security.GeneralSecurityException,
                          java.io.IOException
Throws:
java.security.GeneralSecurityException
java.io.IOException
Method Detail

getNeedClientAuth

public boolean getNeedClientAuth()

setNeedClientAuth

public void setNeedClientAuth(boolean whether)

getWantClientAuth

public boolean getWantClientAuth()

setWantClientAuth

public void setWantClientAuth(boolean whether)