code: public static boolean checkSasAgreement(Platform platform, byte[] aMsg, int sasPos,
  			int sasCount) {
  		if (sasCount != 2)
  			return false;
  		
  		boolean result =  (platform.getUtils().equals(SasType.B256.getType(), 0, aMsg, sasPos , 4)  &&
  			    platform.getUtils().equals(SasType.B32.getType(), 0, aMsg, sasPos + 1 * 4, 4));
  		
  		return result;
  	}
docs: Legacy Client send 2 SAS agreement: B256 and B32