private void init(SSLContextImpl context,boolean isServer){
  sslContext=context;
  sess=SSLSessionImpl.nullSession;
  handshakeSession=null;
  roleIsServer=isServer;
  connectionState=cs_START;
  receivedCCS=false;
  readCipher=CipherBox.NULL;
  readAuthenticator=MAC.NULL;
  writeCipher=CipherBox.NULL;
  writeAuthenticator=MAC.NULL;
  secureRenegotiation=false;
  clientVerifyData=new byte[0];
  serverVerifyData=new byte[0];
  enabledCipherSuites=sslContext.getDefaultCipherSuiteList(roleIsServer);
  enabledProtocols=sslContext.getDefaultProtocolList(roleIsServer);
  inrec=null;
  acc=AccessController.getContext();
  input=new AppInputStream(this);
  output=new AppOutputStream(this);
}

private void init ( SSLContextImpl context , boolean isServer ) { sslContext = context ; sess = SSLSessionImpl . nullSession ; handshakeSession = null ; roleIsServer = isServer ; connectionState = cs_START ; receivedCCS = false ; readCipher = CipherBox . NULL ; readAuthenticator = MAC . NULL ; writeCipher = CipherBox . NULL ; writeAuthenticator = MAC . NULL ; secureRenegotiation = false ; clientVerifyData = new byte [ 0 ] ; serverVerifyData = new byte [ 0 ] ; enabledCipherSuites = sslContext . getDefaultCipherSuiteList ( roleIsServer ) ; enabledProtocols = sslContext . getDefaultProtocolList ( roleIsServer ) ; inrec = null ; acc = AccessController . getContext ( ) ; input = new AppInputStream ( this ) ; output = new AppOutputStream ( this ) ; }
initializes the client socket .
