continue; else if ( !foundEnc && ncr.getContextType() == EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE ) { foundEnc = true; EncryptionNegotiateContext enc = (EncryptionNegotiateContext) ncr; this.supportsEncryption = true; else if ( ncr.getContextType() == EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE ) { log.error("Multiple encryption negotiate contexts"); return false; else if ( !foundPreauth && ncr.getContextType() == PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE ) { foundPreauth = true; PreauthIntegrityNegotiateContext pi = (PreauthIntegrityNegotiateContext) ncr; else if ( ncr.getContextType() == PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE ) { log.error("Multiple preauth negotiate contexts"); return false;
NegotiateContextResponse ctx = createContext(type); if ( ctx != null ) { ctx.decode(buffer, ncpos, dataLen); contexts[ i ] = ctx;
NegotiateContextResponse ctx = createContext(type); if ( ctx != null ) { ctx.decode(buffer, ncpos, dataLen); contexts[ i ] = ctx;
continue; else if ( !foundEnc && ncr.getContextType() == EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE ) { foundEnc = true; EncryptionNegotiateContext enc = (EncryptionNegotiateContext) ncr; this.supportsEncryption = true; else if ( ncr.getContextType() == EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE ) { log.error("Multiple encryption negotiate contexts"); return false; else if ( !foundPreauth && ncr.getContextType() == PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE ) { foundPreauth = true; PreauthIntegrityNegotiateContext pi = (PreauthIntegrityNegotiateContext) ncr; else if ( ncr.getContextType() == PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE ) { log.error("Multiple preauth negotiate contexts"); return false;